LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-14-2006, 06:54 PM   #1
kav
Member
 
Registered: May 2006
Location: USA
Distribution: FreeBSD Ubuntu Debian
Posts: 137

Rep: Reputation: 15
how do I start applications after fluxbox starts?


xmms doesn't behave properly unless you start it after fluxbox starts. Running any xscreesavers as the background also behave really bizzare if you don't start them after fluxbox has been started. It's like fluxbox is stuck behind them.

Starting them manually after fluxbox has started fixes all odd behavier. So how do I start them automatically whenever I startx? I can't put them in .fluxbox/startup because "exec fluxbox" has to be the last command in that script.

Where is the best place to put the commands for any programs that need to be started after the window manager?
 
Old 12-14-2006, 07:45 PM   #2
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Edit .xinitrc file something like :

xscreensaver &
gkrellm &
exec fluxbox

exec fluxbox must be last command.
 
Old 12-15-2006, 07:59 AM   #3
kav
Member
 
Registered: May 2006
Location: USA
Distribution: FreeBSD Ubuntu Debian
Posts: 137

Original Poster
Rep: Reputation: 15
Actually exec fluxbox is a command in the startfluxbox script that is run from .xinitrc so I can say


startfluxbox
#exec ratpoison
#exec wmii
#exec enlightenment

/usr/lib/xscreensaver/euphoria -r
xscreensaver &
gkrellm &


But that is exactly the answer I was looking for. I just needed to know which which script came right after fluxbox started.

Thanks a bunch
 
Old 12-15-2006, 01:51 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Have you tried putting the apps in ~/.fluxbox/startup?

I believe that is the last file that runs when flux starts.
 
  


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
Two Fluxbox Versions - Root starts newest,User starts oldest fortezza Linux - Software 1 05-21-2006 01:17 AM
loading linux applications when system starts mlu Linux - Software 1 03-24-2005 03:27 AM
Fluxbox starts with no font ivanatora Linux - Software 1 12-08-2004 02:28 AM
help! only fluxbox starts hacman Mandriva 2 05-10-2004 05:19 AM
How to starts FluxBox chem1 Linux - Software 2 05-09-2003 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:20 PM.

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