diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2023-01-28 12:45:55 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-29 11:44:47 +0700 |
commit | afe26d2af05c68df9a3ed1730317a42ce66e271e (patch) | |
tree | aa786d85be929a78910fa8a80dfebb87c92d6ed8 /system/tbsm/README.SLACKWARE | |
parent | ee5c88a8902ba4c9e4649171c2e410b407916e8a (diff) |
system/tbsm: Fix SlackBuild
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/tbsm/README.SLACKWARE')
-rw-r--r-- | system/tbsm/README.SLACKWARE | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/system/tbsm/README.SLACKWARE b/system/tbsm/README.SLACKWARE index f536176c05..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 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=dbus-launch --sh-syntax --exit-with-session dwm +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 |