[ltp] Where to start tpb

Stefan linux-thinkpad@linux-thinkpad.org
Mon, 15 Nov 2004 17:33:52 +0100


Thank you very much for your help.

>> Where should i start a program like tpb (ThinkPad Buttons). Should I
>> configure it with a script in the /etc/init.d and run it at runlevel 5?
>> Doesn't seem to work here. :-(
>
> Look for a folder /etc/X11/xinit/xinitrc.d . If it exists in SuSE it's a
> great place to put a startup script for tpb (note that scripts in this
> folder are usually not supposed to take parameters).
>
> Scripts in this folder are executed (if so) by the xsession script.
> Hence they are running as the user who is running the X server.
well, it doesnt work the way i want it to work.
my user "steve" cant use the buttons. (no programms pop up on his desktop"
  if i run the script by hand from there as steve it works.

so i think i want that script it to be run by the user who is logging in,  
ey?

> Hence they are running as the user who is running the X server.
How can i know who that is?

Thankyou,
Stefan