Andre Samosir wrote:
$ sudo xrandr --newmode "1440x900-ok" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
$ sudo xrandr --addmode VGA1 1440x900-ok
$ sudo xrandr --output VGA1 --mode 1440x900-ok
Use a text editor such as
nano or
leafpad to create a file called something like
2ndMonitorResolution.shCode:
$ nano ~/2ndMonitorResolution.sh
Paste your
xrandr commands into the text editor [but without
sudo at the beginning], then save [which in
nano would be
Ctrl+O to save, and
Ctrl+X to exit].
Then go to
Settings > Administration > Session and Startup > Application Autostart > Add and in the
Command field enter "
bash /home/yourusername/2ndMonitorResolution.sh" (no quotes).