LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Application Starts Automatically (https://www.linuxquestions.org/questions/linux-newbie-8/application-starts-automatically-406394/)

jadurant 01-21-2006 11:09 PM

Application Starts Automatically
 
I am running SUSE 10.0 with KDE 3.4.2 level b. Some time ago I installed an application, JuK. Since then JuK runs whenever KDE starts up. There is no .xinitrc in my home directory, .kderc has no references to applications.

I would like to get rid of JuK and replace with something I would use every time I log in. How would I go about doing this?

Thanks,
John

Tinkster 01-21-2006 11:48 PM

There's ~/.kde/Autostart ... and if JuK happens to be running
as an applet while you're logging out and you save sessions on
exit that will fire it up every time you login, too.


Cheers,
Tink

jadurant 01-22-2006 12:26 AM

Thanks Tink. I killed the JuK process. When I logged back in no more Juk. Is there an equivalent to a startup folder for Linux or KDE? My Autostart folder is empty.

John

ethics 01-22-2006 01:45 AM

That autostart folder is the startup folder :) so it-s ~/.kde/Autostart/

You need to create a script in there and KDE will run that script at startup so:

use your favourite text editor.

(assuming you are using bash)

#!/path(usually bin)/bash
<command_to_run_at_startup>

save that and then you need to make the file executable with chmod 755 <file> or similar permissions

jadurant 01-22-2006 03:51 PM

Tnx for the help ethics. As an old, and I mean old, unix guy I remember using sh regardless of what shell was being used. The logic was sh would always be avialable no matter what the user's environment. Has this convention gone away in linux?:scratch:

DanTaylor 01-22-2006 04:12 PM

I was kind of wondering that too- thanks for saving me the trouble of making a thread:)


All times are GMT -5. The time now is 11:47 AM.