change xorg screen dimension on login with xrandr 
* create modline setting with cvt for desired resolution

* add new modline with xrandr --newmode

* add mode to output with xrandr --addmode

* set output and dimension with xrandr --output and --mode

The needed steps are done in

/etc/X11/Xsession.d/45custom_xrandr-settings

# $ cvt 1280 1024 60
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
# Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 \
# -hsync +vsync
# $ xrandr
# Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
# HDMI-1 disconnected (normal left inverted right x axis y axis)
# VGA-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
# 1024x768 60.0*
# 800x600 60.3 56.2
# 848x480 60.0
# 640x480 59.9
xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 \
-hsync +vsync
xrandr --addmode VGA-1 1280x1024_60.00
# $ xrandr
# Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
# HDMI-1 disconnected (normal left inverted right x axis y axis)
# VGA-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
# 1024x768 60.0*
# 800x600 60.3 56.2
# 848x480 60.0
# 640x480 59.9
# 1280x1024_60.00 59.9
xrandr --output VGA-1 --mode 1280x1024_60.00


[ view entry ] ( 1372 views )   |  print article

<<First <Back | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Next> Last>>