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

learn more… | top users | synonyms

1
vote
1answer
201 views

Can't mount drives automatically after upgrading to Kubuntu 13.04

I guess it's a problem with kio/dbus or something else since dmesg output is fine and I can mount drives manually from command line. Since the upgrade process was not smooth and I had to sudo dpkg -a ...
0
votes
0answers
51 views

Cannot access external usb HDD after DBus error

I have a interesting problem. When I plugged my external usb hdd into my desktop PC, Ubuntu showed me that: DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending A ...
0
votes
0answers
15 views

Struggling with remote (x2g0) access and app permissions (dbus/polkit/)

Rather rashly, I finally decided to upgrade from 10.04 to 12.04. Fairly painless. However some old problems have returned, and I am unable to fix them this time. I access my machine exclusively using ...
0
votes
0answers
18 views

Compilation Exaile from src - error

First, I got errors when I compile Exaile from exaile-3.3.1.tar.gz $ make `command -v python2` -m compileall -q xl xlgui /bin/sh: -m: not found make: *** [compile] Error 127 I replaced python2 with ...
1
vote
1answer
27 views

How can I be notified whenever the printer is used? Dbus? Something else?

I need to know in my application if the printer is being used by some other application. Is there some way I can get notified? Via dbus perhaps, or something else?
2
votes
1answer
41 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. ...
0
votes
0answers
49 views

After trying to remove SELinux, system doesn't start; shows error of “unable to connect to system bus”

I had SELinux installed on my system which actually was a bit annoying. I tried to remove it. After that my system is unable to start. The error that is showing up is: unable to connect to system ...
1
vote
0answers
188 views

Cannot start gnome-shell in an Android chroot

In my Android-hosted Ubuntu 12.10 chroot, I am attempting to get gnome-shell running on Xvfb. I've handled rendering issues as far as I know, and now I'm having trouble with gnome-shell. I suspect ...
1
vote
0answers
76 views

Cannot receive UPower signals

I am newbie in dbus, so please be patient with me. I have a following code: http://pastebin.com/8zpM7Pwb. It is some sample I found and changed to suit my case. General idea is to 'trap' dbus ...
2
votes
1answer
84 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): ...
0
votes
0answers
336 views

KDE on Ubuntu 12.10 not starting

I'm having this problem and I wanted to know if there's ananswer for it: Yesterday I installed KDE (kubuntu-desktop) on my Ubuntu 12.10, and it was working great. Today when I try to start again in ...
2
votes
2answers
100 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
1k 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 ...
1
vote
1answer
193 views

forked-daapd without avahi

I'm trying to setup forked-daapd, but i'd prefer it if i could run it without avahi (or rather define my own avahi service instead of using the dbus api). The reason is that i want a netatalk share ...
3
votes
0answers
100 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', ...
1
vote
1answer
351 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: ...
1
vote
1answer
238 views

Contacting Pulse Audio over dbus?

I am trying to write a basic volume application. Since I'm writing this in Ruby I don't want to extend the C library or use ffi, instead I trying to write this with ruby-dbus I got the Address ...
1
vote
2answers
761 views

What program starts dbus-daemon?

What program starts the per user session dbus-daemon process in GNOME 2 and GNOME 3 (presumably via dbus-launch)? I would like to know because I would like to add a directory to the list of ...
2
votes
1answer
1k 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: ...
0
votes
0answers
145 views

Juniper VPN Error: DBus error org.freedesktop.DBus.Error.NoReply:

Using Ubuntu 12.04. Up through last week I was able to browse folders in Nautilus under a mounted Windows share through my Juniper VPN. Now trying to open a folder yields Error: DBus error ...
2
votes
0answers
98 views

Python Access Pidgin Data Structure by Dbus

I recentely started to program in Python and making a script/plugin for Pidgin,i need to access PurpleConversationUiOps and use the has_focus field,based in some examples in documentation of Pidgin i ...
3
votes
3answers
224 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 ...
2
votes
1answer
701 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 ...
1
vote
1answer
362 views

12.04 disabling wireless via dbus does not work

I am using a proprietary rt3652sta driver for my wireless card. It appears as a ra0 device on the 64-bit Ubuntu 12.04. According to the online documentation the following used to work definitely up ...
3
votes
1answer
186 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
1answer
286 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. ...
2
votes
1answer
149 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 ...
1
vote
2answers
524 views

Whats is user 102 which is accessing dbus-daemon

User 102 is not listed , output of cat /etc/passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh ...
6
votes
1answer
206 views

Programmatically detect presence changes in 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
3
votes
3answers
1k 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 ...
1
vote
3answers
264 views

In 12.04 LTS, I get “No DBus” errors when running things as root

While attempting to run gEdit as root from a terminal window (was trying to do some tweaking on my HOSTS and FSTAB files), I get a message saying "No DBus connection available" and get booted back to ...
3
votes
1answer
324 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 ...
0
votes
1answer
70 views

How to display in Unity an exported GMenu in DBus?

I can see exported menus with D-Feet but Unity doesn't display them... Any Idea, additional documentation or code examples? This is my code: GMenu *menu = g_menu_new (); g_menu_append (menu, "Add", ...
0
votes
0answers
449 views

Ubuntu 12.04 - polkitd using 7GB of memory

We have a production web server running Ubuntu 12.04. We have a total of 24GB of RAM installed into the system. The problem is that our process list is showing polkitd as using 6.8 GB of memory. I've ...
5
votes
2answers
107 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 ...
1
vote
2answers
282 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 ...
7
votes
1answer
351 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 ...
3
votes
1answer
391 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, ...
0
votes
2answers
263 views

Is this Ubuntu One DBus signal connection code correct?

This is my first time using DBus so I'm not entirely sure if I'm going about this the right way. I'm attempting to connect the the Ubuntu One DBus service and obtain login credentials for my app, ...
3
votes
1answer
541 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 ...
1
vote
0answers
372 views

Programming with DBus using PyQt

I'm trying to write a desktop environment that supports the global menu Before I get started with my main task In PyQt I'm trying to get the dbus code to work with QtDBus as a proof of concept. Here's ...
3
votes
2answers
156 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 ...
2
votes
1answer
2k 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 ...
2
votes
2answers
961 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?
3
votes
1answer
355 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 ...
2
votes
3answers
338 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
4answers
11k 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). ...
1
vote
2answers
772 views

Sound menu keyboard shortcuts aren't working with VLC. Work fine with Rhythmbox/Banshee

I enabled vlc dbus interface: Is there a way to control VLC from the Sound Menu? VLC now appears in the sound menu and the controls work. However, the keyboard shortcuts configured for the media ...
0
votes
0answers
175 views

Ubuntu One crashes, even after beta is over! [closed]

Ubuntu One worked perfectly for me before the update. After i switched to Ubuntu 12.04 Precise (Beta 2), It crashed with an error message: CredentialsError DBusException(dbus.String(u'Traceback (most ...
1
vote
1answer
299 views

Not able to compile dbus-ping-pong

I have downloaded files from http://cgit.collabora.com/git/user/alban/dbus-ping-pong.git/tree/ I am trying to compile it using the command gcc pkg-config --libs --cflags dbus-1 dbus-glib-1-2 ...

1 2