Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-10-2004, 12:47 PM   #1
Registered: Jan 2004
Distribution: Slackware 9.1 SUSE 9.0
Posts: 131

Rep: Reputation: 15
makeing an app start at fluxbox startup

I need a program to start when fluxbox starts what to i need to add to init to make this happen.
Old 06-10-2004, 02:01 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
touch $home/.xinitrc

after that (ensuring it exists, and if not, create it) open the file .xinitrc in your home directory with a text editor, like

vim $home/.xinitrc

and add there a line:

exec /path/to/your/app

that should do...the file .xinitrc should be run every time X starts, which means that when you start fluxbox (and X) it is run
Old 06-10-2004, 04:45 PM   #3
Registered: Jul 2003
Location: Caraquet, New-Brunswick
Distribution: Slackware - Current
Posts: 35

Rep: Reputation: 15
If you want your program to start only when you start Fluxbox and not everytime X starts then :

touch ~/.fluxbox/apps

Then add this in apps

[startup] {path/to/your/app}
Old 06-11-2004, 04:54 AM   #4
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm...yup, but how many times you start fluxbox but not X?

just a pop-up-idea..but anyway, after thinking it's better to use fluxbox's file, because when you use .xinitrc it seems that you must sort things a bit...the last line seems to define the app that's left running as the "final" process and it ends the same time as X session ends...


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
fluxbox weather app psychobuffalo Linux - Software 1 08-29-2005 09:15 PM
Fluxbox Switch Window Replacement App? Aeiri Linux - Software 5 04-11-2005 06:10 PM
Fluxbox startup script.......... App requires root. DraaX Slackware 2 11-28-2004 08:27 AM
Need help with FLUXBOX app fonts joe_stevensen Linux - Software 6 01-19-2004 09:57 PM
dock app for Fluxbox contrasutra Linux - Software 7 04-30-2003 10:22 PM

All times are GMT -5. The time now is 05:25 AM.

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