Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
I like playing tf2.
I play every video game with max brightness on the lappy.
The problem is that when I alt tab back to anything else, eg chrome, I get dazzled and my eyes hurt.
I'm on linux and accidentally noticed that I can connect to the X server and do stuff.
So I'm listening for events with the PropertyChangeMask, and when the active window has the name "Team Fortress 2 - OpenGL", I run "light -S 100", otherwise I use what I already had.
Very happy with this hack, instant brightness changes on alt tab.
random
x11
hack
tf2
brightness