Re: Nvidia backlight control - acpi_video0/brightness changes - display doesn't?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux