topic title: Problems w. menu
Posts: 137
duncan_mk
Joined: 19 Sep 2012
#1
I'm back! Actually I've never been away. The antiX-13 was a disatser for me but 13.1 has been fine (I'm not altogether sure whether I've upgraded to 13.2 or not but i'm pretty sure that I'm not using 'sid' for updates). Up to now I've been able to sort out everything without recourse to asking the forums - although I've still visited from time to time.

but now I have a problem. There are a number of programs I've downloaded which have not found their way onto the menu. I've hunted thru' the internet to find out how this is done but can't make head or tail of any of it. I have a"Quick Access" menu on the Toolbar & know how set up a menu.

Code: Select all

  menu"FileManagers" /usr/share/icons/HighContrast/scalable/apps/
system-file-manager.svg 
        {
                prog"Thunar" /usr/share/icons/hicolor/24x24/apps/Thunar.png /usr/bin/thunar
                prog"Nautilus" /usr/share/icons/hicolor/24x24/apps/nautilus.png /usr/bin/nautilus
                prog"RoxFM" /usr/share/icons/hicolor/48x48/apps/spacefm-48-folder-red.png /usr/bin/rox
        } #     END FileManagers
But I don't want to clutter this up with things I don't use regularly.

Any help (as usual) gratefully received.

dmk
Posts: 765
rust collector
Joined: 27 Dec 2011
#2
What window manager are you using?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
prog=needed at beginning of menu entry

"Thunar" = name of program name you wish to see in menu ."" are needed

/usr/share/icons/hicolor/24x24/apps/Thunar.png = the icon location of the icon you wish to see next to the name"Thunar"

/usr/bin/thunar = the location to launch thunar from your menu entry.

Taken in one whole line. Program named thunar with icon thunar to launch thunar from thunar entry in /usr/bin.

Example given rc was from Icewm menu entry.

That was why I said I use the locate command in AntiX to find path names for my custom menu entries.

For not cluttering up the toolbar. Look in the commented out section for up arrow. The location for the icon for arrow is invalid so I usually used whatever icon path I wanted in it's place. Uncomment that section and a mini menu will show. You can put custom menu entries in there.

Be sure to restart Window Manger (Icewm) to see changes take.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
Example from my IBM A22M

Code: Select all

### Here is an example of a"quick launch" button
menu"Quick Launch" /home/harry/Icons/Xkill.png {
prog"Browser" iceweasel.png /usr/bin/iceweasel
prog"Text Editor" /usr/share/icons/gTangish-2.0a1/32x32/apps/accessories-text-editor.png leafpad
prog"Music Player" /usr/share/icons/gTangish-2.0a1/32x32/apps/xmms-headphones.png xmms
prog"Streamtuner" /usr/share/pixmaps/streamtuner.png streamtuner
prog"Burner" /usr/share/pixmaps/simpleburn.png simpleburn
#prog"Viewer" /usr/share/pixmaps/mirage.png mirage
#}
Image