How to stop KDE from changing the screen resolution

display-settingskdemulti-monitor

I am running Linux Mint 17 with KDE and display drivers from Nvidia. I've configured the display settings using nvidia-settings, and when I first start up everything appears to work correctly.

However, when I log in and KDE is loaded, it does something to my display setup which turns off one of my three connected screens. Using the KDE Display settings I am unable to turn the screen back on, but restarting the session and returning to the login screen shows the login dialog on this screen as intended.

How do I stop KDE from messing with my screen setup? Alternatively, why is one of my monitors getting turned off? FWIW, the monitor affected by this is connected via HDMI while the other two that keep working are using DVI.

Best Answer

There's a module in KDE called KScreen that is doing this.

To disable it, go to K Menu->Computer->System Settings->System Administration->Startup and Shutdown->Service Manager. Look for a service called KScreen, and uncheck the Use box. You can stop the service now if you want.

You can also manually edit $HOME/.kde/share/config/kdedrc, and add these lines:

[Module-kscreen]
autoload=false

This stops KDE messing with monitor configurations, and will stick with the one KDM provided at startup.

Kscreen is a per-user service; you'll need to set it for every user unless you have a policy set up.

Related Question