Adjust X11 resolution on the fly

Modern X11 drivers support resolution changing on the fly (as in, you don’t need to restart your X11 server). You can check if your driver supports this when you see this

(==) RandR enabled
(II) Initializing built-in extension RANDR

Changing the resolution is very easy:

xrandr –size 1024×768

Entering xrandr without any options shows all the available resolutions.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.