On Fri, 2004-11-26 at 07:27, [EMAIL PROTECTED] wrote: > Hi there! > > I want to use a script, which runs when I log into my X - server. I > tried .bash_profile, but that did not seem to work for me... > Is there a script, which is triggered at this point? I use icewm with > kdm, if that helps.
If you select the "default" option in kdm to start X you would have to add the script to your ~/.xinitrc. (See man xinit and man startx.) Just make sure to background the script (i.e. script &) and put it before the 'exec icewm' line or your WM will wait for the script to finish or the script will be run AFTER your x-session. Usefull HOWTO's are the XWindow System Architecture Overview HOWTO and the XWindow-User HOWTO. HTH Bram -- # Mertens Bram "M8ram" <[EMAIL PROTECTED]> Linux User #349737 # # SuSE Linux 8.2 (i586) kernel 2.4.20-4GB i686 512MB RAM # # 8:12am up 12 days 22:55, 9 users, load average: 0.27, 0.18, 0.06 # -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

