View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Tue Nov 15, 2011 1:47 am Post subject: Auto-load nvidia-settings? [SOLVED] |
|
|
How can I get my settings from nvidia-settings to take effect when I log into Xfce? My settings are retained somewhere because when I open nvidia-settings, it's the way I last set it, but those settings don't take effect until I run nvidia-settings (in other words, my screen brightens up the way I set nvidia-settings to do so but only when running nvidia-settings for the first time per session). _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Last edited by audiodef on Tue Nov 15, 2011 7:02 pm; edited 1 time in total |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Nov 15, 2011 3:19 am Post subject: |
|
|
Create a startup script using XFCE's control panel, and add:
Code: | /usr/bin/nvidia-settings --load-config-only |
For the brightness, I use in an initscript (i.e. run as root):
Code: | echo 5 > /sys/class/backlight/acpi_video0/brightness |
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Jun 09, 2012 12:27 am Post subject: |
|
|
My upgrade from kernel 3.3.x to 3.4.1 has somehow removed /sys/class/backlight/acpi_video0/ , so a quick alternative is to run as a normal user, within X:
Code: | nvidia-settings -a RedBrightness=-0.4 -a GreenBrightness=-0.4 -a BlueBrightness=-0.4 > /dev/null |
Edit: For /sys/class/backlight/acpi_video0/, I need acpi_backlight=legacy |
|
Back to top |
|
|
|