[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: windowmaker menu



on Mon, Jul 22, 2002, Tom Allison (tallison@tacocat.net) wrote:
> Your notation for the menu.hook file.  That will continue to get
> updated with the Debian packages that are (un)installed?  

Yep.

> If so, then I've been looking for something like this for a while.  I
> like having a menu-set managed by Debian to assist me in finding the
> less used applications.  But I often want my own more up front.

I do similarly, see end of this post, "Debian menus".

> Also, can you assign a key combination for log-out?
> (I haven't really checked so you can tell me to RTM..)

In WPrefs, menus configuration.  Select the exit menu, and add a
keystroke combo to the exit command.  I prefer *not* to leave land-mines
like that lying around, though I've got a hotkey to lock my screen w/
xscreensaver (<shift><alt>/).

Hmm...got some housecleaning to do, WordPerfect's nowhere to be found
any more ;-)  OK, that's now OOo.

Peace.

------------------------------------------------------------------------
Karsten's WM Root menu prefs
~/GNUStep/Defaults/WMRootMenu
------------------------------------------------------------------------
(
  Commands,
  (Run..., SHORTCUT, "Mod1+F2", EXEC, "%a(Run, Command to run:)"),
  (Terminal, SHORTCUT, "Shift+Mod1+t", EXEC, rxvt),
  (
    Rootshell,
    SHORTCUT,
    "Shift+Mod1+r",
    EXEC,
    "rxvt -bg grey20 -fg wheat -exec sudo su -"
  ),
  (Mutt, SHORTCUT, "Shift+Mod1+m", EXEC, "rxvt -name muttTerm -e mutt -y"),
  (
    w3m,
    SHORTCUT,
    "Shift+Mod1+w",
    SHEXEC,
    "export SHELL=/usr/local/bin/w3m; rxvt -name w3mTerm -bg '#0a2828' -title w3m -e screen w3m"
  ),
  (
    Applications,
    (Mutt, EXEC, "rxvt -T Mutt -e mutt -y"),
    (Galeon, SHORTCUT, "Shift+Mod1+n", EXEC, galeon),
    (Skipstone, EXEC, skipstone),
    (Dillo, EXEC, dillo),
    (Mozilla, EXEC, mozilla),
    (Gnumeric, EXEC, gnumeric),
    (JPilot, EXEC, jpilot),
    (Gimp, EXEC, gimp),
    (StarOffice, EXEC, soffice),
    (XChat, EXEC, xchat),
    (
      "Xlogo confirm",
      SHEXEC,
      " ~/bin/xlogo.sh \"%a(xlogo ,Run xlogo now [y/n?])\""
    ),
    (
      XShells,
      (Eterm, EXEC, "/usr/bin/Eterm"),
      ("Gnome Term", EXEC, "/usr/bin/gnome-terminal"),
      (Konsole, EXEC, konsole),
      (rxvt, EXEC, rxvt),
      (xterm, EXEC, xterm),
      (wterm, EXEC, wterm)
    ),
    (
      Emulators,
      ("DOS Emulator", EXEC, "/usr/bin/xdos"),
      ("PalmOS Emulator", EXEC, "/usr/bin/pose"),
      (VMWare, EXEC, vmware)
    ),
    (
      Utilities,
      (FSViewer, EXEC, fsviewer),
      (Calculator, EXEC, xcalc),
      (XProp, EXEC, xprop),
      ("Font Chooser", EXEC, xfontsel),
      (ColorMap, EXEC, xcmap),
      (ColorSel, EXEC, xcolorsel),
      (
        top,
        SHORTCUT,
        "Control+Mod1+p",
        EXEC,
        "rxvt -bg black -fg green -fn fixed -T top -e top -s"
      ),
      (xosview, EXEC, xosview)
    )
  ),
  (
    Editors,
    (
      vim,
      SHORTCUT,
      "Shift+Mod1+v",
      EXEC,
      "rxvt -T vim -bg darkslategrey -fg gold -cr yellow1 -e vim"
    ),
    (emacs, EXEC, emacs),
    (xemacs, SHORTCUT, "Shift+Mod1+x", EXEC, xemacs),
    (AbiWord, SHORTCUT, "Shift+Mod1+a", EXEC, AbiWord),
    (WordPerfect, EXEC, "/usr/local/bin/X11/wp"),
    (nedit, EXEC, nedit),
    (ted, EXEC, ted),
    (lyx, EXEC, lyx),
    (
      bvi,
      EXEC,
      "rxvt -T bvi -bg darkslategrey -fg green2 -cr yellow1 -e bvi"
    )
  ),
  (
    Info,
    (Info, INFO_PANEL),
    ("Legal Panel", LEGAL_PANEL),
    ("Default menu", OPEN_MENU, "/etc/X11/WindowMaker/menu "),
    (
      "Help MENU",
      ("Debian Online Help", EXEC, "/usr/bin/dhelp"),
      ("Debian Online Help (old)", EXEC, "/usr/bin/dhelp_fsstnd"),
      ("Gnome Help", EXEC, "/usr/bin/gnome-help-browser"),
      (Info, EXEC, "x-terminal-emulator  -T 'Info' -e /usr/bin/info"),
      (Xman, EXEC, xman)
    )
  ),
  ("Debian menus", OPEN_MENU, "/etc/X11/WindowMaker/menu.hook"),
  (
    WorkSpace,
    (Appearance, OPEN_MENU, appearance.menu),
    ("Arrange Icons", ARRANGE_ICONS),
    ("Clear Session", CLEAR_SESSION),
    ("Hide Others", HIDE_OTHERS),
    ("Save Session", SAVE_SESSION),
    ("Show All", SHOW_ALL)
  ),
  (Workspaces, WORKSPACE_MENU),
  (Refresh, REFRESH),
  (
    Screen,
    (
      Lock,
      SHORTCUT,
      "Shift+Mod1+slash",
      EXEC,
      "/usr/bin/xscreensaver-command -lock"
    ),
    ("Activate (no lock)", EXEC, "/usr/bin/xscreensaver-command -activate"),
    ("Enable Screensaver", EXEC, "/usr/bin/xscreensaver"),
    ("Disable Screensaver", EXEC, "/usr/bin/xscreensaver-command -exit"),
    (
      "Restart Screensaver",
      EXEC,
      "/usr/bin/xscreensaver-command  -restart"
    ),
    ("Demo Screensaver", EXEC, "/usr/bin/xscreensaver-command -demo"),
    ("Screensaver Pefs", EXEC, "/usr/bin/xscreensaver-command -prefs")
  ),
  (
    Exit,
    (Restart, RESTART),
    (
      WindowManagers,
      (WindowMaker, RESTART, "/usr/X11R6/bin/wmaker"),
      (Sawmill, RESTART, "/usr/bin/sawmill"),
      (BlackBox, RESTART, "/usr/bin/blackbox"),
      (Enlightenment, RESTART, "/usr/bin/enlightenment"),
      (fvwm, RESTART, "/usr/bin/X11/fvwm"),
      (vtwm, RESTART, "/usr/bin/X11/vtwm"),
      (twm, RESTART, "/usr/bin/X11/twm"),
      (KDE, RESTART, "/usr/bin/kde2"),
      (GNOME, RESTART, "/usr/bin/gnome-session")
    ),
    (Exit, EXIT),
    ("Exit X Session", SHUTDOWN)
  )
)
------------------------------------------------------------------------

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Support the EFF, they support you:  http://www.eff.org/

Attachment: pgpQMGHUhhOPZ.pgp
Description: PGP signature


Reply to: