Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1024145
  • 博文数量: 231
  • 博客积分: 10469
  • 博客等级: 上将
  • 技术积分: 2219
  • 用 户 组: 普通用户
  • 注册时间: 2005-10-20 10:26
文章分类

全部博文(231)

文章存档

2017年(1)

2013年(2)

2012年(5)

2011年(14)

2010年(3)

2009年(7)

2008年(11)

2007年(130)

2006年(57)

2005年(1)

我的朋友

分类: LINUX

2006-06-18 04:59:17

ibm thinkpad附带了一些windows下的软件,像音量调节、fn键的一些功能时会在屏幕上提示。下面这个软件能在linux实现这些。

软件说明:

TPB is a little program that enables you to use the IBM ThinkPad(tm) special keys.

With TPB it is possible to bind a program to the ThinkPad, Mail, Home and Search button. TPB can also run a callback program on each state change with the changed state and the new state as options. So it is possible to trigger several actions on different events. TPB has a on-screen display (OSD) to show volume, mute, brightness and some other informations. Furthermore TPB supports a software mixer, as the R series ThinkPads have no hardware mixer to change the volume.


机器配置: ibm thinkpad R50e
操作系统: fc3  kernel:2.6.9-1.667

所需rpm包:
   xosd-2.2.14-1.i386.rpm

   tpb-0.6.3-3.1.fc3.rf.i386.rpm

安装上面两个rpm包     

测试: tpb --osd=on --verbose --thinkpad="xterm -T ntpctl -e ntpctl"
成功的话,按音量按钮, 及调节屏幕亮度时会有提示
tpt -h 查看一些选项

tpb的配置文件一般在/etc/tpbrc,$HOME/.tpbrc中

开机自动运行:
/etc/X11/xinit/xinitrc.d 下建立tpd.sh

内容
 chmod 755 /dev/nvram %让普通用户也可使用
 /usr/bin/tpb -d

详细见该软件网站
------------------------------------------------------------------
在我的fc3下通过上面的设置,没有自动运行,可以试试下面的方法:
将tpb.sh中都注释掉,
然后 application--peference-more preferences--sesions--start program添加

/usr/bin/tpb -d
注销即可

阅读(3735) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-10-22 22:13:55

Unable to open device /dev/misc/nvram: 没有那个文件或目录?????安装后运行了显示.在debian下