SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-01-07 11:33:31

xor
#! Die Hard
Registered: 2012-01-11
Posts: 775

nvidia-settings: saved settings don't get loaded ?

i have nvidia-settings installed on one of my machines (driver version 195.36.24) for my GeForce 7600 GT (8x AGP @ 512 MB VRAM). much to my surprise, the saved settings do not get loaded when starting nvidia-settings up again.
i've tried both the "Save to X Configuration File" button under the "X Server Display Configuration" section as well as the "Save Current Configuration" button under the "nvidia-settings Configuration" section. both as normal user and as root.
however, when starting up nvidia-settings, i would expect the saved settings to be applied, which is NOT the case.
i am getting tired of always having to click through the desired settings again and again.
am i doing anything wrong here ? any help on this topic would be greatly appreciated !

Last edited by xor (2013-01-07 11:35:52)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-01-07 12:38:02

cchhrriiss121212
#! Junkie
Registered: 2010-03-26
Posts: 357

Re: nvidia-settings: saved settings don't get loaded ?

I have had this before, try this out.

Offline

#3 2013-01-07 14:21:20

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 974

Re: nvidia-settings: saved settings don't get loaded ?

jens wrote:

"Save Current Configuration" button under the "nvidia-settings Configuration" section.

If you have done this as root you should delete the file you made as root and do it again as your normal user.
To apply these settings you add this line

nvidia-settings -l

to your window managers login script.

Offline

#4 2013-01-08 07:49:21

xor
#! Die Hard
Registered: 2012-01-11
Posts: 775

Re: nvidia-settings: saved settings don't get loaded ?

thanks, but application of nvidia-settings -l in a terminal creates this output:

ERROR: Cannot open display 'lima:0.0'.

it is followed by a list of many other errors, which seems to be a logical result since there is no access to the display...  sad

Last edited by xor (2013-01-08 07:50:23)

Offline

#5 2013-01-08 13:20:45

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 974

Re: nvidia-settings: saved settings don't get loaded ?

It has to run after the xserver is started I don't know hoy your window manager could run before that.
What script did you put the line in (startx or window_manager_name.xsession is wrong)?

Offline

#6 2013-01-09 12:12:51

xor
#! Die Hard
Registered: 2012-01-11
Posts: 775

Re: nvidia-settings: saved settings don't get loaded ?

arclance,
i've actually added the command into this file:

/usr/share/xsessions/xfce.xsession

using the line

Exec=nvidia-settings -l

right before

Exec=startxfce4

Last edited by xor (2013-01-09 12:15:06)

Offline

#7 2013-01-09 14:08:10

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 974

Re: nvidia-settings: saved settings don't get loaded ?

That is the wrong file it won't run the command at the right time and it should only have one "Exec" in it.
The ".xsession" files tell login managers what window mangers are available and what the command to start them is, nothing else.

You should run the "nvidia-settings -l" command from whatever "run programs at startup" feature your window manger gives you.
That may not be a text file in xfce like it is in others like openbox.
Running it like this ensures that your x-server is in the same state as when you created the settings file before the command is run.

Offline

#8 2013-01-11 14:53:41

xor
#! Die Hard
Registered: 2012-01-11
Posts: 775

Re: nvidia-settings: saved settings don't get loaded ?

^ thanks, i thought it might work this way.  in openbox or i3 it is way simpler...

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo