Thinkpad buttons for SuSE9.1Pro
Hi,
I am using SuSE9.1Pro on my Thinkpad G40. I installed thinkpad related utils like tpb, configure-thinkpad,tpctl ..etc which comes with SuSE9.1Pro DVD. But how to configure tpb. If i run the command tpb --osd=on --thinkpad="/usr/bin/X11/xterm -T ntpctl -e ntpctl" on terminal all my Thinkpad buttons including AccessIBM button are working. I want to automate this process. How to configure tpb to start automatically. thanks/Naren |
Just put your
Code:
tpb --osd=on --thinkpad="/usr/bin/X11/xterm -T ntpctl -e ntpctl" ~/.kde/Autostart (assuming that you stuck with SuSE's default, KDE). Cheers, Tink |
if i have 5 user accounts i have to put this in 5 different places ..am i right ???
I am using WindowMaker or fluxbox most of the times. So i need to do this in startup script. |
That's correct ... if it wasn't for the OSD bit you
could just stick it in the rc.local ... but since OSD is X session specific you'll have to (depending on how you start X/login in every users ~/.xsession ~/.xinitrc file ... (or at least a call to a shared location). Cheers, Tink |
Hi,
i found something similar to what i want, but it is for Debian, -----------------------configuring tpb on Debian system----------------- hansolo:/etc/init.d# wget -q http://www.hardeman.nu/~david/thinkpad/tpb.rc hansolo:/etc/init.d# mv tpb.rc tpb hansolo:/etc/init.d# chmod 0755 tpb hansolo:/etc/init.d# echo "MIXER ON" > /etc/tpbrc hansolo:/etc/init.d# echo "OSDSHADOW 0" >> /etc/tpbrc hansolo:/etc/init.d# echo "OSDALIGN center" >> /etc/tpbrc hansolo:/etc/init.d# echo "FORWARD /usr/bin/setmixer pcm +10" >> /etc/tpbrc hansolo:/etc/init.d# echo "BACKWARD /usr/bin/setmixer pcm -10" >> /etc/tpbrc hansolo:/etc/init.d# update-rc.d tpb defaults 99 Adding system startup for /etc/init.d/tpb ... /etc/rc0.d/K99tpb -> ../init.d/tpb /etc/rc1.d/K99tpb -> ../init.d/tpb /etc/rc6.d/K99tpb -> ../init.d/tpb /etc/rc2.d/S99tpb -> ../init.d/tpb /etc/rc3.d/S99tpb -> ../init.d/tpb /etc/rc4.d/S99tpb -> ../init.d/tpb /etc/rc5.d/S99tpb -> ../init.d/tpb ------------------end of conf----------------------------------------------------------- i found this info at http://www.hardeman.nu/~david/thinkpad But this is not working for SuSE , there is no update-rc.d command.. Please help me how to do the same thing for SuSE. Regards/Naren |
All times are GMT -5. The time now is 03:48 PM. |