Adjust your brightness via command line

David DEMELIER <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hello everyone,

I've got a laptop that cannot adjust brightness using functions keys
so I wrote a little program that use the acpi_video(4) driver and
sysctl(3).

The program adjust brightness using one arguments : up or down. Check
this example :

markand@Melon ~ $ brightness up
switching to 46
markand@Melon ~ $ sysctl hw.acpi.video.lcd0.brightness
hw.acpi.video.lcd0.brightness: 46
markand@Melon ~ $ brightness down
switching to 43
markand@Melon ~ $ sysctl hw.acpi.video.lcd0.brightness
hw.acpi.video.lcd0.brightness: 43

So if you canno't adjust brightness using function keys on your laptop
use this program with any bindkey in your window manager :

SHA256 (/www/var/srv/files/softs/brightness-0.1.tgz) =
0a44aeaedcd25f18eae3375d0b9d24bb994829b0af8b8304ecaffb6733ffbbab

http://files.malikania.fr/softs/brightness-0.1.tgz

Kind regards,

-- 
Demelier David
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.