Screen resolution problems when external monitor is plugged in
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Screen resolution problems when external monitor is plugged in
Using Linux Mint 18 with Nvidia GT525M display drivers. When external monitor is not plugged in (via HDMI) the screen resolution on my notebook is perfect, but as soon as I plug in the external monitor via HDMI, the 2 screens are mirrored and the resolution is way off.
How can I rectify this so that the resolution settings are saved permanently OR how can I set the resolution in the /etc/x11/xorg.conf file?
xrandr is normally how I do the switch. You can also put the monitors at other than cloned orientation. Although most times I leave them cloned and turn off the laptops display.
With the --primary so when I fullscreen something it uses the resolution of the larger monitor. With various other tools depending on the hardware. amdcccle, nvidia-xconfig, and others. Many of the more mainstream desktops have the right mouse -> properties type settings from a bare desktop. And there's arandr for a gui frontend for xrandr, but YMMV.
I'm not sure if it interferes with the nVidia way of doing things, but my usual solution is to use arandr to set up my desired multi-monitor setup. arandr is just a graphical front end to xrandr which makes it easy and intuitive to set it up. But it does not directly interact with your Desktop Environment to save the changes anywhere permanent.
Rather, arandr gives you the option to save your settings as a bash script. The bash script includes the necessary xrandr command line to set up the multi-monitor setup. You can then make a shortcut icon/button for this script. I use XFCE4, and if it's something where I'll have different multi-monitor setups on a regular basis, I create a custom launcher menu in the toolbar for the different setups.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.