aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/desktop-basic/home/user
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-12-13 10:25:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-12-13 10:25:19 -0300
commit7799e36e0f057625f29bba0394597da5645fcc30 (patch)
treeae294d1c763f38f9d0b007f71291aa22b9f7e846 /share/provision/files/desktop-basic/home/user
parent71e615a3faae973342ae5debdd76b28a33430817 (diff)
downloadkvmx-7799e36e0f057625f29bba0394597da5645fcc30.tar.gz
kvmx-7799e36e0f057625f29bba0394597da5645fcc30.tar.bz2
Fix: provision cleanup and organize
Diffstat (limited to 'share/provision/files/desktop-basic/home/user')
-rw-r--r--share/provision/files/desktop-basic/home/user/.custom/xsession48
1 files changed, 0 insertions, 48 deletions
diff --git a/share/provision/files/desktop-basic/home/user/.custom/xsession b/share/provision/files/desktop-basic/home/user/.custom/xsession
deleted file mode 100644
index ee206e0..0000000
--- a/share/provision/files/desktop-basic/home/user/.custom/xsession
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# Custom X11 session config
-#
-
-# Parameters
-HOSTNAME="`cat /etc/hostname | cut -d . -f 1`"
-
-# Set window manager
-WINDOW_MANAGER="ratpoison"
-
-# Display device
-DISPLAY_DEVICE="Virtual-0" # or maybe qlx-0
-
-#
-# Set screen size
-#
-
-# Modeline determined by running "cvt 1280 780"
-#xrandr --newmode "1280x780_60.00" 81.50 1280 1352 1480 1680 780 783 793 810 -hsync +vsync
-#xrandr --addmode $DISPLAY_DEVICE 1280x780_60.00
-
-# Modeline determined by running "cvt 1368 748"
-#xrandr --newmode "1368x748_60.00" 83.00 1368 1440 1576 1784 748 751 761 777 -hsync +vsync
-#xrandr --addmode $DISPLAY_DEVICE 1368x748_60.00
-
-# Set default modeline
-#xrandr --output $DISPLAY_DEVICE --mode 1368x748_60.00
-#xrandr --output $DISPLAY_DEVICE --mode 1280x780_60.00
-
-# Workaround for programs that depend on a system fully operational
-# Example: chromium browser running with firejail when your ${DOWNLOADS}
-# path is a shared folder to be mounted by kvmx. If you don't sleep here,
-# you mind find a whitelisting error at the firejail profile in your
-# ~/.xsession-errors.
-sleep 8
-
-# Startup programs
-if [ "$HOSTNAME" = "web" ]; then
- PROGRAMS="$PROGRAMS tor-browser"
-elif [ "$HOSTNAME" = "vnc" ]; then
- PROGRAMS="$PROGRAMS vnc"
-else
- PROGRAMS="$PROGRAMS terminal"
-fi
-
-# Fix keyboard layout if needed
-# https://wiki.debian.org/Keyboard
-#setxkbmap -model abnt2 -layout br -variant thinkpad