[SOLVED] Display settings lost with each reboot

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Display settings lost with each reboot

Postby leon244 » Sep 8th, '13, 22:27

I have just installed Mageia 3 and am learning my way around. I have an Nvidia card and two monitors. On boot both monitors come up and are the reverse of what I want. Namely, the right monitor is primary and the mouse needs to be moved from right to leftt to move it accross the screens. However I like to work on the left screen and if needed slide my mouse from the left to the right-sided screen. As the right-sided screen is by default the primary one, then the mouse cannot go right side to left.

I opened the system settings, went to 'Display" and move the screens so they are in the relationship I want and set the primary screen to the appropriate side so that it all works the way I want. I then clicked on the "Save as default" button and recieved the dialog that the setting had been set as the desktop default.

Now the problem: With every reboot, the setting is lost and I have to go through the system settings again. :(
Bug? Something I am missing?
Appreciate any help anyone can offer.
Thanks
Last edited by leon244 on Sep 10th, '13, 12:23, edited 1 time in total.
leon244
 
Posts: 127
Joined: Jun 4th, '11, 19:41
Location: Massachusetts, USA

Re: Display settings lost with each reboot

Postby daniewicz » Sep 9th, '13, 04:23

You need to create a script file and then run it automatically during each new reboot. The script file should look like this:

Code: Select all
#!/bin/bash
#
# This is a bash shell script to be run at startup
#
nvidia-settings --load-config-only




Copy this file to:

/home/username/.kde4/Autostart

(if you are using kde) and it will run as needed each time you reboot.
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: Display settings lost with each reboot

Postby leon244 » Sep 9th, '13, 15:52

Thank you. I did as you suggested and the result was that my desktop stopped working. no apps would open and the desktop was frozen. When I removed the script from Autostart, everything was back the way it was.

So I am still left with adjusting the screens after each boot or logout.
Thanks for trying
leon244
 
Posts: 127
Joined: Jun 4th, '11, 19:41
Location: Massachusetts, USA

Re: Display settings lost with each reboot

Postby doktor5000 » Sep 9th, '13, 21:09

@daniewicz: How do you assume that the nvidia driver is currently in use, and that there is an nvidia-settings profile which can be loaded?

@leon: Did you try to run nvidia-settings as root, and save the configuration after adjusting it as you like it?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Display settings lost with each reboot

Postby daniewicz » Sep 10th, '13, 00:54

I have a hidden file .nvidia-settings-rc in my home directory leon. Do you not have this after running
Code: Select all
nvidia-settings
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: Display settings lost with each reboot

Postby jiml8 » Sep 10th, '13, 05:41

I also have that .nvidia-settings-rc file in my home directory.

If you don't have that file, then that probably is your problem. Which suggests that for some reason nvidia-settings can't write it. You probably would learn some things by running the command: strace nvidia-settings. This will tell you what nvidia-settings is opening and closing, and you'll probably get some idea of the problem from that.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Display settings lost with each reboot

Postby doktor5000 » Sep 10th, '13, 07:12

My point was that the OP used KDEs systemsettings, and not mentioned nvidia-settings at all. So nothing would be loaded as no profile exists.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Display settings lost with each reboot

Postby leon244 » Sep 10th, '13, 12:22

doktor5000 wrote:@leon: Did you try to run nvidia-settings as root, and save the configuration after adjusting it as you like it?


No I did not
I did not see these posts before I played some more and fixed my issue. The problem is that I did a number of things but the main one was that I switched DVI cables on the monitors. I then went into MCC and adjusted the settings, and then finally set the relationship in KDE settings. I will follow up on the presence of nvidia-settings.rc

I will for now mark the problem as solved.
Leon
leon244
 
Posts: 127
Joined: Jun 4th, '11, 19:41
Location: Massachusetts, USA


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest