light - GNU/Linux application to control backlights

Forum rules
General talk about software - if the program is not in the repos, please links to the developer's page or github.
User avatar
elixir
Weight Watcher
Posts: 357
Joined: Fri Feb 21, 2014 8:25 am

light - GNU/Linux application to control backlights

Unread post by elixir » Tue Feb 03, 2015 7:19 pm

light is a super lightweight application that allows you to control your screen brightness. Changing your brightness is as simple as:

Code: Select all

light -S 30
Also, just type the command

Code: Select all

light
to see what your current brightness is at.


Here is the github for it: https://github.com/haikarainen/light

The creators also zipped light as a .deb file which can be found on the github page.

Arguments:
-G: Which reads/gets brightness/data from controllers/files
-S: Which writes/sets brightness/data to controllers/files
-A: Which does like -S but instead adds the value
-U: Which does like -S but instead 'subtracts the value
-O: Save the current brightness for later use (usually used on shutdown)
-I: Restore the previously saved brightness (usually used on boot)
-L: List the available controllers
Out of the corner of your eye you spot him... Shia LaBeouf.

https://www.youtube.com/watch?v=o0u4M6vppCI

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: light - GNU/Linux application to control backlights

Unread post by rhowaldt » Tue Feb 03, 2015 10:22 pm

dependencies or it didnt happen ;)

looks very cool eli! thanks :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: light - GNU/Linux application to control backlights

Unread post by Dr_Chroot » Wed Feb 04, 2015 12:09 am

^ I pulled in no deps, just cloned the repo and it worked splendidly.

Thanks elixir! I haven't thought of trying something to control the backlight, as I usually work on my ThinkPad in the same environment/lighting. It works wonders, though. I didn't realize how dark it really was :D
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: light - GNU/Linux application to control backlights

Unread post by stark » Thu Feb 05, 2015 8:58 am

Very Nice! Thanks for sharing elixir :)
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

Post Reply