[LAU] Audio applications menu generation

James Morris jwm.art.net at gmail.com
Sun Jan 23 01:36:57 UTC 2011


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/


More information about the Linux-audio-user mailing list