aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/tbsm/README2
-rw-r--r--system/tbsm/README.SLACKWARE6
2 files changed, 4 insertions, 4 deletions
diff --git a/system/tbsm/README b/system/tbsm/README
index 6d7a8b7a0fd2f..9edd04a5afe91 100644
--- a/system/tbsm/README
+++ b/system/tbsm/README
@@ -4,7 +4,7 @@ tdm and krunner. It supports X and Wayland sessions.
Autostart tbsm upon login by adding the following to $HOME/.profile:
# Autostart tbsm on all TTYs
-if [[ ! ${DISPLAY} && ${XDG_VTNR} -le 2 ]]; then
+if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec tbsm
fi
diff --git a/system/tbsm/README.SLACKWARE b/system/tbsm/README.SLACKWARE
index d80360d4df64f..2a04e39c6a82a 100644
--- a/system/tbsm/README.SLACKWARE
+++ b/system/tbsm/README.SLACKWARE
@@ -1,6 +1,6 @@
-tbsm may run desktop sessions, such as dwm, without consolekit and dbus
+tbsm may run desktop sessions, such as i3, 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
+Name=i3-dbus
+Exec=ck-launch-session dbus-launch --sh-syntax --exit-with-session i3