LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 06-11-2008, 06:28 AM   #1
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0
Auto start an application in X


How can I automatically start an application (i.e. Firefox) when X starts?
 
Old 06-11-2008, 08:17 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
It depends on which desktop environment you're using. Here's a good rundown:

http://gentoo-wiki.com/HOWTO_Autostart_Programs
 
Old 06-12-2008, 02:23 AM   #3
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Ok, thank you, but which d.e. does Puppy use?

Last edited by VictorLemar; 06-12-2008 at 03:55 AM.
 
Old 09-12-2008, 11:22 PM   #4
billthomson
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
Auto-starting an application in X



Victor,

To auto start an X-Window program, put the program (or a link to the program) in the /root/Startup directory. Here's the contents of the README.txt file located in the same directory.


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.

cheers,

Bill Thomson
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hot to auto start oracle application server on Redhat AS3 at the boot time procfs Linux - Software 2 05-22-2007 11:42 PM
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 09:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 12:02 PM
auto start application acrors Fedora 10 10-11-2004 11:22 AM
Adding an application to auto-start on boot-time dushkinup Linux - Newbie 4 03-07-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration