Click to See Complete Forum and Search --> : Starting apps automatically


cage47
01-30-2002, 10:30 PM
OK here's an easy one. How do I get gkrellm (which I just installed and is quite :cool:
) how do I get it to start automatically in KDE 2. In IceWM I think it's just a matter of editing the icewm.pref file or something. I can find that. But kde I'm not sure. And for that matter, how to have any program start on startup.

scanez
01-30-2002, 10:59 PM
Instead of doing it through the KDE config, you could also add

gkrellm &

as the first line in ~/.xinitrc

ScRapZ_1
01-31-2002, 05:34 AM
Woah... wierd, I was about to post the same thing! Excpet for Gnome. Gkrellm is quite :cool: indeed. So how would one go about it in Gnome? (Theres no ~/.xinitrc, not that I can find)

TTFN,
ScRapZ_1 :p

cage47
01-31-2002, 11:22 AM
Also, xinitd is super user. I don't want it started default. I only want it started for certain users in certain desktops. There isn't an xinetd in my user dir either in Mandrake 8.0

scanez
01-31-2002, 12:53 PM
No no, .xinitrc has nothing to do with xinetd or whatever you were thinking. It's just a start up file for x. Create one in your home directory and add the following

gkrellm &
exec startkde

and for GNOME

gkrellm &
exec gnome-session

Those should work...let us know if they do or not :)

cage47
01-31-2002, 01:20 PM
AAAHHHHHHH
(Light shines on marble head!)

slapNUT
01-31-2002, 02:10 PM
To have any program start on bootup put it in /etc/rc.d/rc.local.

To make a file start only when you login put it in ~/.bash_profile

To make a program run when you start KDE you have this folder ~/.kde/Autostart.
Make a symlink to any file you want to start automatically in that folder and it will start when KDE starts.

ScRapZ_1
01-31-2002, 09:42 PM
Bah... none of that worked for me in Gnome, any ideas?

TTFN,
ScRapZ_1 :p

scanez
01-31-2002, 10:02 PM
Originally posted by ScRapZ_1:
<STRONG>Bah... none of that worked for me in Gnome, any ideas?

TTFN,
ScRapZ_1 :p</STRONG>
The .xinitrc thing didn't work??!?! :(

Anyway, I'm pretty damn sure that you can add apps to start on GNOME startup in the control center...don't remember quite where but look around, I'm really pretty sure it's there :)

ScRapZ_1
01-31-2002, 10:12 PM
Oh, DER!!! :rolleyes:

God dammit... that was pretty obvious wasnt it? I cant test it out now, I'm compiling something... but I tell you how it goes...

TTFN,
ScRapZ_1 :p

ScRapZ_1
01-31-2002, 10:22 PM
Ok... what am I doing wrong here? It not working no matter which way I do it... starting to piss me off! is is spelt g-k-r-e-l-l-m isnt it? I can run it quite well in a console, WHAT AM I DOING WRONG??? Waaaaaaaaaaa....

scanez
01-31-2002, 10:35 PM
Just a thought, run

which gkrellm or whereis gkrellm

Does it show up as being in your path?

ScRapZ_1
02-01-2002, 12:41 AM
It comes up as being in /usr/bin/gkrellm

...I wouldnt bother anymore, I can just do it manually...

TTFN,
ScRapZ_1 :p