I managed to resolve this and want to save it for anyone else
searching for the answer. I could not get tpb to work correctly from
my .xsession file. I tried it several ways, and ended adding it to
xfce4's autostart.

check out xfce4-autostart-editor to do this.

Thanks to everyone who gave me input into this problem.
Jer

--
Jeremy Chase, N1JER
http://weatherfinder.info


On Thu, Jun 4, 2009 at 1:50 PM, MERIGHI Marcus<mar...@.at> wrote:
> I'm in digest mode so please forgive if an answer was already given...
> (and that I had to fake the original message.)
>
> jeremych...@.com (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