i've uploaded the first version of the script here (temporarily):
http://jwm-art.net/code/lau_flux_menu
i will create a proper online home for the code later.
be warned: it will clobber your existing fluxbox menus.
i forgot to mention that it creates a bristol submenu for all the
different bristol emulation modes.
it's easy to make this script recognise applications it is currently
missing. let me know them if you will.
cheers,
james.
On 23 January 2011 01:36, James Morris <jwm.art.net(a)gmail.com> wrote:
Hi,
I'm wondering if there exists any scripts for generating menus for
audio users such as ourselves :-)
Of course though this question enters my mind after I set out to write
my own BASH (4) script.
To begin with my script will generate a menu for Fluxbox.
The file ~/fluxbox/init should be edited to specify ~/.fluxbox/my-menu
as the session.menuFile.
The script will generate a basic my-menu consisting of items such as
xterm, firefox, audio sub-menu, htop, nedit, alsamixer, system sub
menu, and logout and shutdown.
The audio sub menu is a separate file ~/.fluxbox/my-audio-menu
generated by searching a list of audio applications and adds those
found on the system running the script. Other sub menus should easily
be added (but are hard coded for now).
The system sub-menu is a separate file ~/.fluxbox/menu and is
generated by (currently) mmaker if it exists, or fluxbox-generate_menu
as a fallback.
The list of audio applications currently only covers those I use^d^d^d
intend to use^d^d^d^d^d^d^d have installed/compiled with the intention
of using.
I'd imagine there should already be a script out there to do this
which possibly works with a number of WMs/DEs?
But, I also imagine it would be quite difficult to make it work easily
with all. I think *box and xfce should be manageable.
Any opinions/thoughts/suggestions/etc?
Cheers,
James.
--
_
:
http://jwm-art.net/
-audio/image/text/code/
--
_
:
http://jwm-art.net/
-audio/image/text/code/