LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   autostart (https://www.linuxquestions.org/questions/mandriva-30/autostart-196993/)

noobtesting 06-23-2004 07:47 PM

autostart
 
I was wondering if there was a way to get a program to load with the X server or to load when KDE loads so that it is running automatically when I turn the compter on, is this possible and if so how can it be done thanks.

estatik 06-23-2004 09:23 PM

What prog are you wanting to have start up?

You can make a symlink of a prog and place it at ~/.kde/Autostart. For example, if you want gkrellm to start when you log in to KDE,:
Code:

$ ln -s /usr/bin/gkrellm /home/your_user_name/.kde/Autostart

noobtesting 06-23-2004 09:34 PM

That worked great thanks for the help. I had installed kooldock from www.kde-look.org and it had mentioned something about running it in console so it ran all the time but then never gave any instructions.

Thanks again.

rrowsome 07-04-2004 11:45 AM

What about options?
 
What if I want to start a program that requires command line options, i.e.,

xmodmap -e "pointer = 1 2 3 6 7 4 5"

Could I just write a shell script and place it in ~/.kde/Autostart, or does it have to be a symlink?

Thanks


All times are GMT -5. The time now is 03:06 AM.