Hi all,
here is a random idea blob, please take some time to consider:
1. Some shell commands do not work in the menu file, eg
[exec] (Go online) {ppp-on && fetchmail -a}
because of the way blackbox constructs a string (Rootmenu.cc):
DISPLAY=:0 exec %s &
which results in:
DISPLAY=:0 exec ppp-on && fetchmail -a &
This string is passed to system() that runs /bin/sh -c string
that terminates after ppp-on because of the `exec' command.
Perhaps the solution bbkeys uses to perform ExecCommand
(execve) is nicer!
2. The command that blackbox runs on exit seems not to accept any
arguments. eg
[exit] (Exit Blackbox) {sh -c 'xtexit || exec blackbox'}
(to rerun blackbox if xtexit was said not to exit) won't work.
I like to use xtexit, but i want blackbox to shut down cleanly.
3. When making the toolbar autohide, it should always be on top when it
appears, so in fact all toolbar choices can be in one variable, eg:
Appearance: -hidden
-always on top
-normal (as a normal window)
-autohide
So one toolbar(sub)menu with four radiobuttons will suffice.
4. I would not opt for a split off of the toolbar in a separate app. The
toolbar is just a powerful element of the typical blackbox look. Lots
of styles depend on the contrast/difference/similarity between the
trinity toolbar/menu/window.
Instead, I would opt for a single compile time option:
--disable-toolbar
So you just have the toolbar or not. Everyone is free to implement a
better toolbar/pager/whatever tool.
just my.... ..eh $0.02784676. :-)
wilb
--
Wilbert Berendsen. Meet me at http://www.xs4all.nl/~wbsoft
"Economics is the study of what people do when nothing
more important than money is at stake." -- RMS 23-11-1999