(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 02 Dec 2020, 15:00
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Autorun an application on startup
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
spluthier

Joined: 29 May 2008
Posts: 10

PostPosted: Sat 31 May 2008, 14:58    Post subject:  Autorun an application on startup  

Hi everyone,

I'm trying to put together a digital photo frame using puppy linux. I'd like to be able to automatically run GQview at startup. I used google and found the following code:

Quote:
gqview -s -f /path/to/folder/with/images


This should allow me to start GQview in full-screen mode with the slideshow option. My question is, what do I have to do with this code, so it will automatically do this on startup?

As an aside, does anyone know how I can setup a timer so that puppy linux will shut down at a certain specified time? For example, I (manually turn the unit on) and then have the slideshow run until 8pm, at which point the laptop would automatically shutdown.

Thanks!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 7024
Location: Auckland, New Zealand

PostPosted: Sat 31 May 2008, 18:41    Post subject:  

I think in Puppy 4 you just need to put that in a script in /root/startup

Otherwise you can put this in your jwm config file

Code:
   <StartupCommand>
   gqview -s -f /path/to/folder/with/images
   </StartupCommand>


Quote:
As an aside, does anyone know how I can setup a timer so that puppy linux will shut down at a certain specified time?

Use pschedule to run the shutdown script at that time. I think the correct script is poweroff or wmpoweroff.

_________________
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Sat 31 May 2008, 19:33    Post subject:  

Hi spluthier

I found this, which I don't know if you know of;

http://www.murga-linux.com/puppy/viewtopic.php?t=23777&sid=53d682956f0309bee344a723c90e9087

and

http://www.murga-linux.com/puppy/viewtopic.php?t=25438&sid=5948603eda0e980ddfcce0294454b040


Is there a photoframe 'HowTo' somewhere?

Aitch Smile
Back to top
View user's profile Send private message 
spluthier

Joined: 29 May 2008
Posts: 10

PostPosted: Tue 03 Jun 2008, 22:28    Post subject:  

I apologize for the delayed reply - thanks to everyone who has helped so far!

Quote:
I think in Puppy 4 you just need to put that in a script in /root/startup

Otherwise you can put this in your jwm config file


Awesome - this was it, big thanks.


Quote:
Use pschedule to run the shutdown script at that time. I think the correct script is poweroff or wmpoweroff.


2 for 2! Thanks. The poweroff command actually crashes puppy - wmpoweroff works flawlessly.

Now - if I could only figure out how to diasble the screensaver/power management feature so that the laptop is on all the time up until the pschedule script is executed. More on that dilema here: http://www.murga-linux.com/puppy/viewtopic.php?t=29776

Quote:
Is there a photoframe 'HowTo' somewhere?


Hi Aitch. I actually found some extensive projects online using google. Here's one that I reccommend (and was originally basing my frame on until I had issues with DSL and glitchy graphics)
http://www.thewares.net/item/33

Also, there are a few videos on YouTube, here's one I've bookmarked.
http://youtube.com/watch?v=_iE85eegP3A

Cheers.
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Wed 04 Jun 2008, 06:00    Post subject:  

@spluthier

Great, thanks

Aitch
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0755s ][ Queries: 12 (0.0459s) ][ GZIP on ]