rpmbuild --rebuild acdcontrol-0.3-1.cru.src.rpm
acdcontrol
in
the current directory.
Alternatively, you can download source RPM file and issue
rpmbuild --rebuild acdcontrol-<version>.src.rpm
if you use an RPM-based system.
./acdcontrol [--silent|-s] [--brief|-b] [--help|-h] [--about|-a]
[--detect|-d] [--list-all|-l]
<hid device(s)> [<brightness>]
/dev/usb/hiddevX
or
/dev/hiddevX
.
--
before the negative value!) acdcontrol
acdcontrol --help
acdcontrol --detect /dev/hiddev*
acdcontrol /dev/hiddev0
acdcontrol /dev/hiddev0 160
acdcontrol /dev/hiddev0 +10
acdcontrol /dev/hiddev0 -- -10
--
!nb
for normal brightness (160), hb
for high
brightness (255) and lb
for low brightness (0).
I've also created keyboard shortcuts in KDE (if you use a different DE,
you can surely do it in your way) as <Win>+F12 for
hight brightness, <Win>+F11 and <Win>+F10
for normal and low brightness, accordingly. I've also created shortcut
<Win>+F9 to launch sleep 3; xset dpms force off
and by this turn off monitor (I actually have 2; it turns off both)
If you use KDE, I think, acdcontrol can integrate into klcddimmer
applet.
Note: Enable DPMS in your X configuration file (xorg or XFree86) before using xset ... as otherwise you'll just have display blank but not off!