LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   getting stuff to start up on user login (https://www.linuxquestions.org/questions/linux-software-2/getting-stuff-to-start-up-on-user-login-55117/)

Calum 04-15-2003 06:54 AM

getting stuff to start up on user login
 
hello, i use xfce, and kdm. when i login, kdm starts xfce. now i started also using dfm, which runs on top of xfce and gives it all sorts of extra functionality (you can see it all happening here) but the thing is that xfce does not appear to have any actual scripts which it runs upon being started by kdm. now i want dfm to run every time i start xfce, but if i log in using another desktop environment such as kde, i do not want dfm to start. how would i get a script to only start dfm if xfce is running, and optionally i'd like it to be configurable so it would be able to start when fvwm or blackbox or windowmaker start also, but definitely not when gnome or kde start.

it sounds like a few simple lines, but i am not sure how to get it to check what desktop environment is running.

any hints?
thanks.

irish_rover 04-15-2003 07:29 AM

I don't use kdm, but I'm assuming there is a folder like /etc/X11/kdm or something similar where you will find scripts that start each window manager/desktop. If you find the xfce or startxfce file and add the line 'dfm &' before the 'exec startxfce' it should start up just fine.

Calum 04-15-2003 07:44 AM

now you mention it i think it's called startxfce, thanks for that!


All times are GMT -5. The time now is 08:37 AM.