Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

9wm(1) [debian man page]

9wm(1)							      General Commands Manual							    9wm(1)

NAME
9wm - 8-1/2-like Window Manager for X SYNOPSIS
9wm [ -grey ] [ -version ] [ -font fname ] [ -term termprog ] [ exit|restart ] DESCRIPTION
9wm is a window manager for X which attempts to emulate the window management policies of Plan 9's 8-1/2 window manager. The -grey option makes the background light grey, as does 8-1/2. Use this option for maximum authenticity. -font fname sets the font in 9wm's menu to fname, overriding the default. -term termprog specifies an alternative program to run when the New menu item is selected. -version prints the current version on standard error, then exits. To make 9wm exit, you have to run 9wm exit on the command line. There is no ``exit'' menu item. 9wm is click-to-type: it has a notion of the current window, which is usually on top, and always has its border darkened. Characters typed at the keyboard go to the current window, and mouse clicks outside the current window are swallowed up by 9wm. To make another window the current one, click on it with button 1. Unlike other X window managers, 9wm implements `mouse focus': mouse events are sent only to the current window. A menu of window operations is available by pressing button 3 outside the current window. The first of these, New, attempts to spawn a 9term process (or xterm if 9term is not available). The new 9term will request that its outline be swept using button 3 of the mouse, by changing the cursor. (xterm defaults to a fixed size, and thus wants to be dragged; pressing button 3 places it.) The next four menu items are Reshape, Move, Delete, and Hide. All of the operations change the cursor into a target, prompting the user to click button 3 on one of the windows to select it for the operation. At this stage, clicking button 1 or 2 will abort the operation. Oth- erwise, if the operation was Resize, the user is prompted to sweep out the new outline with button 3. If it was Move, the user should keep the button held down after the initial click that selected the window, and drag the window to the right place before releasing. In either case, button 1 or 2 will abort the operation. If the Delete operation is selected, the window will be deleted when the button is released. This typically kills the client that owns the window. The Hide operation just makes the window invisible. While hidden, the window's name appears on the bottom of the button 3 menu. Selecting that item brings the window back (unhides it). This operation replaces the iconification feature provided by other window man- agers. BUGS
Is not completely compatible with 8-1/2. There is a currently a compiled-in limit of 32 hidden windows. SEE ALSO
9term(1), xterm(1). 9wm(1)

Check Out this Related Man Page

wm2(1)							      General Commands Manual							    wm2(1)

NAME
wm2 - Small, non-configurable Window Manager for X SYNOPSIS
wm2 DESCRIPTION
wm2 is a window manager for X. It provides an unusual style of window decoration and as little functionality as I feel comfortable with in a window manager. wm2 is not configurable, except by editing the source and recompiling the code, and is really intended for people who don't particularly want their window manager to be too friendly. wm2 provides: -- Decorative frames for your windows. -- The ability to move, resize, hide and restore windows -- No icons. -- No configurable root menus, buttons or mouse or keyboard bindings. -- No virtual desktop, toolbars or integrated applications. USING wm2 To run wm2, make sure you're not already running a window manager, make sure the DISPLAY variable is correctly set, and then execute the file "wm2". There are no command-line options or X resources, and there is no start-up file. If your X server doesn't support the Shape extension, wm2 will exit (and will never work on your server); if it can't find the required fonts or allocate the required colours, it will also exit (but you should be able to fix this by changing the definitions in Config.h and recompiling). Available window manipulations are: -- To focus a window: Move your mouse in the window. If you want a different focusing policy, you'll have to recompile wm2 (see the README for info). -- To raise a window: click on its tab or frame, unless you have auto-raise on focus set in Config.h. -- To move a window: make sure it's in focus, then click and drag on its tab. -- To hide a window: make sure it's in focus, then click on the button at the top of its tab. -- To recover a hidden window: click left button on the root window for the root menu, and choose the window you want. -- To start a new xterm: use the first item on root menu ("New"). -- To delete a window: make sure it's in focus, click on the button on the tab, hold the mouse button for at least a second and a half until the cursor changes to a cross, then release. (I know, it's not very easy. On the other hand, things like Windows-95 tend to obscure the fact that most windows already have a perfectly good Close option.) -- To resize a window: make sure it's in focus, then click and drag on its bottom-right corner. For a constrained resize, click and drag on the bottom-left or top-right corner of the enclosing window frame. -- To lower a window: click with the right mouse button on its tab or frame. (This was the only new feature in the second release.) -- To exit from wm2: move the mouse pointer to the very edge of the screen at the extreme lower-right corner, and click left button on the root window for the root menu. The menu should have an extra option labelled "Exit wm2"; select this. (This is a new feature in the third release.) All move and resize operations are opaque. Focus policy. This is a compile-time option. To rebuild, see the README in /usr/share/doc/wm2/README.gz CREDITS
wm2 was written by Chris Cannam, recycling a lot of code and structure from "9wm" by David Hogan (see http://www.cs.su.oz.au/~dhog/ ). 9wm is written in C, so very little of the code is used verbatim, but the intention was to reuse and a lot of the resulting code is recognis- able. (Also 9wm's minimalism was rather inspiring.) I've made enough changes to make it very probable that any bugs you find will be my fault rather than David's. wm2 also uses version 2.0 of Alan Richardson's "xvertext" font-rotation routines. The sideways tabs on the window frames were Andy Green's idea. If you want to hack the code into something else for your own amusement, please go ahead. Feel free to modify and redistribute, as long as you retain the original copyrights as appropriate. AUTHOR
Chris Cannam, cannam@zands.demon.co.uk BUGS
The principal bug is that wm2 now has too many features. That aside, if you find a bug, please report it to me (preferably with a fix). wm2(1)
Man Page

Featured Tech Videos