Autostart gkrellm [SOLVED]

Booting, installing, newbie
Post Reply
Message
Author
User avatar
olewilly
Posts: 287
Joined: Mon 16 Jan 2006, 19:13
Location: sonderborg, dk

Autostart gkrellm [SOLVED]

#1 Post by olewilly »

Hi

Which file do I have to put in /usr/share/autostart to get gkrellm to start automaticly at boot :?:

OW
Last edited by olewilly on Sun 16 Sep 2012, 22:07, edited 3 times in total.
Success is not more !
Success is better !

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

For Puppy put a symlink to program in the /root/Startup directory.

From readme file in /root/Startup:
Any executable or scripts (or symlink to) placed in this directory
will be executed after the X desktop has loaded.

This is handy if you want something to run automatically.

You can easily create a "symlink" (symbolic link) to an executable.
For example, say that you wanted to run /usr/local/bin/rubix (a game)
everytime Puppy is started. Use ROX-Filer (the file manager) and open
two windows, one on /usr/local/bin, the other on /root/Startup.
Then just drag 'rubix' across and a menu will popup and ask if you want
to copy, move or link, and you choose to link.

Note, if you want to execute something at bootup and prior to X desktop
loading, edit /etc/rc.d/rc.local.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
olewilly
Posts: 287
Joined: Mon 16 Jan 2006, 19:13
Location: sonderborg, dk

#3 Post by olewilly »

I can not find gkrellm executeable though it is running fine when started from the menu :?:

OW :)
Success is not more !
Success is better !

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#4 Post by `f00 »

Hi OW :)

What's the Exec=* line in the /usr/share/applications/<gkrellm>.desktop file say?

User avatar
olewilly
Posts: 287
Joined: Mon 16 Jan 2006, 19:13
Location: sonderborg, dk

#5 Post by olewilly »

`f00

Name=GKrellM System Monitor
Comment=Monitor for CPU, memory, disks, network, mail
Exec=gkrellm
Icon=gkrellm
Terminal=false
Type=Application
Categories=System;

Tnx a lot! Found it :D

But though I put a link to that gkrellm still not start at boot :!: :?:

OW
Success is not more !
Success is better !

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#6 Post by `f00 »

If the link is in /root/Startup, it should be okay - simple test is to click on it in a rox window (if it's not up already) and see if it comes up. Check the properties and so on.

By "at boot" I take your meaning as when the usual X desktop starts with the window manager loading and there's a pinboard or something that gkrellm can sit on (pretty sure it's actually a borderless window like conky or wbar). This is where timing comes in, although gkrellm shouldn't be faster than whatever sets the background (normally). Occasionally I need to put a delay in if the desktop is a bit slow to load or something else is getting in the way.

Does gkrellm do your mail notification and other things that may require an online connection to be established? If the link in ~/Startup doesn't run to your satisfaction, maybe a simple script there would be better. That way you can put a delay in and see if it helps - something like:

sleep 10; exec gkrellm &

Test the line in a console or runbox like gexec - sometimes it varies as to whether the & is needed and finally re-X to see if you got it right. Haven't used gkrellm in a while, so you might want to go over the man for details on options and so forth. Another tip - check the exec flags in properties of anything in /root/Startup, if the tickboxes are ticked it's live (if unticked, it's dead). Rox shows live stuff as greenish text, dead as black.

If you don't have it already, I'd also recommend htop (system processes viewer/manager). Once you get used to it you'll wonder how you ever got along without it.

User avatar
olewilly
Posts: 287
Joined: Mon 16 Jan 2006, 19:13
Location: sonderborg, dk

#7 Post by olewilly »

`f00

Tnx a lot for helping. I made a script with geany with sleep 5 and exec gkrellm
and now it starts even b4 pwidgets.

OW :D
Success is not more !
Success is better !

Post Reply