Reducing screen's brightness: Dimmer than dimmest
I would like to make a shell script program I have made to convenience night viewing from my netbook. I have the samsung NP-NC110 10” netbook, and it's lowest screen brightness setting is far too bright to use when at night with the lights off (intended to maximize environmentalist daily living habits). Thus from Lubuntu 14.04 I have to
1) start a terminal and type sudo su, 2) enter the password 3) “echo 1200 >/sys/class/backlight/intel_backlight/brightness” The screen is at the perfect level for my eyes. Naturally, the file /sys/class/backlight/intel_backlight/brightness is restricted. I first create the following files: Code:
/home/a/bin/dimmest.sh Code:
/home/a/.local/share/applications/dimmest.desktop: in above desktop, but to no avail. > I have used visudo to alter the file as: Code:
# Allow members of group sudo to execute any command Any ideas on how to do this in Lubuntu 14.04? Andrew |
[Solved] am/pm screen brightness shellscript completed!
In ~/bin I make the two shell scripts. First is dimmest.sh:
Code:
#!/bin/bash Code:
#!/bin/bash Code:
cd ~/bin Code:
while true With this solution you can now reduce your screen's brightness and then switch to a night colour so that you don't have to "burn the midnight oil" (turn on your lights at night time). This will facilitate conserving electricity, carrying out the acts of: 1) environmentalism and 2) reducing your electricity bills, as well as 3) health - will help you fall asleep earlier |
All times are GMT -5. The time now is 02:51 PM. |