# # $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea 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. # NoGrabServer RestartPreviousState DecorateTransients 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-*-*-*-*-*-*" ShowWorkSpaceManager # start with workspace manager up UseThreeDMenus UseThreeDTitles UseThreeDIconManagers #UseThreeDBorders UseThreeDWMap #SunkFocusWindowTitle #AutoSqueeze {"*"} BorderWidth 2 SqueezeTitle AutoRelativeResize IconManagerGeometry "202x300-0+0" 1 WorkSpaceManagerGeometry "360x60-0-0" 4 WorkSpaces { "One" {"rgb:0/6/6" "rgb:f/f/f" "rgb:1/2/3" "rgb:f/f/f"} "Two" {"rgb:4/4/6" "rgb:f/f/f" "rgb:4/4/6" "rgb:f/f/f"} "Three" {"rgb:6/4/4" "rgb:f/f/f" "rgb:6/4/4" "rgb:f/f/f"} "Four" {"rgb:6/6/6" "rgb:f/f/f" "rgb:6/6/6" "rgb:f/f/f"} # "Five" {"rgb:0/4/4" "rgb:f/f/f" "rgb:0/4/4" "rgb:f/f/f"} # "Six" {"rgb:2/2/4" "rgb:f/f/f" "rgb:2/2/4" "rgb:f/f/f"} # "Seven" {"rgb:4/2/2" "rgb:f/f/f" "rgb:4/2/2" "rgb:f/f/f"} # "Eight" {"rgb:4/4/4" "rgb:f/f/f" "rgb:4/4/4" "rgb:f/f/f"} } Color { BorderColor "rgb:0/0/0" DefaultBackground "rgb:0/8/0" DefaultForeground "rgb:e/e/e" BorderTileBackground "rgb:0/8/8" BorderTileForeground "rgb:0/0/0" TitleBackground "rgb:2/a/9" TitleForeground "grey85" MenuBackground "rgb:2/a/9" MenuForeground "grey85" MenuTitleBackground "grey70" MenuTitleForeground "rgb:2/a/9" IconBackground "rgb:2/a/9" IconForeground "grey85" IconBorderColor "rgb:0/0/0" IconManagerBackground "rgb:0/8/8" IconManagerForeground "rgb:0/f/f" MapWindowBackground "rgb:8/8/8" MapWindowForeground "rgb:0/0/0" } #Cursors #{ # Root "arrow" # Frame "top_left_arrow" # Title "top_left_arrow" # Icon "top_left_arrow" # IconMgr "top_left_arrow" # Move "fleur" # Resize "fleur" # Menu "sb_left_arrow" # Button "hand2" # Wait "watch" # Select "dot" # Destroy "pirate" #} IconManagerDontShow { # do not display these windows in the icon manager } NoTitle {"xmms" "gkrellm" "xclock"# do not place a title bar on these windows } AutoRaise { # automatically raise these windows } # # 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 } Function "resize-or-raise" { f.resize f.deltastop f.raise } # # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish # Button1 = : root : f.menu "defops" Button2 = : root : f.menu "windowops" Button1 = m : window|icon : f.function "move-or-lower" Button2 = m : window|icon : f.iconify Button3 = m : window|icon : f.function "resize-or-raise" Button1 = : title : f.function "move-or-raise" Button2 = : title : f.raiselower Button1 = : icon : f.function "move-or-iconify" Button2 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.iconify Button1 = : frame : f.resize Button1 = m : frame : f.move Button2 = : frame : f.raiselower # # And a menus with the usual things # menu "defops" { "Main Menu" f.title "Debian" f.menu "/Debian" "" f.separator "Show Icon Manager" f.showiconmgr "Hide Icon Manager" f.hideiconmgr "" f.separator "Show WorkSpace Manager" f.showworkspacemgr "Hide WorkSpace Manager" f.hideworkspacemgr "" f.separator "Refresh screen" f.refresh "" f.separator "Exit" f.menu "Quit-Verify" } menu "Quit-Verify" { "Really quit ctwm?" f.title "No, restart ctwm" f.restart "Yes, really quit" f.quit } menu "windowops" { "Window Ops" f.title "Occupy..." f.occupy "Occupy All" f.occupyall "Vanish" f.vanish "" f.separator "(De)Iconify" f.iconify "Refresh" f.winrefresh "Info..." f.identify "" f.separator "Resize" f.resize "(Un)Squeeze" f.squeeze "Zoom" f.menu "zoomops" "" f.separator "Move" f.move "Pack move" f.movepack "Push move" f.movepush "" f.separator "Restart animations" f.startanimation "Freeze animations" f.stopanimation "" f.separator "Close" f.delete "Kill" f.destroy } menu "zoomops" { "Zoom Ops" f.title "Full zoom" f.fullzoom "Horizontal zoom" f.horizoom "Vertical zoom" f.zoom "Top zoom" f.topzoom "Bottom zoom" f.bottomzoom "Left zoom" f.leftzoom "Right zoom" f.rightzoom } undivert(`/etc/X11/ctwm/menudefs.hook')