How can I reset my display settings through terminal?

I am using Ubuntu 15.10. I accidentally changed the size of the interface to maximum. Now my folders and windows are too large and don't fully fit the screen so I cannot revert the effect. Is there any way to reset the display settings to default so this can revert to normal?

0

4 Answers

Removing ~/.config/monitors.xml should do it:

  • Open a terminal window by pressing Ctrl+Alt+T
  • type rm ~/.config/monitors.xml and press Enter
  • immediately log out and back in. It should be reverted now

Alternatively

If you know what resolution your screen supports (e.g. 1440x900), you can run the command:

xrandr -s 1440x900

to at least temporarily set a workable solution, then subsequently change settings from GUI.

12

I had a similar problem to you but I found the solution hereHow to scale title bars and menu in Ubuntu 14.04 with the terminal only

dconf reset /com/ubuntu/user-interface/scale-factor

This changes the "scale for menu and title bars" to default.

4

Just to add to this, since this is the first thread that appeared for me: My solution to reset the display was to use:

xrandr --listactivemonitors
2

Just rebooting can fix it, but it depends on what caused the change.

Before you fiddle with settings, reboot and see if the resolution reverts to the correct setting.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like