Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

ThinkVolume
Sho Nakatani

Description
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-xlib

Make 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.lua

Caution
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.)