You are not logged in.
Pages: 1
i can change brightness with fn + left and right arrows, but step is too high. monitor of this laptop is too bright, and i need to set low level. now i have it at 10. less is only 0, which is too dark. so, i looked at settings, is not there a better brightness configuration, and have not found it at all.
cannot i set brightness with other things, maybe with x settings?
debian 10, Package: xfce4-settings Version: 4.12.4-1
Offline
You can use the script and run it with the panel launcher.
Pops the scale dialog at mouse pointer.
Clicking outside the dialog or pressing Escape closes the dialog.
Scale changes with mouse drag, mouse scroll or keyboard left and right keys.
Requires yad and xrandr
#!/bin/sh
# save this as a file and make executable
# detect monitor
MON=$(xrandr -q | grep " connected" | cut -f1 -d ' ')
# find current xrandr brightness value
XR=$(xrandr --verbose | grep -i brightness | cut -f2 -d ' ' | head -n1)
BrCur=`awk "BEGIN {print $XR*100}"` # calculate, so e.g. 0.5 gets 50
BrMax="100"
# Set scale minimum here
BrMin="5"
# Set step here for keyboard left/right and mouse scroll
Step="5"
# yad scale dialog
yad --scale --step $Step --mouse --skip-taskbar --min-value $BrMin --max-value $BrMax \
--value $BrCur --print-partial --undecorated --width 300 \
--on-top --escape-ok --no-buttons --hide-value --close-on-unfocus \
| while read BrNew; do
# division using awk, so xrandr value gets e.g. 0.5 rather than 50
xrandr --output $MON --brightness $(awk "BEGIN {print $BrNew/100}")
done
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
i have found brightness gui in "power manager plugin" panel applet. and it has little steps of tuning.
Offline
Misko, can you declare an open source license for your script so it would be easier to package?
Offline
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 523.88 KiB (Peak: 530.2 KiB) ]