Newsgroups: comp.os.linux.x Date: Mon, 18 Nov 2002 16:31:24 -0500
> ...to use with a very slow CPU, a 486-66. Is 'twm' it?
TWM is a most excellent window manager. It can bet left as-is or polished up and decked out to a sophisticated desktop… with in reason of course.
I play herd master to a bunch of laptops… the low, low end ones run TWM. I've added a copy of the system.twm resource file I use on them.
For an in depth view of twm and other window managers, have a loot at: http://www.plig.org/xwinman/
Here's a copy of the/X11/twm/system.twmrc file I use:
# # $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $ # # A little $HOME/.twmrc by Thomas Eriksson brummelufs@hotmail.com # # twm... the original and the best... # # Modified (quite a bit) by Dan Mills <dm@cs.duke.edu> # on Sun Nov 14 10:48:51 EST 1999 # # Modified (a bit more) by Jerry McBride <mcbrides9@comcast.net> # # # Fonts # Some not used.. # TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" # # Misc options # NoGrabServer DecorateTransients NoTitle # No title bars on any windows NoRaiseOnMove # Drag underneath windows OpaqueMove # Show contents while dragging BorderWidth 0 # No borders on any windows ClientBorderWidth 0 ButtonIndent 2 NoHighlight AutoRelativeResize FramePadding 0 Zoom 500 # # Icons # IconManagerGeometry "800x24+0+0" 4 # up/left, four icons per row ShowIconManager # Use the icon manager IconifyByUnmapping # Don't show other icons IconManagerDontShow { "xconsole" "panel" "XMMS" } DontIconifyByUnmapping { "XMMS" } # # Colors # Color { BorderColor "black" DefaultBackground "darkblue" DefaultForeground "white" TitleBackground "navyblue" TitleForeground "white" MenuBackground "midnightblue" MenuForeground "white" MenuTitleBackground "white" MenuTitleForeground "darkblue" IconBackground "darkblue" IconForeground "white" IconBorderColor "darkblue" IconManagerBackground "navy" IconManagerForeground "white" PointerForeground "navy" PointerBackground "white" } # # Cursor settings # Cursors { Frame "left_ptr" Title "left_ptr" Icon "left_ptr" IconMgr "left_ptr" Move "fleur" Resize "fleur" Menu "hand1" Button "hand2" Wait "clock" Select "dot" Destroy "pirate" } # # Define some useful functions for motion-based actions. # MoveDelta 1 Function "move-or-lower" { f.move f.deltastop f.lower } Function "move-or-raise" { f.move f.deltastop f.raise } Function "move-or-iconify" { f.move f.deltastop f.iconify } # # Set some useful bindings. Sort of uwm-ish, sort of # simple-button-ish # Button1 = : root : f.menu "prg" Button2 = : root : f.delete Button3 = : root : f.menu "window" Button1 = m : window|icon : f.function "move-or-lower" Button2 = m : window|icon : f.resize Button3 = m : window|icon : f.iconify Button1 = : title : f.function "move-or-raise" Button2 = : title : f.raiselower Button3 = : title : f.iconify Button1 = : icon : f.function "move-or-iconify" #Button2 = : icon : f.destroy Button3 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.destroy Button3 = : iconmgr : f.iconify # This is for the window bar #LeftTitleButton "/usr/X11/include/bitmaps/checkmark.xbm" = f.delete #RightTitleButton "/usr/X11/include/bitmaps/menu12" = f.resize # # And a menus with the usual things # menu "prg" { "Tab Window Manager" f.title "xterm" f.exec "xterm &" "Email" f.exec "sylpheed --geometry=202x69+0+48 &" "Mozilla" f.exec "mozilla -viewer &" "Xosview" f.exec "xosview +net &" "Xcalc" f.exec "xcalc &" "Network" f.menu "internet" "Graphics" f.menu "graphics" "Music" f.menu "music" } menu "internet" { "Network" f.title "GFTP" f.exec "gftp --geometry=202x69+0+48 &" "GTK-Gnutella" f.exec "gtk-gnutella &" "VNC:1" f.exec "vncviewer -noauto -geometry 800x600 -depth 16 -passwd /root/.vnc/passwd spyro:1 &" } menu "graphics" { "Graphics" f.title "XV" f.exec "xv &" "Gimp" f.exec "gimp &" } menu "music" { "Music" f.title "XMMS" f.exec "xmms &" "Aumix" f.exec "aumix &" } menu "window" { "X Windows" f.title "Kill Window" f.destroy "Delete Window" f.delete "" f.nop "Maximize" f.fullzoom "Minimize" f.iconify "Resize" f.resize "Move" f.move "Raise" f.raise "Lower" f.lower "" f.nop "Focus" f.focus "Unfocus" f.unfocus "Show Iconmgr" f.showiconmgr "Hide Iconmgr" f.hideiconmgr "" f.nop #"Screensaver" f.menu "screensaver" "Redraw" f.refresh "Restart" f.restart "Quit" f.menu "quit" } menu "quit" { "Really Quit?" f.title "No" f.nop #"Yes" f.quit "Yes" f.exec "killall -9 xterm" } menu "screensaver" { "ZZzz..." f.title "xscreensaver-nolock" f.exec "xscreensaver-command -activate &" "xscreensaver-lock" f.exec "xscreensaver-command -lock&" "" f.nop "Laser" f.exec "xlock -nolock -mode laser &" "Qix" f.exec "xlock -nolock -mode qix &" "Star trek" f.exec "xlock -nolock -mode star &" "Galaxy" f.exec "xlock -nolock -mode galaxy -wireframe&" "Pyrotechnical" f.exec "xlock -nolock -mode pyro -wireframe &" "Swarm" f.exec "xlock -nolock -mode swarm &" "Linux" f.exec "xlock -nolock -mode flag &" }
Jerry McBride