diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2020-04-02 08:27:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-02 08:27:24 +0700 |
commit | 50a0bad2997df44ba1c0285ac0296dc12bd04f07 (patch) | |
tree | 193ac964b3dd1d7b6060f7b31fec54232b852c09 /system/tbsm | |
parent | 37b91e23aedb710982426df7f40ce89583edb682 (diff) |
system/tbsm: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/tbsm')
-rw-r--r-- | system/tbsm/README | 2 | ||||
-rw-r--r-- | system/tbsm/README.SLACKWARE | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/system/tbsm/README b/system/tbsm/README index 6d7a8b7a0fd2..9edd04a5afe9 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 d80360d4df64..2a04e39c6a82 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 |