aboutsummaryrefslogtreecommitdiff
path: root/share/provision/debian/files/desktop-basic
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-05-16 22:49:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-05-16 22:49:03 -0300
commit069f418b010bdab85bea80526b312089fbdc0e7a (patch)
treef9c5c099a052dd52d2d96a5b4234cf2bcbce17aa /share/provision/debian/files/desktop-basic
parent3ff504c70b291d6c41fdd2acbc15c58982f0e847 (diff)
downloadkvmx-069f418b010bdab85bea80526b312089fbdc0e7a.tar.gz
kvmx-069f418b010bdab85bea80526b312089fbdc0e7a.tar.bz2
Fix: provision: debian: xsession startup enhancements
Diffstat (limited to 'share/provision/debian/files/desktop-basic')
-rw-r--r--share/provision/debian/files/desktop-basic/home/user/.custom/xsession11
1 files changed, 10 insertions, 1 deletions
diff --git a/share/provision/debian/files/desktop-basic/home/user/.custom/xsession b/share/provision/debian/files/desktop-basic/home/user/.custom/xsession
index ee206e0..157c4e2 100644
--- a/share/provision/debian/files/desktop-basic/home/user/.custom/xsession
+++ b/share/provision/debian/files/desktop-basic/home/user/.custom/xsession
@@ -36,9 +36,13 @@ sleep 8
# Startup programs
if [ "$HOSTNAME" = "web" ]; then
- PROGRAMS="$PROGRAMS tor-browser"
+ PROGRAMS="terminal-session-chooser"
+elif [ "$HOSTNAME" = "tor" ]; then
+ PROGRAMS="$PROGRAMS tint2 tor-browser"
elif [ "$HOSTNAME" = "vnc" ]; then
PROGRAMS="$PROGRAMS vnc"
+elif [ -e "$HOME/apps/local/startup" ]; then
+ PROGRAMS="$PROGRAMS startup"
else
PROGRAMS="$PROGRAMS terminal"
fi
@@ -46,3 +50,8 @@ fi
# Fix keyboard layout if needed
# https://wiki.debian.org/Keyboard
#setxkbmap -model abnt2 -layout br -variant thinkpad
+
+# Local customizations
+if [ -e "$HOME/.custom/xsession-$HOSTNAME" ]; then
+ . "$HOME/.custom/xsession-$HOSTNAME"
+fi