This question already has an answer here:

I'm using bootable persistent USB key. I think there are some display problems, so I have to set resolution manually. These commands do it right:

sudo xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
sudo xrandr --addmode VGA1 1440x900_60.00
sudo xrandr -s 1440x900

It would be great if I wouldn't need to manually run these every time my machine starts.

share|improve this question

marked as duplicate by Jacob Vlijm, Community Jun 30 '15 at 9:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Please see: askubuntu.com/questions/637911/… The answer was neglected by OP there, but works :) – Jacob Vlijm Jun 30 '15 at 8:18
1  
It works. Thanks – ioio Jun 30 '15 at 9:27
    
Perfect, thanks for mentioning! – Jacob Vlijm Jun 30 '15 at 9:29

You can use a GUI frontend to Xrandr, for example ARandR.

ARandR is designed to provide a simple visual front end for XRandR. Relative monitor positions are shown graphically and can be changed in a drag-and-drop way.

Quoted From http://christian.amsuess.com/tools/arandr/:

Features: Saving configurations as executable shell scripts (configurations can be loaded without using this program)

enter image description here

After choosing your suitable configuration Then apply the new configuration by pressing Ctrl+Enter

To install it in Ubuntu:

sudo apt-get install arandr

Now your configuration will be stored and loaded within the startup

share|improve this answer
    
It's not storing my configuration. – ioio Jun 30 '15 at 9:00
    
you use ARandr or xrandr? – Maythux Jun 30 '15 at 9:03
    
did you Apply your configuration?? – Maythux Jun 30 '15 at 9:03
    
Yes, applied, rebooted and it didn't come up. – ioio Jun 30 '15 at 9:22
    
Try this program: sourceforge.net/p/resolutionx It will store the randr commands and run them on startup. – DevRobot Jul 1 '15 at 19:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.