LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-10-2004, 01:47 PM   #1
sethgeekx86
Member
 
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, 03:01 PM   #2
b0uncer
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, 05:45 PM   #3
Dabria
Member
 
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, 05:54 AM   #4
b0uncer
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...
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 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