Store Permanently Ubuntu Multiple Displays Setting

In Ubuntu 12.04 and maybe others, if we set displays for multiple monitor it just works for the current session. It means, if we restart our PC, the setting was gone and we need to set up again via display setting as shown from the picture below.


Ubuntu Display Setting

To store permanently the multiple monitors setting in Ubuntu, we can manually set the xrandr by making file .xprofile in home directory (~/.xprofile). For example, to set extra monitor in the left side of main monitor permanently (as shown by the picture above), type the following in ~/.xprofile

xrandr –output VGA1 –left-of LVDS1
For complete instruction, you can follow the Ubuntu wiki here. The ~/.xprofile will be executed by xrandr every single start of Ubuntu. The example script above will locate the extra monitor to the left of main monitor, here are the sreenshot of mine.
Extra monitor on the left of main monitor as set in ~/.xprofile

Leave a Reply | Tinggalkan Komentar..

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s