Re: How do I start an application after fluxbox starts?

"Ron DuPlain" <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
On Wed, Jul 30, 2008 at 8:10 AM, Jeff Schallenberg
<[email protected]> wrote:
> On Wed, Jul 30, 2008 at 7:40 AM, Ron DuPlain <[email protected]> wrote:
>>
>> Fluxbox startup commands usually go into $HOME/.fluxbox/startup --
>> where the last line is:
>> exec /path/to/fluxbox
>>
> Yeah, Ron, I know about the startup file. It is used by startfluxbox, but it
> runs those apps BEFORE Fluxbox starts. I am looking for a way to autorun an
> app AFTER FluxBox starts.
>
> Anybody?
> --
> - Jeff
>

Right, you wanted to know where you can put your code:
exec fluxbox &
# your code here ...

Based on your code example, this would go into $HOME/.fluxbox/startup --
>> where the last line is:
>> exec /path/to/fluxbox

So to your question, "into which file should I be inserting statements
... ?" the answer is $HOME/.fluxbox/startup

The Fluxbox wiki topic is referring to this .fluxbox/startup file.
http://fluxbox-wiki.org/index.php/Howto_edit_the_startup_file

 exec fluxbox &
 fbpid=$!

 sleep 1
 {
    xsetroot -cursor_name left_ptr -fg white -bg black &
    ipager &
    gkrellm2 &
 } &

 wait $fbpid

---

Does that make sense?

Ron

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.