The mrclksr article is quite confusing.
Because there are users who like to see the system cute with icons.
I googled "use icons with Fluxbox menu" and found these on the first search. It looks easy enough to me:
Adding Fluxbox menu icons is easy. Icons are usually not included in menu entries out of the box, but support for them usually is. In this post, i’ll outline three simple steps required for…
htipe.wordpress.com
First you need to run
fluxbox -i
to see if it was compiled with:
Mine was and I used default settings when compiling from ports.
Then you need to link to the icon behind the menu command to summon that program. In
x11-fm/xfe the default titlebar icon is located in
/usr/local/share/xfe/icons/gnomeblue-theme/xfe.png. My Xfe entry should look like:
Code:
[exec] (xfe) {xfe} <usr/local/share/xfe/icons/gnomeblue-theme/xfe.png>
The example
mrclksr gives in his guide looks just like it:
Code:
[exec] (Logout) {dsblogoutmgr -l "fluxbox-remote exit"} </home/ich/.icons/Faenza/actions/48/system-log-out.png>
His guide says to run
update_fbmenu
but that command was not found so I used
$ fluxbox-generate_menu
to generate a new menu. It did not show the icon I linked to when I brought up the new menu but it may be due to the size, or not. I don't use them and have work to do so will leave it to you to implement at this point.
Edit: I can't start something and not finish. The image file for the icon must be in the .xpm format. You can create an image or find one you like and "Export As" .xpm from
graphics/gimp to where you want to save it.
I made a simple 32x32 red image to test it and saved it as
/usr/home/jitte/Images/iconred.xpm. I linked to it from my menu as:
Code:
[exec] (urxvt) {urxvt} </usr/home/jitte/Images/iconred.xpm>
I did not have to do anything else to get an icon on the menu. Guess I can add that to my tutorial.
Here is what it looks like:
