You are not logged in.
Pages: 1
I have an NVidia GTX260 with a Samsung monitor and I'm trying to lower the brightness of it. When the room is dark it really stings my eyes.
I'd like to do this from within my computer and not on the screen.
$ xbacklight
No outputs have backlight property
$ lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] (rev a1)
]$ ls -l /proc/acpi/
total 0
dr-xr-xr-x 3 root root 0 Sep 19 01:02 button
-r-------- 1 root root 0 Sep 19 01:02 dsdt
dr-xr-xr-x 2 root root 0 Sep 19 01:02 embedded_controller
-r-------- 1 root root 0 Sep 19 01:02 event
-r-------- 1 root root 0 Sep 19 01:02 fadt
dr-xr-xr-x 3 root root 0 Sep 19 01:02 fan
-r--r--r-- 1 root root 0 Sep 19 01:02 info
dr-xr-xr-x 2 root root 0 Sep 19 01:02 power_resource
dr-xr-xr-x 6 root root 0 Sep 19 01:02 processor
-rw-r--r-- 1 root root 0 Sep 19 01:02 sleep
dr-xr-xr-x 3 root root 0 Sep 19 01:02 thermal_zone
-rw-r--r-- 1 root root 0 Sep 19 01:02 wakeup
Any help would be appreciated. Thanks.
Offline
There are a couple of packages in AUR that you might find helpful:
xflux http://aur.archlinux.org/packages.php?ID=25689
smartdimmer http://aur.archlinux.org/packages.php?ID=13632
Offline
It takes some tinkering but you could try nvidia-settings with multiple config files.
Offline
xflux will not install and smartdimmer simply doesn't work.
$ smartdimmer
nVIDIA SmartDimmer adjustment tool version 0.1.
Usage: smartdimmer [OPTION]...
Options:
-g --get Query brightness level.
-s --set <level> Set brightness level (1-21)
-i --increase Increase brightness with one level.
-d --decrease Decrease brightness with one level.
-h --help Prints this help text.
$ smartdimmer -g
SmartDimmer level: 0
$ smartdimmer -i
$ smartdimmer -g
SmartDimmer level: 0
$ smartdimmer -s 15
$ smartdimmer -g
SmartDimmer level: 0
It takes some tinkering but you could try nvidia-settings with multiple config files.
Could you explain some more on how I would use nvidia-settings.
Offline
man nvidia-settings
Actually you don't need to bother with multiple configs. You can set everything directly from the command line with --assign. The names of the settings are in your .nvidia-settings-rc.
Example
#! /bin/bash
nvidia-settings --assign 0/RedGamma=$(bc <<< "$1+${2:-0}") --assign 0/GreenGamma=$1 --assign 0/BlueGamma=$(bc <<< "$1-${2:-0}") &>/dev/null
Arg 1: base (0 - 1 or more)
Arg 2: optional warmness
Offline
Your code works but its the same as in the nvidia-settings GUI and that's more of a color correction thing.
I'm after what you can get on most laptops. I think its a back light thing...
Anything else?
Last edited by BaconPie (2010-09-19 13:30:47)
Offline
echo 1 | sudo tee /sys/class/backlight/*/brightness
Max is at: /sys/class/backlight/*/max_brightness
Offline
You can also check /proc/acpi/video/VID/LCD0 (may be a little different on your system, like DVI0 or something).
For example,
cat /proc/acpi/video/VID/LCD0/brightness
or
sudo echo "20" > cat /proc/acpi/video/VID/LCD0/brightness
Offline
There is nothing in /sys/class/backlight and there is no video directory in /proc/acpi.
$ ls /sys/class/backlight/
$
$ ls -l /proc/acpi/
total 0
dr-xr-xr-x 3 root root 0 Sep 19 17:52 button
-r-------- 1 root root 0 Sep 19 17:52 dsdt
dr-xr-xr-x 2 root root 0 Sep 19 17:52 embedded_controller
-r-------- 1 root root 0 Sep 19 17:52 event
-r-------- 1 root root 0 Sep 19 17:52 fadt
dr-xr-xr-x 3 root root 0 Sep 19 17:52 fan
-r--r--r-- 1 root root 0 Sep 19 17:52 info
dr-xr-xr-x 2 root root 0 Sep 19 17:52 power_resource
dr-xr-xr-x 6 root root 0 Sep 19 17:52 processor
-rw-r--r-- 1 root root 0 Sep 19 17:52 sleep
dr-xr-xr-x 3 root root 0 Sep 19 17:52 thermal_zone
-rw-r--r-- 1 root root 0 Sep 19 17:52 wakeup
Offline
Pages: 1