The brightness for your display is controlled by the Sun...I kid you not.
There's
a post about this and the little lightbulb icon in the lower right corner.
Additionally, there is a little script I think should also be integrated
Code:
#!/bin/sh
activeOutput=$(xrandr | grep -e " connected [^(]" | sed -e "s/\([A-Z0-9]\+\) connected.*/\1/")
alpha=`zenity --scale --text "Brightness" --min-value=10 --max-value=100 --value=50`
alpha=`echo $alpha / 100 | bc -l`
`xrandr --output $activeOutput --brightness $alpha`
The trouble is integrating it into the pre-existing
automagic configuration.
For funzies,
Code:
mkdir ~/bin
Code:
medit ~/bin/brightness-level
Paste in the code above...save, exit, and then then
Code:
chmod +x ~/bin/brightness-level
to make it executable.
It can be called up from the terminal after the command prompt
Code:
brightness-level
A window pops up, and you can adjust your backlight (at least on this machine that I use) from full to "bright enough to see on a moonless overcast night, but not so bright it really screws up your nightvision"...I mean--it's almost off.
There are a number of problems, aside from the initial trauma of setting it up,
- how to make it work in most every situation (computer), or not make the situation worse if it doesn't work on every computer
- work automatically, or in union with the automagic system currently in place.
A menu entry is plus because if I want to tweak, sometimes it's just as easy to point and click.
Similar, or unique in mostly only in name, is a 'desktop' file, essentially a 'shortcut' for 'Desktop' shortcuts, or 'Menu' shortcuts (same file, different location) . This is the 'same' desktop file in the brimmer project.
Code:
medit ~/.local/share/applications/brightness-level
Code:
[Desktop Entry]
Name=Brightness Level
Comment=Change backlight setting on LCDs
Exec= ./bin/brightness-level
Icon=preferences-desktop-theme.png
Terminal=false
Type=Application
Categories=Settings;
Save, exit, and test. Place a copy on your Desktop for a "desktop" shortcut.
Money, time and monkeys