# TestMenu.txt
# Example configuration file for the program "myGtkMenu", version 1.4.
# Usage: /PATH/myGtkMenu /PATH/TestMenu.txt
#
# Keywords are used to identify the type of line. One keyword per line.
# Details are at the bottom of this file.
#
#      ............... Beginning of menu ...............

MenuPosition = 10 10 # Optional

fontsize = 12 # Optional

iconsize = 25 # Optional

item = Example Menu - TestMenu.txt
cmd = " "
icon = NULL

SEPARATOR 

# This is a comment and will be ignored.

item =  _Mousepad
cmd = mousepad
icon = gnome-icons/text-editor.png # Icons can come from any directory

item = _Notes
cmd = mousepad ~/Notes.txt
icon = gnome-icons/text-editor.png

item = _Calculator
cmd = gcalctool
icon = gnome-icons/gnome-calc2.png

item =  Gimp
cmd = gimp
icon = gnome-icons/gnome-gimp.png

SEPARATOR

Submenu = SU  # begin submenu and label it SU
    icon = gnome-icons/access.png # icon for submenu

    item=Nautilus
    cmd=nautilus-super --no-desktop --browser # Not a standard program
    icon=gnome-icons/folder.png

    SEPARATOR

    item = Mousepad
    cmd = beesu mousepad
    icon = gnome-icons/text-editor.png

SEPARATOR

Submenu = _Other
    icon = gnome-icons/gnome-folder.png

    item = _Edit Menu
    cmd = mousepad ~/bin/myGtkMenu-1.4/Menu1.txt
    icon = gnome-icons/gnome-gmenu.png

SEPARATOR

Submenu = Music
    icon = gnome-icons/sound.png

    item = 50s
    cmd = xmms /home/Music/50s/PlayAll.m3u
    icon = gnome-icons/media-optical.png

    item = 60s
    cmd = xmms ~/Music/60s/PlayAll.m3u
    icon = gnome-icons/media-optical.png

    SEPARATOR

    Submenu = Some Band
        icon =gnome-icons/sound.png

        item = Album 1
        cmd = xmms ~/Music/SomeBand/Album1/PlayAll.m3u
        icon = gnome-icons/media-optical.png

        item = Album 2
        cmd = xmms ~/Music/SomeBand/Album2/PlayAll.m3u
        icon = gnome-icons/media-optical.png

    SEPARATOR

    Submenu = Another Band
        icon =gnome-icons/sound.png

        item = Album 1
        cmd = xmms ~/Music/AnotherBand/Album1/PlayAll.m3u
        icon = gnome-icons/media-optical.png

        item = Album 2
        cmd = xmms ~/Music/AnotherBand/Album2/PlayAll.m3u
        icon = gnome-icons/media-optical.png

    SEPARATOR

    item = 70s
    cmd = xmms ~/Music/70s/PlayAll.m3u
    icon = gnome-icons/media-optical.png

# TestMenu.txt
# Default configuration file for the program "myGtkMenu", version 1.4.
# Usage: myGtkMenu TestMenu.txt
#
# Keywords are used to identify the type of line. One keyword per line. The
# 8 keywords are:
#
# "item="
# "cmd="
# "icon="
# "submenu="
# "separator"
# "menupos="
# "fontsize="
# "iconsize="
#
# Item= must be followed by cmd= which must, in turn, be followed by icon=.
#
# Submenu= must be followed by icon= (line indented).
#
# Item= denotes the text to show in the menu. An underscore ("_") indicates
# the mnemonic for the menu item. 
#
# Cmd= denotes the command to run.
# The text that follows "cmd=" must be a legal (error free) command.
# If the command will not work when independently run on a terminal window,
# it will not work from myGtkMenu.
#
# Icon= denotes a image to show in the menu. If you do not want an image,
# use the entry "icon=NULL". Menu icons are assumed to be square. Non square 
# images used as icons are scaled down so that they fit into a square.
#
# Submenu= denotes the text to show in the menu listing.
# All menu entries in this submenu must be indented the same amount.
# The first line that has a different indentation signals the end of this
# submenu. Submenus can, of course, be nested.
#
#   |--------------------------------------------------------------------|
#   | Line indentation may done with either tabs or spaces but not a     |
#   | mixture of tabs and spaces!                                        |
#   |--------------------------------------------------------------------|
#
# Separator is just that - a line in the menu.
#
# MenuPos= is an optional line to force the menu to open at a given x-y
# position (the program xev can help you find coordinates - see its man page).
# If the menu does not fit at the specified position GTK will move it.
# Bad positioning of big menus can cause GTK to do ugly things to the menu.
# If "menupos=" is missing, the menu is shown at the mouse cursor position.
#
# Fontsize= is an optional line and its meaning should be obvious. 
# All menu items have the same font size. If "fontsize=" is missing, myGtkMenu
# uses the default (menu theme) font size. A positive number means size in 
# 'points' while a negative number means fontsize in 'pixels'. 
# A fontsize of 0 is special: the font size is adjusted to the value 
# iconsize * 17 / 24.
#
# Iconsize= the size (in pixels) of the icon used for menu items.
#
# Lines are limited to 200 characters. The character "#" marks the
# beginning of a comment (ignored by myGtkMenu). Blank lines are ignored.
#
#   |--------------------------------------------------------------------|
#   | If an error is found in the file, the rest of the file is ignored. |
#   |--------------------------------------------------------------------|
#
# If a line does not work, try entering the complete pathname of the files:
# "cmd = /home/USER/bin/myScript.sh /home/USER/temp/data.dat" or
# "icon = /usr/share/icons/hicolor/32x32/apps/firefox.png".
# The tilde (ie ~/) is expanded to $HOME/ so, assuming $HOME is OK,
# "~/bin/myScript.sh ~/temp/data.dat" should also work.
#
# To debug the operation of myGtkMenu on MenuDescriptionFilename,
# run "/PATH/myGtkMenu /PATH/MenuDescriptionFilename" from a command prompt
# (ie terminal window). 
#
# Typically, one would run myGtkMenu from an icon on a panel or an
# icon on the desktop. (In GNOME, launchers are designed to do this.)
# Note that you are not limited to one menu. Make several launchers and
# operate them with different MenuDescriptionFilename.
#

