Click to See Complete Forum and Search --> : Automatically starting gkrellm...


Baron Flambe
02-25-2001, 11:46 AM
I've recently discovered gkrellm :cool:, and it would be kind of cool if I could have it start automatically when I log in. I'm using enlightenment with Drake 7.2, and am logging in via kdm (run level 5) so adding a line to my .xinitrc won't do the trick. Does anyone have any suggestions?

Strike
02-25-2001, 02:39 PM
adding a line to your .Xsession should do it, IIRC

Baron Flambe
02-25-2001, 03:09 PM
It hasn't worked. I created a file called .Xsession in my home directory containing the line exec gkrellm. What have I done wrong? BTW, I also tried calling it .xsession and making it executable.

freaker
02-25-2001, 04:31 PM
how about trying the .xintrc file -

freaker :cool:

bdg1983
02-25-2001, 06:24 PM
if your using a login manager like gdm or kdm, then the file you need to use is:
.xsession
make sure this is in your home directory, and make sure the contents look something like this

#!/bin/sh

exec gkrellm # Starts gkrellm
exec otherpgrogram
exec startkde # Starts kde



ok. then save this file. now, make sure you chmod the file to 755. logout, and then login in again, and then this should work. the others were close but for one there is not capital on ~/.xsession

HTH

[ 25 February 2001: Message edited by: SlCKB0Y ]

snowgod
02-25-2001, 06:35 PM
yeah, you have to add it to the xinitrc file. just place:

exec gkrellm &
#or whatever else you want to start

also make sure that that line is before the xsession is started

Linuxcool
02-25-2001, 09:07 PM
I'm not too sure about this, but try right clicking on the border of gkrellm to get a drop down menu. Then select the menu item Remember and check the box to restart gkrellm when you start Enlightenment. One thing, the remember position checkbox option doesn't seem to work. You have to access the configuration program for gkrellm. Do that by right clicking inside the gkrellm window and select configuration. Next go to General/Options page and look for the position check box. I hope this helps.

bdg1983
02-26-2001, 12:29 AM
Originally posted by snowgod:
yeah, you have to add it to the xinitrc file. just place:

exec gkrellm &
#or whatever else you want to start

also make sure that that line is before the xsession is started

its not the .xinitrc file at all. that file isnt even used if someone is using a login manager

Penguin45
02-26-2001, 03:01 AM
Just wondering, could he have also used the Gnome configuration Tool? There's a setting there for Startup Programs. When he mentioned that he's using Enlightenment, I presumed that he was also running Gnome.

Baron Flambe
02-28-2001, 06:53 AM
Thankyou to everyone who posted here to help out. Linuxcool wins a biscuit for his suggestion which I hadn't thought of and which worked beautifully. Gkrellm starts by default without the window manager's border, but that got me thinking. If you start it with gkrellm -wm you get a border from which you can get to the remember option. Thanks again. :D