You can use
xrandr
to set specific resolutions.- First generate a modeline. This is very easy using
cvt
. For example, to create a mode for 1920x1080 you would runcvt 1920 1080 60 -r
The60
corresponds to a 60Hz refresh rate (a common refresh rate for modern monitors). The-r
means to enable reduced blanking, which is useful for LCD monitors. - Add the new mode to your mode list using
xrandr
. Copy the output ofcvt
(except the word "Modeline") and paste it afterxrandr --newmode
xrandr --newmode "1920x1080R" 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
- Add the new mode to the proper connector. If the monitor is connected to the first HDMI port on your video card, the command would be
xrandr --addmode HDMI1 1920x1080R
A list of valid connector names is given in the output of runningxrandr
with no arguments. - Enable the new mode. Sometimes the new mode is automatically enabled after step three. If not, you can enable it by opening "Settings" and clicking on "Displays", or through
xrandr
xrandr --output HDMI1 --mode 1920x1080R
No comments:
Post a Comment