Linux Mint video tricks

Installed Linux Mint at home on my desktop. Works great, except I wasn’t happy about the resolution of my only Samsung flatscreen (as 2nd monitor), which was stuck at 1024×768. Finally got around to researching, and I found some tricks that actually work! So here’s the goods.

Linux Mint: 18.04
Monitor: Samsung SyncMaster 931c (2nd monitor as VGA)
Old resolution: 1024×768
Desired resolution: 1280×1024

xrandr shows:

$ xrandr
Screen 0: minimum 8 x 8, current 2304 x 1024, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
... snipped 1st monitor as HDMI
VGA1 connected 1024x768+1280+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00* 
800x600 60.32 56.25 
848x480 60.00 
640x480 59.94 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Get specs for new resolution:

$ gtf 1280 1024 60
# 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync

Commands to switch resolution (use text after ‘Modeline’ above in –newmode definition):

$ xrandr --newmode "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
$ xrandr --addmode VGA1 "1280x1024_60.00" 
$ xrandr --output VGA1 --mode "1280x1024_60.00"

Now. Making it stick after reboot! Next challenge.

 

This entry was posted in Uncategorized. Bookmark the permalink.