(
  WindowMaker,
  (Applications, OPEN_MENU, "~/GNUstep/Library/WindowMaker/menu.hook"),
  (
    Terminal,
    SHEXEC,
    "roxterm --title=Terminal --separate --disable-sm --name=Terminal"
  ),
  (Filemanager, EXEC, thunar),
  (Execute..., EXEC, "%A(Execute...,Type command to execute,execute)"),
  (
    Help,
    (
      "Release notes",
      OPEN_MENU,
      "/usr/share/wmlive/doc WITH /usr/bin/gxmessage -center -wrap -geometry 600x600 -buttons \"\" -name wmlive -title \"Release notes\" -default okay -file"
    ),
    (
      "Manual page",
      SHORTCUT,
      "Control+F1",
      SHEXEC,
      "roxterm --title=\"Manual Page\" --geometry=80x38 --separate --disable-sm --name=manual --execute man %A(Which Manual Page?,Enter a command name to read its manual:,manpages)"
    ),
    (
      Apropos,
      SHORTCUT,
      "Control+Mod1+a",
      SHEXEC,
      "apropos %A(Apropos,Insert topic to look for:,Apropos) | gxmessage -center -font monospace -wrap -title \"Apropos search\" -buttons ''  -file -"
    ),
    (
      "Debian Package Info",
      SHORTCUT,
      "Control+Shift+s",
      SHEXEC,
      "dpkg -s %A(Debian Package Info,Enter the package name to show its info:,Package) | gxmessage -center -font monospace -wrap -buttons ''  -title \"About Debian Package\" -file -"
    ),
    (
      "apt-cache show",
      SHORTCUT,
      "Control+Shift+a",
      SHEXEC,
      "apt-cache show %A(apt-cache show ...,Enter package name to show its info:,Package) | gxmessage -center -font monospace -wrap -buttons ''  -title \"apt-cache show ...\" -file -"
    ),
    (
      "Debian Changelog",
      SHORTCUT,
      "Control+Shift+c",
      SHEXEC,
      "zcat /usr/share/doc/%A(Debian Changelog,Enter package name to show its changelog:,Package)/changelog.Debian.gz | gxmessage -center -font monospace -wrap -buttons '' -title \"Debian Changelog\" -file -"
    ),
    (
      "All Installed Packages",
      SHEXEC,
      "dpkg -l \"*\" | grep ^ii | gxmessage -center -font monospace -wrap -buttons ''  -title \"Installed Debian Packages\" -file -"
    ),
    (
      "Debian Package Docs",
      SHORTCUT,
      "Control+Shift+F1",
      SHEXEC,
      "roxterm --title=\"Debian Package Docs\" --geometry=98x36 --separate --disable-sm --name=debian --execute mc /usr/share/doc/%A(Package Docs,Enter a package name (or hit enter for all):,Package)"
    )
  ),
  (
    Preferences,
    (WPrefs.app, EXEC, "/usr/bin/WPrefs"),
    ("About Myself", EXEC, "/usr/bin/userinfo"),
    ("Password Change", EXEC, "/usr/bin/userpasswd"),
    (
      AutoStart,
      (
        Disabled,
        OPEN_MENU,
        "-noext ~/GNUstep/AutoStart/Disabled WITH ~/GNUstep/Scripts/wmaker-autostart-toggle"
      ),
      (
        Enabled,
        OPEN_MENU,
        "-noext ~/GNUstep/AutoStart/Enabled WITH ~/GNUstep/Scripts/wmaker-autostart-toggle"
      ),
      ("Browse Folder", EXEC, "thunar ~/GNUstep/AutoStart"),
      (
        Help,
        OPEN_MENU,
        "-noext ~/GNUstep/AutoStart/Help WITH /usr/bin/gxmessage -center -wrap -name AutoStart -file "
      ),
      ("Edit Scripts", OPEN_MENU, "~/GNUstep/AutoStart WITH mousepad"),
      (
        "Create New Script",
        EXEC,
        "mousepad ~/GNUstep/AutoStart/Disabled/\"%A(Create New Script,Script Name (two leading digits, no blanks):,AutoStartScripts)\""
      )
    ),
    (
      "Debian Menu",
      (
        "Modify Entry",
        OPEN_MENU,
        "/usr/share/menu WITH ~/GNUstep/Scripts/wmaker-debian-menu-edit"
      ),
      (
        "Toggle Entry",
        OPEN_MENU,
        "/usr/share/menu WITH ~/GNUstep/Scripts/wmaker-debian-menu-toggle"
      ),
      ("Update Menus", EXEC, "update-menus"),
      (
        "Create New Entry",
        EXEC,
        "mousepad ~/.menu/\"%A(Create New Entry,Package (prepend local. for external progs):,MenuEntry)\""
      )
    ),
    (
      PrefsBackUp,
      ("Backup Preferences", EXEC, "~/GNUstep/Scripts/wmaker-prefs-save"),
      (
        "Restore Preferences",
        OPEN_MENU,
        "~/.cache/WindowMaker/PrefsBackUp WITH ~/GNUstep/Scripts/wmaker-prefs-restore"
      ),
      ("Browse Folder", EXEC, "thunar ~/.cache/WindowMaker/PrefsBackUp")
    ),
    (
      Background,
      (
        Solid,
        (Black, EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
        (
          Blue,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"
        ),
        (
          Indigo,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"
        ),
        (
          Bluemarine,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"
        ),
        (
          Purple,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"
        ),
        (
          Wheat,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"
        ),
        (
          "Dark Gray",
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"
        ),
        (
          Wine,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'"
        )
      ),
      (
        Gradient,
        (
          Sunset,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"
        ),
        (
          Sky,
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"
        ),
        (
          "Blue Shades",
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"
        ),
        (
          "Indigo Shades",
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"
        ),
        (
          "Purple Shades",
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"
        ),
        (
          "Wheat Shades",
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"
        ),
        (
          "Grey Shades",
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"
        ),
        (
          "Wine Shades",
          EXEC,
          "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'"
        )
      ),
      (
        Images,
        OPEN_MENU,
        "-noext /usr/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t"
      )
    ),
    (
      "Icon Sets",
      OPEN_MENU,
      "-noext /usr/share/WindowMaker/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"
    ),
    (
      Styles,
      OPEN_MENU,
      "-noext /usr/share/WindowMaker/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"
    ),
    (
      Themes,
      OPEN_MENU,
      "-noext /usr/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"
    ),
    (
      "Save IconSet",
      SHEXEC,
      "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""
    ),
    (
      "Save Theme",
      SHEXEC,
      "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""
    )
  ),
  (
    Shortcuts,
    (
      "Midnight Commander",
      SHORTCUT,
      "Control+Shift+d",
      SHEXEC,
      "roxterm --title \"Midnight Commander\" --name=mc --separate --disable-sm --geometry 98x36 --execute mc"
    ),
    ("Thunar Filemanager", SHORTCUT, "Control+Mod1+t", EXEC, thunar),
    (
      Terminal,
      SHORTCUT,
      "Control+F12",
      SHEXEC,
      "roxterm --title=Terminal --separate --disable-sm --name=Terminal"
    ),
    (
      "Mutt Mail Client",
      SHORTCUT,
      "Control+Mod1+m",
      SHEXEC,
      "roxterm --geometry=80x38 --title=\"Mutt mail reader\" --separate --disable-sm --name=mutt --execute mutt"
    ),
    (
      Execute...,
      SHORTCUT,
      "Shift+Return",
      EXEC,
      "%A(Execute...,Type command to execute,execute)"
    ),
    (
      StdOut,
      SHORTCUT,
      "Control+Mod1+i",
      SHEXEC,
      "%A(Command output,Enter a command,CmdOutput) | gxmessage -font monospace -center -wrap -buttons ''  -title StdOut -file -"
    ),
    (
      "View file...",
      EXEC,
      "see %A(View file,File name with full path:,Filename)"
    ),
    (
      "Open URL",
      SHORTCUT,
      "Control+Mod1+u",
      EXEC,
      "x-www-browser \"%A(Open URL,Enter web link to open,URLs)\""
    ),
    (
      "Screenshot (selection)",
      SHORTCUT,
      "Shift+Print",
      EXEC,
      "scrot -s -b"
    ),
    ("Screenshot (fullscreen)", SHORTCUT, Print, EXEC, "scrot -b")
  ),
  (
    Session,
    ("New Login", EXEC, "/usr/bin/gdmflexiserver --no-lock"),
    (Screenlock, SHORTCUT, XF86Launch1, EXEC, screenlockcmd),
    (
      "Backlight off",
      SHORTCUT,
      "Shift+Escape",
      EXEC,
      "xset dpms force off"
    ),
    (Refresh, REFRESH),
    ("Save Session", SAVE_SESSION),
    ("Clear Session", CLEAR_SESSION),
    (Restart, SHORTCUT, "Control+Mod1+Home", RESTART),
    (Logout, SHORTCUT, "Control+Mod1+End", EXIT),
    (Shutdown, EXEC, "/usr/bin/wmlive-shutdown")
  )
)
