# # $Xorg: system.twmrc,v 1.3 2000/08/17 19:54:08 cpqbld Exp $ # # Default twm configuration file; needs to be kept small to conserve string # space in systems whose compilers don't handle medium-sized strings. # # Sites should tailor this file, providing any extra title buttons, menus, etc. # that may be appropriate for their environment. For example, if most of the # users were accustomed to uwm, the defaults could be set up not to decorate # any windows and to use meta-keys. # # $XFree86: xc/programs/twm/system.twmrc,v 1.3 2000/01/21 18:41:50 dawes Exp $ # NoDefaults NoGrabServer NoHighlight NoTitleHighlight RestartPreviousState #RandomPlacement DontMoveOff DecorateTransients AutoRelativeResize NoMenuShadow ClientBorderWidth 0 IconBorderWidth 0 BorderWidth 0 TitleFont "-adobe-times-bold-r-normal--*-120-*-*-*-*-*-*" ResizeFont "-adobe-helvetica-bold-r-normal--*-80-*-*-*-*-*-*" MenuFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconFont "-adobe-times-bold-i-normal--*-120-*-*-*-*-*-*" IconManagerFont "-adobe-times-bold-i-normal--*-120-*-*-*" Color { BorderColor "slategrey" { # "xclock" "black" # "xine" "black" # "MPlayer" "black" } DefaultBackground "rgb:2/9/a" DefaultForeground "gray85" TitleBackground "gray90" TitleForeground "gray50" MenuBackground "rgb:2/9/a" MenuForeground "gray85" MenuTitleBackground "CadetBlue" MenuTitleForeground "CadetBlue" MenuBorderColor "CadetBlue" IconBackground "skyblue4" IconForeground "gray85" IconBorderColor "skyblue4" IconManagerBackground "skyblue4" IconManagerForeground "gray85" } WindowRing { "xterm" "kterm" "Emacs" "Opera" "Xpdf" "ethereal" "xine" "MPlayer" "mozilla" "gaim" "mol" "gimp" } WarpCursor { "xterm" "kterm" "Emacs" "soffice.bin" "Xpdf" "ethereal" "xmms" "xine" "MPlayer" "mozilla" "gaim" "mol" "gimp" } NoTitle { "xclock" "oclock" "xcalc" "xconsole" "xload" "xeyes" "xapm" "xbatt" "soffice.bin" "Xpdf" "ethereal" "xmms" "xine" "MPlayer" "mozilla" "mol" "gimp" } DontShowIconManager SortIconManager NoCaseSensitive IconManagerGeometry "70x70+0+0" 1 IconManagerDontShow { "xclock" "oclock" "xeyes" "xbatt" "xcalc" "xload" "xine" "xconsole" "MPlayer" "xmms" } # # Define some useful functions for motion-based actions. # MoveDelta 3 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 "defops" Button1 = : title : f.function "move-or-iconify" Button1 = : icon|iconmgr : f.deiconify Button2 = shift : window|title : f.resize "Tab" = meta : all : f.warpring "prev" "Tab" = control : all : f.warpring "next" "Up" = meta : window|title : f.raise "Down" = meta : window|title : f.lower "a" = meta : window : f.fullzoom "c" = meta : all : f.exec "exec xcalc &" "d" = meta : window : f.destroy "e" = meta : all : f.exec "exec emacs -name Emacs -g 80x54+540+0 &" "f" = meta : all : f.exec "exec firefox &" "g" = meta : all : f.exec "exec gimp &" "h" = meta : iconmgr|window : f.iconify "i" = meta : all : f.showiconmgr "j" = meta : iconmgr|window|icon : f.deiconify "k" = meta : all : f.exec "exec xterm -sl 2048 +sb &" "l" = meta : window|title : f.lower "m" = meta : window : f.move "n" = meta : all : f.downiconmgr "o" = meta : all : f.exec "exec soffice &" "p" = meta : all : f.upiconmgr "r" = meta : all : f.restart "s" = meta : window : f.zoom "t" = meta : all : f.exec "exec sudo ethereal &" "u" = meta : window|title : f.raise "w" = meta : all : f.hideiconmgr "x" = meta : all : f.exec "exec startmol -X &" "z" = meta : window|title : f.resize # # And a menus with the usual things # menu "defops" { "Twm" f.title "Xterm" f.exec "exec xterm -fn 8x16 -sl 512 +sb &" "Emacs" f.exec "exec emacs -name Emacs -g +475+0 &" "FireFox" f.exec "exec firefox &" "MOL" f.exec "exec startmol -X &" "" f.nop "Kill" f.destroy "Delete" f.delete "Resize" f.resize "Restart" f.restart }