| Author |
Message |
olewilly

Joined: 16 Jan 2006 Posts: 235 Location: sonderborg, dk
|
Posted: Sat 15 Sep 2012, 14:17 Post subject:
Autostart gkrellm [SOLVED] |
|
Hi
Which file do I have to put in /usr/share/autostart to get gkrellm to start automaticly at boot
OW
_________________ Success is not more !
Success is better !
Last edited by olewilly on Sun 16 Sep 2012, 18:07; edited 3 times in total
|
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 3687 Location: Charleston S.C. USA
|
Posted: Sat 15 Sep 2012, 14:29 Post subject:
|
|
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.
_________________ I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
|
|
Back to top
|
|
 |
olewilly

Joined: 16 Jan 2006 Posts: 235 Location: sonderborg, dk
|
Posted: Sat 15 Sep 2012, 15:26 Post subject:
|
|
I can not find gkrellm executeable though it is running fine when started from the menu
OW
_________________ Success is not more !
Success is better !
|
|
Back to top
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 792 Location: the Western Reserve
|
Posted: Sat 15 Sep 2012, 15:32 Post subject:
Subject description: next question |
|
Hi OW
What's the Exec=* line in the /usr/share/applications/<gkrellm>.desktop file say?
|
|
Back to top
|
|
 |
olewilly

Joined: 16 Jan 2006 Posts: 235 Location: sonderborg, dk
|
Posted: Sat 15 Sep 2012, 15:42 Post subject:
|
|
`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
But though I put a link to that gkrellm still not start at boot
OW
_________________ Success is not more !
Success is better !
|
|
Back to top
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 792 Location: the Western Reserve
|
Posted: Sat 15 Sep 2012, 21:16 Post subject:
Subject description: timing is next |
|
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.
|
|
Back to top
|
|
 |
olewilly

Joined: 16 Jan 2006 Posts: 235 Location: sonderborg, dk
|
Posted: Sun 16 Sep 2012, 18:05 Post subject:
|
|
`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
_________________ Success is not more !
Success is better !
|
|
Back to top
|
|
 |
|