Howto enable thinkpad hotkeys in Ubuntu 10
Posted Under: General
This tutorial shows how to fix thinkpad hotkeys not working in Ubuntu (can’t change screen brightness, the volume, or the power scheme).
Here is a package called tpb can easily fix this problem.Just install this in your Ubuntu and make it auto-run at log-in.
Open up a terminal window from Applications->Accessories menu and run:
sudo aptitude install tpb
After the installation,you will get Loading nvram module problem,which can be fixed by this way:
edit /etc/init.d/tpb by command:
gksudo gedit /etc/init.d/tpb
make its content looks like this:
#!/bin/sh
#
test -f /lib/lsb/init-functions || exit 1
. /lib/lsb/init-functions
case “$1″ in
start)
/sbin/lsmod | /bin/grep nvram > /dev/null
if [ $? != 0 ]
then
log_begin_msg “Loading nvram module”
modprobe nvram
chown %username /dev/nvram
log_end_msg 0
fi
tpb -d
;;
stop)
;;
restart|force-reload)
;;
*)
echo “Usage: tpb {start|stop|restart|force-reload}” >&2
exit 1
;;
esac
exit 0
Note:Just add the red line into original /etc/init.d/tpb file,where change “%username” into the user-name you currently log-in.
Now,reboot and try those thinkpad hotkeys.
Related posts:
- Howto Fix ureadahead problem after upgrading to Ubuntu 10.04
- All manner of Shut down modes in Ubuntu Linux
- Enable Number pad NumLock at startup in Ubuntu Login Window
- Install and Enable Telnet server in Ubuntu Linux
- Reload Ubuntu Gnome or KDE Panels without Restart Computer
