Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README.dbus | H A D | 05-Jan-2005 | 1.6 KiB | 50 | 38 | |
README.remote | H A D | 20-Mar-2003 | 4.4 KiB | |||
problems | H A D | 17-Jan-2004 | 1,001 | 24 | 20 |
README.dbus
1For more details check http://ofi.hakore.com/ 2 3if you use DBUS-0.22 please apply patches from contrib/patches/dbus-all-services.patch to DBUS source. 4 5To get DBUS operational you need to start system bus service at system 6startup: 7 8# dbus-daemon-1 --system 9 10And then for every user session: 11 12$ dbus-daemon-1 --session 13 14process running in you system to work it propertly. 15 16you can run it with while you login with script like this: 17 18if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then 19 ## if not found, launch a new one 20 eval `dbus-launch --sh-syntax --exit-with-session` 21 echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" 22fi 23 24or I do prefer start GNOME with "dbus-launch gnome-session" because it allow to activate X based services 25 26my /etc/X11/Xinit/Xclients: 27------------------------------------------------------------ start -- 28# these files are left sitting around by RunWM. 29rm -f /tmp/mwmrc* 2>/dev/null 30# check to see if the user has a preferred desktop 31[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop 32[ -f ~/.wm_style ] && PREFERRED="`cat ~/.wm_style | tr a-z A-Z`" 33GSESSION="`which gnome-session 2>/dev/null`" 34STARTKDE="`which startkde 2>/dev/null`" 35case "$PREFERRED" in 36 GNOME) 37 [ -x "$GSESSION" ] && exec "/usr/bin/dbus-launch" "$GSESSION" 38 ;; 39 KDE) 40 [ -x "$STARTKDE" ] && exec "$STARTKDE" 41 ;; 42esac 43# Last, try plain window manager 44exec /usr/X11R6/bin/RunWM 45------------------------------------------------------------ end --- 46 47### NOTES #### 48#/desktop/gnome/url-handlers/jabber "" 49#dbus-send --type="method_call" --dest='org.freedesktop.im.GG' /org/freedesktop/im org.freedesktop.im.openChat string:'gg://5074881' 50