Wednesday, January 24, 2007

Fluxbox Menu Generator

I wrote a simple script to generate a customizable fluxbox menu. open your favorite editor and copy & paste the following:

------------------------------------------------------------------------------------------------------------------------

#!/bin/sh

fluxbox-generate_menu -t favorite_term -b favorite_browser -i /path/to/icons


echo "Done!"

done


------------------------------------------------------------------------------------------------------------------------

Replace the respective values and save the script in /usr/local/bin (it varies per distribution)

then do:

chmod 755 /path/to/scriptname

then run it.

any questions? comment here or email me (no spam please)

NOTE: The icon directory don't really matter. I recommend you add your favorite term and browser because it is very convenient for it to be on the fluxbox menu.