topic title: Edit Fluxbox Menu
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#1
Starting with this. I am sure dolphin_oracle will be posting videos on this stuff also.

Just showing what I do.

I open AntiX Control Center and hit the edit Flixbox settings button for starters.

Image

Then I get this window next which is geany. I go to the startup tab and comment out

Code: Select all

# Auto-update menu
#auto-fluxbox-menu.sh &
You don't have to do this if you rely on auto-update menus. I hand edit my stuff so I do not wish to have
auto-update messing with my custom setting entries and erase them.

Image

Now to show how I use the locate command to find me a icon for browser in the menu entry. I will also find a icon for rox, leafpad,and terminal and show how I custom insert icons into the menu,

Code: Select all

$ locate iceweasel
<snip>
/usr/share/icons/hicolor/128x128/apps/iceweasel.png
/usr/share/icons/hicolor/16x16/apps/iceweasel.png
/usr/share/icons/hicolor/32x32/apps/iceweasel.png
/usr/share/icons/hicolor/48x48/apps/iceweasel.png
/usr/share/icons/hicolor/64x64/apps/iceweasel.png
/usr/share/icons/hicolor/scalable/apps/iceweasel.svg
/usr/share/man/man1/iceweasel.1.gz
/usr/share/menu/iceweasel
/usr/share/pixmaps/iceweasel.png
<snip>
<snip>= where I cut out the readout and am only showing relevant entries for icons for iceweasel.

Code: Select all

$ locate rox-filer
<snip>
/usr/share/icons/antiX/rox-filer.png
<snip>

Code: Select all

locate leafpad
<snip>
/usr/share/pixmaps/leafpad.png
<snip>

Code: Select all

locate roxterm
<snip>
/usr/share/pixmaps/roxterm.xpm
<snip>
Now to add to my menu some icons

Code: Select all

[begin] (--antiX--)
  [exec] (Terminal) {roxterm} </usr/share/pixmaps/roxterm.xpm>
  [exec] (Files) {antiX-FileManager.sh} </usr/share/icons/antiX/rox-filer.png>
  [exec] (Editor) {leafpad} </usr/share/pixmaps/leafpad.png>
  [exec] (Browser) {iceweasel} </usr/share/icons/hicolor/16x16/apps/iceweasel.png>
The <> are needed for the icon to show. The inbetween entry is the path to the icon. I am going to log out and back in to supply the screenshot and show the difference between my first screenshot showing my menus and how it looks after the change.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Image

Ok. Now you see icons next to my top menu entries where there were non before in the 1st screenshot.

I recommend for new users to leave autoupdate in startup alone.
I installed mousepad for a test and re-enabled auto-update menu in startup.

Mousepad showed up in Apllications>accessories>mousepad

with a icon next to it also.

Image