summaryrefslogtreecommitdiffstats
path: root/system/tbsm/README.SLACKWARE
diff options
context:
space:
mode:
Diffstat (limited to 'system/tbsm/README.SLACKWARE')
-rw-r--r--system/tbsm/README.SLACKWARE19
1 files changed, 13 insertions, 6 deletions
diff --git a/system/tbsm/README.SLACKWARE b/system/tbsm/README.SLACKWARE
index d80360d4df..f206be8b19 100644
--- a/system/tbsm/README.SLACKWARE
+++ b/system/tbsm/README.SLACKWARE
@@ -1,6 +1,13 @@
-tbsm may run desktop sessions, such as dwm, without consolekit and dbus
-support. Thus, given that tbsm detects available .desktop files from
-/usr/share/xsessions, create a copy of the .desktop file and modify
-the Name and Exec lines as such:
-Name=dwm-dbus
-Exec=ck-launch-session dbus-launch --sh-syntax --exit-with-session dwm
+tbsm may run desktop sessions, such as dwm, without dbus support.
+Thus, here are 2 methods for autostarting dbus upon login:
+
+1. Please add the following line to .xinitrc or .xsession:
+exec dbus-launch --sh-syntax --exit-with-session dwm
+
+2. Please add the following lines to autostart.sh (dwm has an optional
+patch for autostarting ~/.dwm/autostart.sh):
+
+# Start DBUS session bus:
+if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
+ eval $(dbus-launch --sh-syntax --exit-with-session)
+fi