LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack 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,185

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

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


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