[HowTo] How To - Add Icons To The Fluxbox Menu

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
User avatar
Trihexagonal
Posts: 92
Joined: 2022-03-29 20:53
Location: The Land of the Dead
Has thanked: 10 times
Been thanked: 8 times
Contact:

[HowTo] How To - Add Icons To The Fluxbox Menu

#1 Post by Trihexagonal »

Create a small 32x32 image or find the one associated with the appropriate program to "Export As" in .xpm format from Gimp to where you want to save it. Then link to the image from the fluxbox menu behind the command to call the program. It should look something like this:

[submenu] (Files) </usr/home/jitte/.fluxbox/icons/red.xpm>
For the icon to appear on the sub-menu section of the menu:
.
Fluxbox Dressed Up
Fluxbox Dressed Up
menu.jpg (4.11 KiB) Viewed 125 times
.
[exec] (urxvt) {urxvt} </usr/home/jitte/.fluxbox/icons/red.xpm>
For it to appear next to the program:
.
rxvt icon
rxvt icon
menu2.jpg (3.94 KiB) Viewed 125 times
When Darkness takes everything embrace what Darkness brings.

Post Reply