# # $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 # JAPANESE FONT SETTING # TitleFont "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1,-mnkaname-*-medium-r-normal--12-*-*-*-*-*-jisx0208.1983-0" ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" MenuFont "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1,-mnkaname-*-medium-r-normal--12-*-*-*-*-*-jisx0208.1983-0" IconFont "-adobe-helvetica-midium-r-normal--*-*-*-*-*, -misc-*-medium-r-normal--*-*-*-*-*-*-jisx0208.1983-0" IconManagerFont "-adobe-helvetica-midium-r-normal--*-*-*-*-*, -misc-*-medium-r-normal--*-*-*-*-*-*-jisx0208.1983-0" # ORIGINAL FONT SETTING # #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 "-misc-*-midium-*-*-*-*-*-*-*-*-*-0,-misc-*-midium-*-*-*-*-*-*-*-*-jisx0208.1983-0" ShowWorkSpaceManager # start with workspcace manager up #UseThreeDMenus #UseThreeDTitles #UseThreeDIconManagers #UseThreeDBorders #UseThreeDWMap SunkFocusWindowTitle ShowIconManager IconManagerGeometry "1024x10+0-0" 10 "p" = m : all : f.function "next-window" "n" = m : all : f.function "prev-window" "z" = m : all : f.zoom "i" = m : all : f.iconify "r" = m : all : f.raise "e" = m : all : f.function "xemacs" "f" = m : all : f.focus "u" = m : all : f.unfocus "m" = m : all : f.function "mozilla" "w" = m : all : f.warptoiconmgr "" "z" = m : all : f.fullzoom # Goto Workspace "1" = m : all : f.gotoworkspace "1" "2" = m : all : f.gotoworkspace "2" "3" = m : all : f.gotoworkspace "3" "4" = m : all : f.gotoworkspace "4" Function "next-window" {f.backiconmgr f.lower} Function "prev-window" {f.forwiconmgr f.lower} Function "xemacs" {f.exec "xemacs -geometry 80x40+515+151 &"} #Function "netscape" {f.exec "netscape6&"} Function "mozilla" {f.exec "mozilla 520x700+0+0 &"} workspacemanagergeometry "160x20-0-0" 4 WorkSpaces { "1" {"#686B9F" "white" "DeepSkyBlue3" "white" "lightblue"} "2" {"#619AAE" "white" "DeepSkyBlue3" "white" "lightblue"} "3" {"#727786" "white" "DeepSkyBlue3" "white" "lightblue"} "4" {"#8C5b7A" "white" "DeepSkyBlue3" "white" "lightblue"} } OccupyAll { "xeyes" "oclock" "xppxpm" } Color { BorderColor "Red" DefaultBackground "blue" DefaultForeground "gray85" BorderTileBackground "DeepSkyBlue1" BorderTileForeground "Black" TitleBackground "NavyBlue" TitleForeground "Orange" MenuBackground "#686B9F" MenuForeground "white" MenuTitleBackground "gray70" MenuTitleForeground "White" IconBackground "LightSlateBlue" IconForeground "White" IconBorderColor "gray85" IconManagerBackground "DeepSkyBlue1" {"Axe" "DeepSkyBlue3" "xload" "DeepSkyBlue2"} IconManagerForeground "Black" MapWindowBackground "DeepSkyBlue1" { "root*" "Red" "xterm" "DeepSkyBlue3" "Axe" "Yellow" } MapWindowForeground "Black" { "xterm" "White" } } IconManagerDontShow { "WorkSpaceManager" "xeyes" "oclock" "xppxpm" } NoTitle { # little programs that look like icons "TWM Icon Manager" "WorkSpaceManager" "xeyes" "oclock" "xppxpm" "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" 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 "move-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" { "Twm" f.title "Kterm" !"kterm -sb -sl 1024 -vb &" "Xterm" !"xterm -sb -sl 1024 -vb &" "XEmacs" !"xemacs -geometry 80x40+515+151 &" # "Netscape47" !"netscape &" "Mozilla 0.7" !"mozilla -geometry 400x600+0+0 &" "Dia" !"dia&" "jpilot" !"jpilot&" # "Netscape6" !"netscape6 &" # "Xppxpm" !"xppxpm -geometry 48x48-0+100 kiwi03 &" "Xmms" !"xmms -geometry 275x116+645+0 &" "" f.nop "Restart" f.restart "Exit" f.quit } menu "windowops" { "Windows" f.title "Occupy" f.occupy "Occupy All" f.occupyall "Iconify" f.iconify "Refresh" f.refresh "Vanish" f.vanish "Info" f.identify "" f.separator "Resize" f.resize "Move" f.move "Adopt Window" f.adoptwindow "Animate" f.startanimation "Don't animate" f.stopanimation "" f.separator "Send Delete" f.delete "Kill Window" f.destroy "Pin menu" f.pin } menu "windowmenu" { "Occupy ..." f.occupy "Occupy All" f.occupyall "Iconify" f.iconify "RaiseLower" f.raiselower "Refresh" f.winrefresh "Zoom" f.menu "Zoom" "Vanish" f.vanish "Focus" f.focus "Unfocus" f.unfocus "" f.separator "Send Delete" f.delete "Kill Window" f.destroy "Resize..." f.resize "Move..." f.move } menu "iconmenu" { "Actions" f.title "" f.separator "Restore" f.iconify "Move" f.move "Occupy ..." f.occupy "Occupy All" f.occupyall "" f.separator "Send Delete" f.delete "Kill Window" f.destroy } #NoDefaults #LeftTitleButton "xlogo11" = f.iconify #RightTitleButton "" = f.resize