The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
2k views

What's the right way to shutdown Arch Linux through dbus interface?

I'm running openbox with Arch Linux, and looks like the old console kit interface has been long gone, %> dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit ...
1
vote
0answers
146 views

dbus problem with caja when using chocolate-doom on Linux Mint 14

I'm running Linux Mint 14 (Nadia) and I'm having a problem with chocolate-doom. When I run it, it changes the screen resolution but for some reason upsets caja (the file manager) like so (from ...
2
votes
1answer
118 views

How gconfd-2 and dconf-service are started in Gnome3 or other gnome-based desktop environments?

I want to know, at what moment and by what means the gnome2 and gnome3 configuration daemons, gconfd-2 and dconf-service are started? Examples of the possible means: init scripts Xsession.d scripts ...
3
votes
1answer
1k views

How dbus calculates machine id?

How DBus calculates machine id? (/etc/machine-id, /var/lib/dbus/machine-id). Which way is more correct to determine it?
3
votes
1answer
658 views

How to create a daemon which would be listening to dbus and fire script on message

I want to create a daemon, which would fire up a shell script in the background every time I unlock the screen on my ubuntu. I managed to create such script according to answer to related question: ...
0
votes
3answers
324 views

List of partition labels vs devices using dbus/udisks in bash

I have a problem where using dbus and udisks seems to be the best approach. So I invented a problem: create a table of labels and devices for each partition "installed" ala: "" /dev/sda1 ...
7
votes
3answers
4k views

Trouble with dbus and systemd/user

I have systemd set up so that using systemctl start user@me will start my user services as I expect, but my dbus one just won't go (which I need for PulseAudio). Is there some way I can check dbus or ...
5
votes
1answer
3k views

User systemd PulseAudio service

Not much else to this question: I would like to know what I need to create a PulseAudio systemd service to be run with systemd --user. I've tried a few different things, including various user ...
4
votes
0answers
516 views

Compiling and running Snapper for Ubuntu

I am trying to get snapper working in my Mint 14. (The version from launchpad is old and not compatible with Ubuntu 12.10. The OpenSuSe's build project failed to build it, too). So I try my luck with ...
1
vote
1answer
2k views

Failed to get bus connection: Could not connect: Connection refused

When I'm running evince file.pdf I got this error Failed to get bus connection: Could not connect: Connection refused Ubuntu 12.04 I have to reboot. Can I repair this error without reboot?
1
vote
0answers
199 views

DBUS interface to decrypt a LUKS device?

In modern DEs, like KDE or XFCE, you can mount a LUKS device after entering the password. Now I want to do this without the file manager, with two steps, Decrypt the device Mount the disk with ...
0
votes
1answer
81 views

Can a GTK applet widget be instantiated through dbus?

I just posted this: #274616: “Simple” gnome applets in Unity - stickynotes ... where I could instantiate a Gnome 2 bonobo applet in a standalone window, ... using ...
2
votes
1answer
284 views

Open kickoff via shell/script

Is there any (undocumented) way to open the KDE Kickoff menu via dbus or some similar mechanism?
3
votes
0answers
112 views

Restricting D-Bus access to the logged-in user via ConsoleKit or systemd

I need to restrict the client of a D-Bus service to only the user logged into the system locally, via ConsoleKit or systemd. How must I configure or write the D-Bus service to do so?
24
votes
3answers
11k views

A list of available DBus services

Is there such a thing as list of available DBus services? I've stumbled upon a few (like those provided by NetworkManager, Rhythmbox, Skype, HAL). I wonder if I can find a rather complete list of ...
16
votes
1answer
2k views

Reuse D-Bus sessions across login sessions

I access a machine through multiple login sessions. The sessions' lifetimes may or may not overlap. In my case, these login sessions are currently always over SSH, but I would prefer to handle local ...
4
votes
1answer
586 views

KTorrent: Moving data in a shell script

I'm trying to make a script for my magic folder that will move files to a seeding directory without KTorrent losing track of where the data is, similar to the "Move Data" context menu action in the ...
2
votes
3answers
4k views

How to restart polkitd?

My desktop PC is also used as a NIS/NFS server for a small workgroup. It runs for months without reboot. Recently I observed that when I log into a desktop session the computer becomes less ...
2
votes
2answers
2k views

Guake throws an error on startup

I'm using Ubuntu-Server 12.04, but I wasn't sure if this was an Ubuntu specific question, so I'm posting it here. I got myself a graphical user interface by installing xinit and openbox (using ...
1
vote
0answers
1k views

Fedora Failed to get D-Bus connection

I have a VPS with fedora 16 installed. I have setup mysql and it was working a couple of days ago. Now suddenly when I try to start mysql I get the error: Failed to get D-Bus connection: Failed to ...
3
votes
1answer
6k views

Running VLC from a cronjob: How to get a DBUS connection?

I'm trying to run VLC headless from a cron job. The idea is to grab single images from a RTSP stream every two minutes and (later, and in another script) ftp them to a distant machine. The command ...
3
votes
1answer
319 views

Schedule halt using ConsoleKit and Dbus

I have been playing with Dbus (versions 1.4.0, in Ubuntu 10.10 and 1.4.14) and ConsoleKit (versions 0.4.1 and 0.4.5) to reboot or halt my computer without being a superuser. Everything works fine in ...
4
votes
2answers
3k views

How do I shut down a system through a ConsoleKit DBus message as user?

I found the following command line to shut down a Debian/GNU Linux system dbus-send \ --system \ --dest=org.freedesktop.ConsoleKit \ --type=method_call \ --print-reply \ ...
11
votes
3answers
3k views

Run a dbus program in crontab , how to know about the SESSION id?

I need to run some program within crontab , but how can the program know about dbus session id ? it's only available for programs launched by session managers.
2
votes
1answer
255 views

Is it possible to control window management in Gnome Shell using D-Bus?

I would like to programmatically be able to communicate with the Window Manager in Gnome 3, using D-Bus. The tasks I would like to accomplish are: listening for new windows get window flags (e.g. ...
4
votes
1answer
796 views

How do I prevent ssh remote login from breaking dbus?

I'm running openSUSE 11.3 on my workstation at work under KDE, I don't have root access to it. The default shell has been set to tcsh. When I am logged in at my workstation and log in remotely from my ...
3
votes
2answers
125 views

Reference material about device management

Can anybody recommend materials about device management in the Linux environment? From the point where I insert a cdrom or usb device to the point where it is mounted in /media/somedir. I know that I ...
3
votes
2answers
342 views

Can't get DBUS data for automatic statuschange of pidgin

I'm using a script based on the work posted here: Update pidgin status using cron I'm trying to make a wicd script that automaticly disconnects before Wifi-disconnect and reconnects on ...
13
votes
1answer
2k views

X, Xorg and D-Bus: what is the difference?

In the process of learning to do certain things in GUI programming (e.g., reserving space on the screen for an application), I have to learn more about the Window Manager, usually X11 on Linux (I'm ...
5
votes
2answers
951 views

Is it possible to raise a window using dbus in Gnome3?

I have recently shifted from KDE4 to Gnome3. In KDE you can create application specific keyboard shortcuts to raise windows. I typically create one each for firefox, thunderbird, my terminal etc. That ...
4
votes
4answers
230 views

Where might the dbus development (.h) files be for RHEL5?

A quick search from yum for dbus fails to turn up the devel related package that should provide dbus.h et al. Anybody have experience locating the relevant package? Should I just resort to getting ...
0
votes
2answers
2k views

Autoconfig/Automake fails to generate AM_CFLAGS & AM_LDFLAGS for dependent D-BUS library. Why?

I want to build a program that use DBUS, using automake/autoconfig tools. But the make command always report an error "dbus/dbus-glib.h": No such file or directory. My OS is ubuntu 10.10. And I ...
6
votes
3answers
370 views

Power management hook for running *X11* scripts on wake

Earlier I asked a similar question, but that one was about running system-level scripts. I have a script that runs a series of xinput commands in order to enable two-finger scrolling on my touchpad. ...
2
votes
1answer
2k views

Help configuring DBUS to start JACK

I have the Jack Audio Connection Kit (JACK) installed, but cannot seem to get jack_control start to start the service. I'm using Slackware64-current, which recently updated its ...
5
votes
1answer
1k views

CLI interace to KDE's notifier

I think KDE's notifier is pretty sweet. I was thinking... how useful might it be if my system logs were also sent there, so they would pop so I could see them. I think the first step of this is to ...