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

learn more… | top users | synonyms

19
votes
3answers
5k views

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 ...
17
votes
6answers
10k views

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 ...
13
votes
2answers
4k views

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 ...
10
votes
2answers
2k views

Reboot without sudoer privileges?

I've been trying to get my ubuntu restart without having to edit the sudoers. This has been possible before (in lucid I think) using a dbus command: dbus-send –system –print-reply ...
8
votes
1answer
1k views

How to remotely control Banshee via SSH?

Banshee has the ability to control its main window from the command line using commands like $ banshee --next However when running these commands over ssh as the same user it simply tries to launch ...
7
votes
3answers
677 views

How do I setup a timer based notification?

Being a compulsive computer user, I am in front of it all day. I sometimes lose track of time when I am working on my comp. I need a notification service to alert me of the current time, either by a ...
7
votes
1answer
713 views

Root tasks using dbus and policykit

At some point my application needs to do administrative tasks like creating a file in /etc or running commands with root priveleges. I know just could do a Q&D: os.popen("pkexec foo bar") But ...
6
votes
1answer
274 views

How do I programmatically detect presence changes in the messaging menu?

Is there a way to subscribe to messaging menu events? Specifically, I'm looking for a signal (over DBus?) that is fired when the online presence status changes in the messaging menu
5
votes
4answers
26k views

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). ...
5
votes
1answer
2k views

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 ...
5
votes
1answer
3k views

How can I configure dbus to allow ssh-user to suspend server?

I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit. While everything works fine if I am sitting directly at the machine, it won't work via ssh. If I connect to ...
5
votes
1answer
251 views

dbus : 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. ...
5
votes
2answers
114 views

How to work with processes?

I have seen similar questions here, but I didn't get my answer. Maybe it's because I am new to all this and just don't understand. I want my app to work mostly as an indicator. And if user would start ...
4
votes
2answers
4k views

12.10 Qjackctl problem

I've got problem when tried to connect my guitar to my computer, via line input. Auacity works good, and I can record what I play on my guitar (selecting from Preferences from where to record to ...
4
votes
3answers
1k views

My ubuntuone is broken, what is the problem?

I am on 10.10 and u1sdtool seems to be completely broken. I reinstalled it, no change. I can add my PC to the account, but it is added twice(!) every time I tried. So I have my netbook and two times ...
4
votes
1answer
529 views

How can I add a custom item to the Sound Indicator (and make it clickable more than once)?

The original question One of the strength of Unity are the various standardized indicators. I want to customize the sound indicator with an additional menu entry that runs a small shell script. ...
4
votes
1answer
6k views

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 ...
4
votes
1answer
2k views

USB device changes using udev and D-Bus

I am trying to get a list of currently plugged in USB devices in Ubuntu 10.10 and monitor changes that happen, like devices being plugged in or out using udev and D-Bus. I'm fairly new to ...
4
votes
0answers
67 views

Is Bluez (bluetoothd) not sending DBUS method_call SelectConfiguration upon Connection? If so, how do I catch it?

UPDATE : not solved yet, but part of a solution. See below. I am attempting to connect my iPod or other smart device to my laptop (Kubuntu 13.10) via bluetooth and stream a2dp-encoded music to a ...
3
votes
3answers
606 views

Error when trying to get movies off my Camera

How do I retrieve movies and audio files from my Canon PowerShot S5 IS camera? Shotwell only sees the pictures. Mounting the camera via "Places > Canon Digital Camera" and then clicking twice on the ...
3
votes
2answers
436 views

How does a Python DBus session service know the user is logging out?

