[arch-general] Nvidia backlight control - acpi_video0/brightness changes - display doesn't?

Ralf Mardorf silver.bullet at zoho.com
Sun Nov 20 10:05:37 UTC 2016


On Sun, 20 Nov 2016 10:56:16 +0100, Ralf Mardorf wrote:
>On Sun, 20 Nov 2016 03:08:12 -0600, David C. Rankin wrote:
>>    if [ $UID -eq 0 ]; then
>>        echo $(luminance) > "$dest"/brightness  
>
>Are you using the "helper script" because
>
>  sudo echo $(luminance) > "$dest"/brightness
>
>doesn't work? If so, then consider to use
>
>  echo $(luminance) | sudo tee "$dest"/brightness
>
>to get rid of the "helper script".

JFTR    sudo sh -c    would work, too, but IMO wouldn't make sense.


More information about the arch-general mailing list