I'm in digest mode so please forgive if an answer was already given...
(and that I had to fake the original message.)

[email protected] (Jeremy Chase), 2009.06.03 (Wed) 16:56 (CEST):
> tpb works just fine on my IBM t42p, but I am having difficulty getting
> it to start automatically. I am using xdm and xfce and have tried
> starting it from .xsession and rc.local. When putting it in rc.local,
> but tpb just exits if there is no X session it can attach to.
>
> If I try this with .xsession; tpb will run as a daemon, but the

and as user root. 

> buttons don't work.
> $ cat .xsession
> /usr/local/bin/tpb -d --thinkpad=/usr/sbin/zzz
> exec startxfce4

I put this in my ~/.fvwmrc:

<snip>
AddToFunc InitFunction
+ "I" Exec exec tpb --daemon | logger -t tpb 2>&1
</snip>

<snip>
AddToFunc RestartFunction
+ "I" Exec exec tpb --daemon | logger -t tpb 2>&1
</snip>

<snip>
AddToFunc ExitFunction
+ "I" Exec exec pkill tpb > /dev/null 2>&1
</snip>

works for quite a while already, very seldomly tpb ignores the buttons,
but restarting it helps. 

I have no idea on how this is done in xfce4, sorry.

Bye, 

Max

Reply via email to