aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/desktop-basic/home/user/.custom/xsession
blob: c465f7461d7b3cef0c69235833b4fca1386d4dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Custom X11 session config
#
WINDOW_MANAGER="ratpoison"
PROGRAMS="$PROGRAMS terminal"
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