You are not logged in.

#1 2008-11-28 21:20:24

Natlampen
Member
Registered: 2007-10-16
Posts: 7

Dbus

Is it possible to check if an application uses dbus. Somehow rhythmbox can't use the radio or podcast function unless I run it with dbus-launch, so is there anyway to check or should I just run every app like that ?

Offline

#2 2008-11-28 23:04:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: Dbus

You can start dbus for the session with something like:

if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

Offline

#3 2008-11-28 23:17:12

Natlampen
Member
Registered: 2007-10-16
Posts: 7

Re: Dbus

Great, thanks smile

Offline

#4 2008-11-29 01:13:08

drewbug01
Member
From: chicago
Registered: 2007-04-06
Posts: 85
Website

Re: Dbus

You could always start DBUS as a service, if you want it running constantly. Just add it to /etc/rc.conf

-- drew

Offline

#5 2008-11-29 01:15:03

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Dbus

That isn't a user session though, and won't work for the same purposes.

Offline

Board footer

Powered by FluxBB