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 5:15 PM, Jeff Schallenberg
<[email protected]> wrote:
> On Wed, Jul 30, 2008 at 3:58 PM, Ron DuPlain <[email protected]> wrote:
>>
>>   If you have the full path to bbpager, put it in the startup script, as
>> such:
>>
>> {
>>   /path/to/bbpager -w &
>> } &
>>
>> Let me know how that works.
>>
> Ron, the full path to bbpager is /usr/bin/bbpager.
>
> In my ~/.fluxbox/startup file, I added:
>
> # And last but not least we start fluxbox.
> # Because it is the last app you have to run it with ''exec'' before it.
>
> exec /usr/bin/fluxbox

Here it is.  The line above should have an ampersand at the end, i.e.
exec /usr/bin/fluxbox &

(or just: /usr/bin/fluxbox &)

Without it, all of the following lines won't run until fluxbox exits.
That should do it...

Ron

>  fbpid=$!
>
>   sleep 2
>  {
>    /usr/bin/bbpager -w &
>  } &
>
>
>  wait $fbpid
>
> But that doesn't work. Should it be:
>
>  {
>    exec /usr/bin/bbpager -w &
>  } &
>
> instead?
>
> --
> - Jeff
>

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