Re: starting applications as fluxbox starts (was: fluxter -w upon startup)
"Valter Toffolo" <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
it seems that fluxbox overwrite the apps file constantly, probably using a buffered copy of the file, because every time i edit apps file while fluxbox is running, my changes are lost. as i hate to shutdown X and close all apps, what i do is switch to another wm, change the apps file, and then come back to flux =) i noticed this behavior with the slitlist file as well... anyone has any clue/workaround about it? thanks On 3/2/06, Valter Toffolo <[email protected]> wrote: > > here it goes my "elegant" startup trick, maybe other people adopt it too > ;) > > i know nothing about ubuntu and kdm, and didn't knew about startfluxbox > script neither ~/.fluxbox/startup but i just noticed that startfluxbox is > the one which runs ~/.fluxbox/startup and this file runs all apps and > fluxbox last. correct me if i'm wrong. but if this is the case, it seems you > need to start fluxter after fluxbox, not before.. i use fbpager and it was > on my ~/.xinitrc file and starting before fluxbox and it's odd but it was > working.. then i got sick of putting stuff on my .xinitrc and thought i > should have a script fluxbox would run itself as it starts.. > > so here it goes my trick > there's a ~/.fluxbox/apps file, which keeps application specific settings > as decorations, dimensions, position... but there's another thing you can do > with this file, you can start applications as fluxbox starts. so what i do > is add the following line to ~/.fluxbox/apps > [startup] { ~/.fluxbox/startup.sh } > then i put everything i want fluxbox to do when it starts in > ~/.fluxbox/startup.sh rather than starting it before fluxbox in the script > which runs fluxbox... yeah it's a trick but i think it's "elegant" this way, > imho it's better than putting a lot of [startup] lines in the apps file or > putting it all in ~/.xinitrc or ~/.xsession or even this ~/.fluxbox/startup > i just met.. > > On 3/2/06, Jonathan Groll <[email protected]> wrote: > > > > > > I can't seem to get fluxter to startup in the slit together with my > > other dockapps, ie. > > fluxter -w & > > in ~/.fluxbox/startup (inserted before: exec /usr/bin/fluxbox) > > is ineffective, and if I log output to a file it shows:- > > Cannot connect to window manager > > > > Of course, there is no problem manually launching fluxter from the > > desktop after startup. > > > > Anyone got an elegant way to launch it upon startup? (At the moment I'm > > thinking of writing a script with a sleep in it) > > > > Thanks > > Jonathan > > > > P.S. If it is relevant, I am using kdm on ubuntu to start fluxbox with > > the startfluxbox script. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Fluxbox-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/fluxbox-users > > > >