Up: SGI graphics Frequently Asked Questions (FAQ)
Next: -13- How can I turn off the IRIX 5.2 Magic user environment?
Previous: -11- Why do 4Dwm, toolchest, Workspace, etc. not recognize an environment variable I set in my shell's startup files in IRIX 4.0.x?
Subject:   -12- How can I change desktops without using the mouse and
                Desks Overview?
Date: 8 Mar 1997 00:00:01 CST

  Ping Huang <pshuang@sgi.com> contributes the following method:

  Unlike some other window managers, you can't navigate between
  desktops geographically, using some Control, Alt, and/or Shift'ed
  version of the arrow keys.  However, you can tell 4Dwm to let you jump
  to a given desktop with a keystroke.  If you want to customize one
  account only, copy /usr/lib/X11/system.4Dwmrc (or possibly
  /usr/lib/X11/$LANG/system.4Dwmrc, if you set the LANG environment
  variable for localization) to the user's home directory as .4Dwmrc.
  Look for the "Keys 4DwmKeyBindings" section, and add lines of the
  following form:

    # IndigoMagic desktops
        <Key>F1                 root|icon|window        f.switch_desk "Desk 1"
        <Key>F2                 root|icon|window        f.switch_desk "Desk 2"
        <Key>F3                 root|icon|window        f.switch_desk "Desk 3"

        <Key>F10                root|icon|window        f.switch_desk "Global"

  The names of the desks are whatever arbitrary names you used to name
  your desks in Desk Overview.  (The "Global" desk is, however, a special
  desk; see Desk Overview help for details.  You still reference its
  name here as you would any other desk.)

Up: SGI graphics Frequently Asked Questions (FAQ)
Next: -13- How can I turn off the IRIX 5.2 Magic user environment?
Previous: -11- Why do 4Dwm, toolchest, Workspace, etc. not recognize an environment variable I set in my shell's startup files in IRIX 4.0.x?