Warning: Declaration of action_plugin_indexmenu::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/auth.php on line 495 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/actions.php on line 210
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinklight-blink-on-hexchat-irc-message [2015/06/23 21:17] komsat created |
thinklight-blink-on-hexchat-irc-message [2015/06/23 21:43] (current) komsat |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| NOTE: | NOTE: | ||
| - | * Works only if the file ''/sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness'' has write access for all users. | ||
| * change NICK in the code to your IRC nick. Doesn't work with multiple/different nicks. | * change NICK in the code to your IRC nick. Doesn't work with multiple/different nicks. | ||
| + | * Works only if the file ''/sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness'' has write access for all users. | ||
| + | |||
| + | -> Put the following line in ''/etc/init.d/rc.local'': <code>chmod a+w /sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness</code> | ||
| + | |||
| Save script as ''~/.config/hexchat/addons/thinkblink.py'' to make it auto-loaded. | Save script as ''~/.config/hexchat/addons/thinkblink.py'' to make it auto-loaded. | ||
| + | |||
| + | Thinklight documentation at http://www.thinkwiki.org/wiki/ThinkLight | ||
| <code> | <code> | ||