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

"Rainer M Krug" <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
On Wed, Jul 30, 2008 at 3:12 PM, Ron DuPlain <[email protected]> wrote:
> 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
>

What is the story about the apps file in ~/.fluxbox? That is where I
put all my programs which I want to run after fluxbox is running,
i.e.:
[startup]   {gkrellm -w}
[startup]   {skype &}
.
.
.

Any advantages of using the one over the other?



> ---
>
> 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=/
> _______________________________________________
> Fluxbox-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fluxbox-users
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Plant Conservation Unit
Department of Botany
University of Cape Town
Rondebosch 7701
South Africa

-------------------------------------------------------------------------
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.