Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremija/thinklight
A linux CLI utility written in C which enables the use of Thinkpad Light for blinking notifications on Lenovo/IBM laptops. It has been tested on Lenovo/IBM T60p with Ubuntu 12.04 x64.
https://github.com/jeremija/thinklight
Last synced: 9 days ago
JSON representation
A linux CLI utility written in C which enables the use of Thinkpad Light for blinking notifications on Lenovo/IBM laptops. It has been tested on Lenovo/IBM T60p with Ubuntu 12.04 x64.
- Host: GitHub
- URL: https://github.com/jeremija/thinklight
- Owner: jeremija
- Created: 2012-08-30T21:08:34.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-04T19:48:27.000Z (about 12 years ago)
- Last Synced: 2024-04-14T19:48:37.544Z (7 months ago)
- Language: C
- Homepage:
- Size: 102 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
THINKLIGHT
----------Thinklight is an utility which enables the use of Thinkpad Light for blinking notifications on Lenovo/IBM laptops. It has been tested on Lenovo/IBM T60p.
You need root privileges to use this utility. It is best to add an entry at the end of the `/etc/sudoers` file, like this:
your-username ALL=NOPASSWD: /usr/local/bin/thinklight
and replace your-username with your real username.
You can then call the utility by running `sudo thinklight`.
HOW TO BUILD
------------1) make
2) sudo make install (this is not yet implemented, you will have to manually copy the thinklight binary to `/usr/local/bin/` folder)HOW TO STOP THE BLINKING LIGHT
------------------------------You can use CTRL+C or run the `sudo thinklight -q` which will check if there is a running thinklight process and kill it. Only one thinklight process can be run at the same time.
You can map any hotkey to disable the blinking, but if you're only using tty, you can map the ThinkVantage key to `sudo thinklight -q` command. Here is how it's done on Ubuntu:
Add the following two lines to the `/etc/acpi/events/thinkvantage` file
event=ibm/hotkey HKEY 00000080 00001018
action=/usr/local/bin/thinklight -qand run `sudo service acpi restart`.