Questions tagged [dbus]

D-BUS is a messaging system used by applications to talk to each other.

Questions concerning D-BUS programming and/or errors caused by the dBus system it's messages and queries.

370 questions
82
votes
2 answers

How do I write a Unity system indicator in Python?

Background: This is NOT for application-indicators but system-indicators . Picture from: https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators The objective is to show indicator-sysmonitor in Greeter/Lock/Ubiquity screens. There is a…
user.dz
  • 49,295
52
votes
6 answers

Tool for viewing available DBUS messages I can send to an application

Is there a graphical tool or maybe a command-line one that lists all the messages and parameters/arguments that I can send to a DBUS-enabled program?? I really want to try scripting some DBUS things but I can hardly find any documentation for the…
user5245
45
votes
2 answers

.dbus folder in home folder belongs root

I have a folder ~/.dbus in my homefolder that is only read and writeable by root: drwx------ 3 root root 4096 Feb 17 17:30 . drwx------ 2 root root 4096 Feb 17 17:30 session-bus Is this the correct setting? Or if not, how could that happen?
rubo77
  • 34,212
44
votes
11 answers

"No object for D-Bus interface" when mounting with Nautilus

I have an internal HDD that gives this error when I try to mount either of its two partitions in Nautilus, while my main HDD works fine. When I use Disks to mount it works but unmounting in Nautilus gives the same error. mount works too. dmesg and…
duo8
  • 441
41
votes
8 answers

"JACK server could not be started" when using Qjackctl

I have a problem when I try to connect my guitar to my computer, via line input. Audacity works well, and I can record what I play on my guitar (selecting from Preferences from where to record to default:line0 ). But the problem is in Qjackctl : at…
hingev
  • 6,714
30
votes
7 answers

GDBus.Error when trying to enable second screen

I connected an external screen to my laptop, but my desktop didn't automagically extend to it, as it used to do about a year ago (older version of Ubuntu). I went to the display settings. The screen was listed there (correct resolution, brand name,…
user77500
28
votes
2 answers

Suspend command in Ubuntu 16.04

In Ubuntu 14.04 I used to use the following command to suspend the computer as a user without root privileges: dbus-send --system --print-reply --dest="org.freedesktop.UPower" \ /org/freedesktop/UPower org.freedesktop.UPower.Suspend Unfortunately in…
tmt
  • 1,019
28
votes
8 answers

GConf Error: No D-BUS daemon running?! How to reinstall or fix?

After installing Konquerer and restarting my laptop i got the following error while trying to open, edit or access files as root from within Terminal (which is existencial for me). root@linuxBox:/home/v2r# gnome-open /home/ (gnome-open:2686):…
v2r
  • 9,707
25
votes
2 answers

How to read dbus-monitor output?

I'm playing around with dbus-monitor to try and understand how dbus is working in Ubuntu environment. I have several questions in this regard: Could you please let me know how to read the following properly? I understand the big idea, but not the…
23
votes
2 answers

Couldn't connect to accessibility bus

When using ssh with X11 forwarding, I am getting various errors and warnings when running gui applications. As an example, any time I am running gitg , I get the following warning: ** (gitg:15904): WARNING **: Couldn't connect to accessibility bus:…
Bach
  • 751
22
votes
2 answers

CRITICAL: Unable to create a DBus proxy for GnomeScreensaver

I received this critical error in my logs, but I haven't had any problems so far. If anyone knows why I get this error and what it means, I'd really appreciate an answer from you. CRITICAL: Unable to create a DBus proxy for GnomeScreensaver: Error…
Harry Curtis
  • 461
  • 1
  • 4
  • 6
19
votes
1 answer

What actions does Ubuntu trigger when battery is low?

When the battery is low, the screen gets dimmed after a few seconds already. This appears to be some special power-saving mode, and might be related to the time in org.gnome.settings-daemon.plugins.power.time-low (1200 seconds (20 minutes) the…
blueyed
  • 9,155
19
votes
3 answers

What does udisks-daemon do and do I need it?

I was looking into htop and the only process having > 0.0% CPU (apart from htop itself) was /usr/lib/udisks/udisks-daemon . So the questions are: What is this service? Do I need it? (Or when do I need it?) Why is it accessing the drives?
leemes
  • 951
18
votes
1 answer

D-Bus : Where to get started?

Many every day actions in Ubuntu can be done easily from terminal using dbus . The main advantage is it can be done exactly the GUI does, using a one liner, such as change brightness , copy file , etc. For example, to decrease brightness standard…
totti
  • 6,918
16
votes
2 answers

How do I run a script on a dbus signal?

Is it possible to run a script on an arbitrary dbus signal? Something like Upstart that runs as an unprivileged user and doesn't require root perms to modify? I ask because I've already written a silly script that waits for bluetooth events to start…
Erigami
  • 4,536
1
2 3
24 25