Say you have a DBus service on the session bus (the per-user bus). Your service might get started via an /etc/xdg/autostart/* file, or it might get started the first time some app tries to use your ...
3
votes
5answers
3k views

How do I suspend over ssh?

I guess this question is pretty much the same as How to configure dbus to allow ssh-user to suspend server?; except I wanted to formulate it better. Assume I have an Ubuntu server running nonstop, ...
3
votes
1answer
383 views

How do I detect when my system wakes up from suspend via DBus or similar in a python app?

In a background Python script I need to detect, when the system just woke up from suspend. What is a good way that does not rely on a root script but rather on python modules such as DBus? I'm new to ...
3
votes
2answers
2k views

Davmail Java terminates with SIGSEGV after 11.10 Upgrade

One of my favorite programs, davmail, crashes now after upgrading to 11.10. Just checking if there is a quick fix before I submit a bug report. Thanks. $ davmail # # A fatal error has been detected ...
3
votes
1answer
566 views

Gnome Shell JS - Listen for DBus signal on an interface for any path

I'm trying to write an extension that listens for a DBus signal, but I don't know the path ahead of time. Actually, there are multiple paths (unique for each application that implements the ...
3
votes
2answers
592 views

How do I get a list of all of the available dbus properties?

How do I get a list of all of the available dbus properties for example org.freedesktop.DBus.GLib.Const? Especially to control window managers, like xfwm. And how would I receive the global menu in ...
3
votes
3answers
5k views

“could not connect to session bus” on login

Just got a new Ubuntu 11.10 install working. Updated my software and rebooted, but now when I try to log in, I'm greeted with the following error: could not connect to session bus: //bin/dbus-launch ...
3
votes
1answer
327 views

Setting root session and user session to same bus?

I have a script that has to be run under root, with bindings to dbus. DBUS_SESSION_BUS_ADDRESS = 'address set under .dbus file ...' class NewApp(dbus.service.Object): def __init__(self): ...
3
votes
3answers
465 views

Can org.freedesktop.Notifications.CloseNotification(uint id) be triggered and invoked via DBus?

ref: Close button on notify-osd? Bookmark: Can org.freedesktop.Notifications.CloseNotification(uint id) be triggered and invoked via DBus? Currently, this script dbus-monitor ...
3
votes
1answer
583 views

Mount a Device Read Only using Udisk w/ Python

So I am writing a python script that is attempting to use UDisk to mount and unmount devices. I'm using something like this: disk_dev_func = dbus.Interface(self.device_obj, ...
3
votes
0answers
177 views

Emit signal for GIO.DBusProxy in python?

I'm using GIO high level DBus API - DBusProxy object. I'd like to emit signal on this object (faking signal coming from remote interface). I do something like this: proxy.emit('g-signal', ...
3
votes
1answer
610 views

How to get a proxy for DBus object that is not well known?

I'm endeavouring to use dbus to react to a particular signal (user clicks on an appindicator menu on the unity top panel). From using dbus-monitor, I've found the relevant signal that I'd like to ...
3
votes
0answers
302 views

Define a Policykit action for Upstart

I'm trying to get some user to start, stop and reload services by using the udev Upstart interface. I'm using Ubuntu 10.04. I created the file ...
3
votes
0answers
174 views

Error from Ksplice cron job [closed]

I'm running Ksplice on Ubuntu 11.10 64 bit and I get the following error when the Ksplice cron job runs. $export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin && [ -x ...
3
votes
2answers
914 views

udisks unmount times out - Unmount failed: Did not receive a reply [closed]

I have the problem that udisks unmount gets a timeout. I copy a large file, like 300 mb, to my 8 GB usb pen drive. It doesn't matter if I do it with dolphin or cp. I wait for dolphin/cp to finish the ...
2
votes
2answers
215 views

Reference counting on exported DBus objects?

I'm working on a DBus service that needs to export objects on demand when requested by 3rd party applications. That part seems fairly strait-forward. But I also need to "garbage collect" these ...
2
votes
1answer
2k views

Ubuntu Software Center does not open - dbus error [closed]

Ubuntu Software Center does not open, I tried these instructions to fix it but they didn't work https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure When I run software-center ...
2
votes
2answers
2k views

How do I run a script when a Bluetooth device connects?

I'd like to start my music player (Clementine) when my bluetooth headset connects to my computer. How do I detect the bluetooth device connecting so I can run a script to start the player?
2
votes
3answers
951 views

How do I use DFeet?

I've been trying for a half hour to get D-Feet to open a service, any service with the Connect button. I feel I am misunderstanding this application at a basic level. What am I missing?
2
votes
1answer
740 views

Not enough swap space to hibernate?

It seems that I have enough though; maybe it's not automatic swap mounting? Any help on getting hibernate working is appreciated.
2
votes
1answer
365 views

Growl-type messages in Ubuntu

I'm working on a Python application that runs in the system tray and displays notifications to the user in the form of popups. It uses Growl on Macs and Growl for Windows on Windows. I've tried ...
2
votes
1answer
2k views

Configuration of the Network Manager via DBus: how to set the ad hoc mode

I have an hard nut to crack: a nice bottle of italian Chianti wine to the solver! :) To automatically configure WiFi, I first have to kill the Network Manager and than activate the WiFi via the ...
2
votes
1answer
1k views

cannot get upstart to run user job

I am trying to get upstart start a user job during the boot of my machine. I have my conky.conf upstart config file in my $HOME/.init directory. Wenn I run "start conky" I get this error: ...
2
votes
1answer
3k views

My WD 1TB external HDD is not mounting

I am getting this error when I click on devices list: DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending and when I remove the device, it says: Error mounting: ...
2
votes
1answer
359 views

Access dbus session bus from upstart script

I was wandering if it is possible to access the DBUS session bus from within an upstart script. The background is this: I am running an upstart task in user mode and replaced the Upstart.conf dbus ...
2
votes
1answer
233 views

Gksudo and DBus

I've created some disabled accounts for the sole purpose of customizing Docky in those accounts. Each account has a set of Docky Items that represents a tool set. This should give you an idea of ...
2
votes
3answers
2k views

Error during login

I'm using Ubuntu 11.10 and I'm new to Linux family. I have a problem with logging in to it. After I enter password and press enter it says: Could not connect to session bus: //bin/dbus-launch ...
2
votes
2answers
2k views

DBus error while boot after upgrade to 11.10

After upgrading to oneiric, Ubuntu appears to be unable to start dbus correctly, which virtually renders half the system unusable. The startup error seems to happen rather early in the bootstages - ...
2
votes
2answers
383 views

dbus signal for volume up & down

I recently upgrade to Ubuntu 10.10 Maverick Meerkat and to my dismay, the mediakeys "volume up" and "volume down" do not send Dbus signals anymore... how can I add these back? Thanks!! Update: it ...
2
votes
0answers
620 views

Error while connecting A2DP device, Bluetooth BlueZ Dbus Exception Ubuntu12.04LTS [closed]

I'm unable to connect a A2DP Bluetooth Speaker in Ubuntu 12.04LTS. IBM Thinkpad R52. Broadcom Integrated Bluetooth IV. bluez packages installed and up-to-date pulsaudio installed and up-to-date $ ...