A lot of people say that Thinkpad Buttons prevents the CPU from saving power and shouldn't be used but it is the only solution for Thinkpads I know that shows OSD for volume keys. hotkey-setup that came with Ubuntu Jaunty can't even intercept those keys. Is there a better alternative, that is good enough with CPU sleeping states and can show OSD?
Asked
Active
Viewed 1,020 times
1
-
What do you mean with tpb? What is it short for? – Johan Sep 07 '09 at 10:19
-
1It's short for "ThinkPad Buttons". It's one of the tools under Linux that can make Thinkpad special buttons work. The only one if you need OSD though. – vava Sep 07 '09 at 10:58
-
ok, never heard of it. – Johan Sep 07 '09 at 11:53
-
When you say OSD, do mean getting visual feedback when you volume up / down? I have jaunty installed on a t40 and a t61p and I get this behavior by default. – DaveParillo Sep 17 '09 at 14:32
-
Hm, I don't, there's no OSD at all. – vava Sep 18 '09 at 01:39
-
Also - use xev to watch any key & button presses and mouse events. It should already be installed on your machine. – DaveParillo Oct 24 '09 at 19:20
2 Answers
2
The modern equivalent is the HAL daemon, hald. When hald is running you can:
- Get or Set properites
- Find device objects by property matching or by capability matching
- List all the hal devices
Try:
lshal | grep input
or
hal-find-by-capability --capability input | xargs -n1 lshal -u
for a list of all the input devices & buttons known to hald
Update I'm using Gnome. If you're running KDE, you can try kcontrol. Refer to this HowTo - it's a bit dated. kcontrol is kde3, systemsettings in kde4. I think the nvram group setting are still applicable.
sleske
- 22,652
- 10
- 69
- 93
DaveParillo
- 14,505
- 1
- 39
- 46
-
-
I'm currently running Ubuntu 9.04 on a T61p, my volume keys work and there is associated partially translucent OSD when adjusting the volume. Maybe I don't get you're question really. I haven't installed anything special to make this happen. – DaveParillo Oct 24 '09 at 16:19
-
My OSD looks like this: http://sites.google.com/site/daveparillo/downloads/superuser/volume-osd.png?attredirects=0 – DaveParillo Oct 24 '09 at 16:47
-
@DaveParillo, hm, no, I don't have any visual confirmation when I use volume button or any other special kind of button for that matter. I hope that upgrade to 9.10 will cure the problem then. – vava Oct 25 '09 at 08:07
-
0
I don't have a ThinkPad to try these on, but googling for "thinkpad buttons linux" gave me these two promising links:
1. http://www.thinkwiki.org/wiki/How_to_get_special_keys_to_work
2. http://www.thinkwiki.org/wiki/ThinkPad_Button
warren
- 9,920
- 23
- 86
- 147