LinuxQuestions.org
Register a domain and help support LQ
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, 07: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, 09:17 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
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, 03: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 04:55 AM.
 
Old 09-13-2008, 12:22 AM   #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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-23-2007 12:42 AM
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 10:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 01:02 PM
auto start application acrors Fedora 10 10-11-2004 12:22 PM
Adding an application to auto-start on boot-time dushkinup Linux - Newbie 4 03-07-2004 08:55 PM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration