Potresti anche eseguire
curl https://raw.githubusercontent.com/serverhorror/brightness/master/brightness.c>brightness.c;gcc -std=c99 -o /usr/local/bin/brightness brightness.c -framework IOKit -framework ApplicationServices
e quindi aggiungere
* * * * * /usr/local/bin/brightness -v 0.5
a crontab per ripristinare la luminosità al 50% ogni minuto.
Puoi disattivare i tasti di luminosità con KeyRemap4MacBook :
<?xml version="1.0"?>
<root>
<item>
<name>custom</name>
<identifier>custom</identifier>
<autogen>__KeyToKey__ KeyCode::BRIGHTNESS_DOWN, KeyCode::VK_NONE</autogen>
<autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, KeyCode::VK_NONE</autogen>
</item>
</root>