Discussion:
[Fluxbox-users] Problem with fbautostart
Rainer M Krug
2011-07-08 09:38:49 UTC
Permalink
Hi

I wanted to use fbautostart, but it does not execute all .desktop files in
the foldes - it seems to hang. When I use --noexec, it just stops after some
.desktop files, whereas dex (
https://github.com/jceb/dex) shows all.

Anything I can do to help? should I send the compressed .desktop files to
somebody?

Cheers,

Rainer

P.S: I think I am definitely back with fluxbox!
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax (F): +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: ***@krugs.de

Skype: RMkrug
Rainer M Krug
2011-07-08 12:50:56 UTC
Permalink
Forgot to send to the list - here it is
Please CC me in replies, I'm not on this list.
OK.
Post by Rainer M Krug
Hi
I wanted to use fbautostart, but it does not execute all .desktop files
in
Post by Rainer M Krug
the foldes - it seems to hang. When I use --noexec, it just stops after
some
Post by Rainer M Krug
.desktop files, whereas dex (
https://github.com/jceb/dex) shows all.
Hi there. Author here.
Hi Author.
It looks like it's hanging because of a stupid race condition. Just
hit enter. It won't block anything, and if it was in a "fbautostart &&
echo foo", it'd work fine :) It only *looks* shitty :)
So if I put
fbautostart &
in the fluxbox startup file, it should work? \
fbautostart also will only start .desktop files that don't exclude
OnlyShowIn=GNOME;XFCE;
(taken from nm-applet.desktop)).
OK - that explains. I wasn't aware of this - I then have to check all.
However, you may invoke fbautostart with the --window-manager to change
this.
Example: fbautostart --window-manager=GNOME
If you would like a use-case where fbautostart breaks XDG spec and
starts all .desktop files, please file a bug on Launchpad[1] against
it :)
No - I am happy with XDG specs, but an idea: would it be possible to print,
when using --noexec, also the name of the .desktop file and why it was not
executed? So an output like:

/etc/xdg/autostart
prg1.desktop --- not started --- OnlyShowIn=GNOME;XFCE;
pgr2.desktop --- started --- and here the usual start info as printed

~/.config/autostart
.
.
.

This would help a lot in finding out what is why not started.
Hope this helps!
Definitely
Paul
P.S. --noexec tells it to not execute any applications, simply print
what it's looking to start. It only prints files that match it's
Yes - that is very useful.
--window-manager ID. You can see what it's using by default with
$ fbautostart --help | grep behalf
I am doing this on behalf of 'FLUXBOX'
Thanks a lot,

Rainer
[1]: https://bugs.launchpad.net/fbautostart
Post by Rainer M Krug
Anything I can do to help? should I send the compressed .desktop files to
somebody?
Cheers,
Rainer
P.S: I think I am definitely back with fluxbox!
Rock on! Welcome back!
Thanks - Fluxbox gives a fuzzy warm feeling.
-Paul
--
All programmers are playwrights, and all computers are lousy actors.
#define sizeof(x) rand()
:wq
--
NEW GERMAN FAX NUMBER!!!

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

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell: +27 - (0)83 9479 042
Fax: +27 - (0)86 516 2782
Fax: +49 - (0)321 2125 2244
email: ***@krugs.de

Skype: RMkrug
Google: ***@gmail.com
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax (F): +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: ***@krugs.de

Skype: RMkrug
Loading...