The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 819β€…    Votes:  1β€…    βœ… Solution
Tags: gnome   xorg   display-resolution  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/945993
Title: Gnome refuses switching to custom resolution
ID: /2017/08/14/Gnome-refuses-switching-to-custom-resolution
Created: August 14, 2017    Edited:  June 12, 2020
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


You’re making a minor mistake in /etc/X11/xorg.conf

Section "Monitor"
    Identifier "HDMI1"
    Option "PreferredMode" "1680x1050_60.00"
EndSection

You need an extra line (real life example, not yours):

Section "Monitor"
    Identifier "VGA1"
    Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
    Option "PreferredMode" "1280x1024_60.00"
EndSection

To setup the Modeline values you need to use:

cvt 1680 1050

copy and paste the output values to your /etc/X11/xorg.conf. In addition to the β€œMonitor” section you should have a β€œScreen” and β€œDevice” section as well.

Reference: Arch Linux RandR X Window System

⇧ Do my files get saved if I upgrade to Ubuntu and then revert it? How to fix Bang and Olufsen Audio for HP laptops?  β‡©