1.1 KiB
1.1 KiB
How to get the home office monitor working
- Run the following commands
# Check output and note what's the name of the display
xrandr --listmonitors
DISPLAY_NAME="write_the_name_here"
# Then run the following and copy what comes in the modeline after "Modeline"
cvt 1920 1080 59.80
# First generate a "modeline" by using cvt
# Syntax is: cvt width height refreshrate
cvt 1920 1080 59.80
#this gives you:
# 1920x1080 59.79 Hz (CVT) hsync: 66.96 kHz; pclk: 172.50 MHz
Modeline "1920x1080_59.80" 172.50 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
# Now tell this to xrandr:
xrandr --newmode "1920x1080_59.80" 172.50 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
# Then you can now add it to the table of possible resolutions of an output of your choice:
xrandr --addmode ${DISPLAY_NAME} 1920x1080_59.80
#The changes are lost after reboot, to set up the resolution persistently, create the file ~/.xprofile with the content:
#!/bin/sh
xrandr --newmode "1920x1080_59.80" 172.50 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode ${DISPLAY_NAME} 1920x1080_59.80