aboutsummaryrefslogtreecommitdiff
path: root/provision/files/desktop-basic/home/user/.custom/xsession
diff options
context:
space:
mode:
Diffstat (limited to 'provision/files/desktop-basic/home/user/.custom/xsession')
-rw-r--r--provision/files/desktop-basic/home/user/.custom/xsession22
1 files changed, 22 insertions, 0 deletions
diff --git a/provision/files/desktop-basic/home/user/.custom/xsession b/provision/files/desktop-basic/home/user/.custom/xsession
new file mode 100644
index 0000000..97ef73d
--- /dev/null
+++ b/provision/files/desktop-basic/home/user/.custom/xsession
@@ -0,0 +1,22 @@
+#
+# Custom X11 session config
+#
+WINDOW_MANAGER="ratpoison"
+PROGRAMS="\$PROGRAMS terminal"
+
+#
+# Set screen size
+#
+
+# On stretch onwards Virtual-0 was renamed to Virtual-0
+# 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 Virtual-0 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 Virtual-0 1368x748_60.00
+
+# Set default modeline
+#xrandr --output Virtual-0 --mode 1368x748_60.00
+xrandr --output Virtual-0 --mode 1280x780_60.00