Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 13:29
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Autostart gkrellm [SOLVED]
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
olewilly


Joined: 16 Jan 2006
Posts: 236
Location: sonderborg, dk

PostPosted: 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 Question

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
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 4628
Location: Charleston S.C. USA

PostPosted: 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.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
olewilly


Joined: 16 Jan 2006
Posts: 236
Location: sonderborg, dk

PostPosted: Sat 15 Sep 2012, 15:26    Post subject:  

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

OW Smile

_________________
Success is not more !
Success is better !
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Sat 15 Sep 2012, 15:32    Post subject:
Subject description: next question
 

Hi OW Smile

What's the Exec=* line in the /usr/share/applications/<gkrellm>.desktop file say?
Back to top
View user's profile Send private message 
olewilly


Joined: 16 Jan 2006
Posts: 236
Location: sonderborg, dk

PostPosted: 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 Very Happy

But though I put a link to that gkrellm still not start at boot Exclamation Question

OW

_________________
Success is not more !
Success is better !
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: 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
View user's profile Send private message 
olewilly


Joined: 16 Jan 2006
Posts: 236
Location: sonderborg, dk

PostPosted: 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 Very Happy

_________________
Success is not more !
Success is better !
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0790s ][ Queries: 12 (0.0367s) ][ GZIP on ]