[ltp] IBM T42, Access IBM button

Luis Marqueta linux-thinkpad@linux-thinkpad.org
Sat, 07 May 2005 18:43:01 +0200


On Fri, 2005-05-06 at 18:00 -0500, Alejandro Bonilla wrote:
> ben wrote:
> 
> >Have you tried tpb?
> >
> >  
> >
> 
> Thanks, I just did. This is awesome. I'm now figuring out how to make 
> this work on boot.
> 
> maybe a script...
> 
> >http://freshmeat.net/projects/tpb/
> >
> >--
> >Ben Pearre          http://hebb.mit.edu/~ben       PGP: CFDA6CDA
> >         Free music at http://hebb.mit.edu/FreeMusic
> >Don't let Bush read your email!             http://www.gnupg.org
> >  
> >
> 
I am running Debian. This script starts tpb: /etc/X11/Xsession.d/90tpb

TPB=/usr/bin/tpb
CONFIG=/etc/default/tpb

if [ -e $CONFIG ]; then
  . $CONFIG
fi

if [ -x $TPB -a "$START_TPB" = true ]; then
  $TPB -d
fi

Configuration file for tpb is /etc/tpbrc. I chose to run gnome-terminal
when pressing the "Access IBM" button, so I added this line
to /etc/tpbrc:

THINKPAD    /usr/bin/gnome-terminal

Good luck
-- 
Luis Marqueta <luis.marqueta@telefonica.net>