Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laysakura/thinkvol
A volume controler for X on ThinkPad T400s.
https://github.com/laysakura/thinkvol
Last synced: 17 days ago
JSON representation
A volume controler for X on ThinkPad T400s.
- Host: GitHub
- URL: https://github.com/laysakura/thinkvol
- Owner: laysakura
- Created: 2010-12-14T20:57:55.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2010-12-14T21:20:28.000Z (almost 14 years ago)
- Last Synced: 2024-04-15T12:50:14.496Z (7 months ago)
- Language: Python
- Homepage: http://www.laysakura.net/
- Size: 102 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
ThinkVolume
Sho NakataniDescription
This program is for users who Lenovo ThinkPad T400s, Linux.
If the volume buttons (mute/unmute, voldown, volup) are not enabled for some reasons
(e.g. your window manager doesn't support them), this will help you.Once you run this program, the volume buttons will correctly work.
Usage
Example in Ubuntu:
Install python-xlib
# apt-get install python-xlibMake a script named /usr/local/bin/thinkvol
#!/bin/bash
/usr/bin/python /path/to/this/directory/hook.py &
Now you can run 'thinkvol' command.Press the volume buttons and check if you can control volumes.
If you like, make 'thinkvol' run each time you login.
I, as an awesome WM user, wrote some code in ~/.config/awesome/rc.luaCaution
Never kill this program manually.
I know if you do that, your X Window System will down...
(Actually, this program doesn't free resouce on stop.)