# # $XConsortium: system.twmrc /main/9 1996/10/16 16:14:38 kaleb $ # Copied to ~acorn/.twmrc on 4/19/2000 # Copied to npooley:/home/npooley on 1/11/2000 (EA) # # Acorn's twm configuration file; needs to be kept small to conserve string # space in systems whose compilers don't handle medium-sized strings. # # NoGrabServer RestartPreviousState 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-*-*-*" DecorateTransients #ClientBorderWidth NoDefaults NoRaiseOnMove NoRaiseOnResize RandomPlacement ShowIconManager SortIconManager # better focusing? # Leave this commented out -- it causes problems with modern (cr)Apps using # lame toolkits like QT #NoTitleFocus BorderWidth 7 ButtonIndent 1 TitleButtonBorderWidth 0 TitlePadding 8 # Disable constrained moves (funny doublke click behavior) ConstrainedMoveTime 0 #IconBorderWidth 3 #IconForeground "rgb:ff/ff/ff" #IconBackground "rgb:2f/2f/7f" #IconBorderColor "rgb:7f/00/00" Color { BorderColor "rgb:ef/ff/ef" TitleBackground "rgb:3f/3f/4f" TitleForeground "rgb:ff/ff/ff" BorderTileBackground "rgb:5f/5f/5f" BorderTileForeground "rgb:5f/5f/5f" MenuBackground "rgb:00/60/00" MenuForeground "rgb:ff/ff/ff" MenuTitleBackground "rgb:00/80/00" MenuTitleForeground "rgb:ff/ff/ff" MenuShadowColor "rgb:00/50/00" IconManagerBackground "rgb:2f/2f/7f" IconManagerForeground "rgb:cf/cf/cf" IconManagerHighlight "rgb:ff/00/00" DefaultBackground "rgb:00/00/4f" DefaultForeground "rgb:ff/ff/ff" } NoTitle { "gmc" "panel" "gnome-panel" ".gnome-desktop" "desktop_window" } IconManagerDontShow { "gmc" "panel" "gnome-panel" ".gnome-desktop" } IconifyByUnmapping DontIconifyByUnmapping { "gmc" "panel" "gnome-panel" ".gnome-desktop" } StartIconified { "desktop_window" } # # ICON MANAGER WINDOWS # # (first one is default, others take windows with specific names) # # (all in pixels) # Geometry: =x++ # Apps whose | | | # icons go | | from top # here | NOTE: 10 pix btwn +--from left # | Icon window's | icon managers (in X) # | icon's name | # | | | +---- columns of icons # | | | | # V V V V IconManagerGeometry "=120x5+870+0" 1 IconManagers { "XTerm" "XTERM ICONS" "=160x5+0+0" 1 "CCCCCCCCCC" "EDIT C ICONS" "=120x5+170+0" 1 "HHHHHHHHHH" "EDIT H ICONS" "=120x5+300+0" 1 "EDITwwwwww" "EDIT ICONS" "=120x5+430+0" 1 "Firefox-bin" "BROWSER ICONS" "=280x5+580+0" 1 "Firefox" "BROWSER ICONS" "=280x5+580+0" 1 "Google-chrome-stable" "BROWSER ICONS" "=280x5+560+0" 1 "Google-chrome" "BROWSER ICONS" "=280x5+560+0" 1 "desktop_window" "DESKTOP ICONS" "=50x5+685+0" 1 "Xpdf" "PDF ICONS" "=120x5+1000+0" 1 "Evince" "PDF ICONS" "=120x5+1020+0" 1 "Pidgin" "IM ICONS" "=90x5+1150+0" 1 "Skype" "SK ICONS" "=90x5+1180+0" 1 "OpenOffice.org 3.2" "OO ICONS" "=120x5+1280+0" 1 } # # 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 "move-or-show" { f.move f.deltastop f.deiconify } Function "resize-or-raise" { f.resize f.deltastop f.raise } Function "resize-or-lower" { f.resize f.deltastop f.lower } Function "show" { f.deiconify f.raise } Function "icon-mgr-show" { f.warpto "Top Expanded Edge Panel" f.warpto "xfce4-panel" f.warpto "Bottom Expanded Edge Panel" f.warpto "Network Connect" f.warpto "TWM Icon Manager" f.warpto "XTerm Icon Manager" f.warpto "CCCCCCCCCC Icon Manager" f.warpto "HHHHHHHHHH Icon Manager" f.warpto "EDITwwwwww Icon Manager" f.warpto "Firefox-bin Icon Manager" f.warpto "Firefox Icon Manager" f.warpto "Google-chrome-stable Icon Manager" f.warpto "Google-chrome Icon Manager" f.warpto "Xpdf Icon Manager" f.warpto "Evince Icon Manager" f.warpto "Pidgin Icon Manager" f.warpto "Skype Icon Manager" f.warpto "OpenOffice.org 3.2 Icon Manager" f.warpto "Bottom Expanded Edge Panel" f.warpto "Top Expanded Edge Panel" f.warpto "xfce4-panel" f.warpto "acorn_clock" } Function "icon-mgr-show2" { f.warpto "Top Expanded Edge Panel" f.warpto "xfce4-panel" f.warpto "Bottom Expanded Edge Panel" f.warpto "Network Connect" f.warpto "TWM Icon Manager" f.warpto "XTerm Icon Manager" f.warpto "CCCCCCCCCC Icon Manager" f.warpto "HHHHHHHHHH Icon Manager" f.warpto "EDITwwwwww Icon Manager" f.warpto "Firefox-bin Icon Manager" f.warpto "Firefox Icon Manager" f.warpto "Google-chrome-stable Icon Manager" f.warpto "Google-chrome Icon Manager" f.warpto "Xpdf Icon Manager" f.warpto "Evince Icon Manager" f.warpto "Pidgin Icon Manager" f.warpto "Skype Icon Manager" f.warpto "OpenOffice.org 3.2 Icon Manager" f.warpto "acorn_clock" } ###################################################################### ############### BINDINGS SECTION ##################################### ###################################################################### # # Set some useful bindings. # # # # NOTES: # (man twm for details) # # = : : # # The action to take; one of many f. (see man twm) # Where the mouse pointer must be (see WINDOW PARTS below) # Modifier keys that must be pressed (see MODIFIER KEYS below) # The keysym for the button # # between = and first : is the modifier key # between the two : is window part the pointer touches # after 2nd : is the action # # MODIFIER KEYS (full word or abbreviation ok) (separate multiple with |) # ----------------------------------------------------------------------- # shift, control, lock, meta, mod1, mod2, mod3, mod4, mod5 # s, c, l, m, m1, m2, m3, m4, m5 # (alt) (num (scroll # lock) lock) # # WINDOW PARTS # abbrev word descrip # ------ ------- --------------------------- # w window when mouse is in window # t title when mouse is on title bar # i icon when mouse is on icon # r root when mouse is on root (not on a window or icon) # f frame when mouse is on window frame (left/right/bottom) # m iconmgr when mouse is on icon manager window # all anywhere on screen # Button1 = : root : f.menu "TwmWindows" Button1 = l : root : f.menu "TwmWindows" Button1 = m2 : root : f.menu "TwmWindows" Button1 = l m2 : root : f.menu "TwmWindows" Button1 = m5 : root : f.menu "TwmWindows" Button1 = l m5 : root : f.menu "TwmWindows" Button1 = m2 m5 : root : f.menu "TwmWindows" Button1 = l m2 m5 : root : f.menu "TwmWindows" Button1 = : title : f.function "move-or-raise" Button1 = l : title : f.function "move-or-raise" Button1 = m2 : title : f.function "move-or-raise" Button1 = l m2 : title : f.function "move-or-raise" Button1 = m5 : title : f.function "move-or-raise" Button1 = l m5 : title : f.function "move-or-raise" Button1 = m2 m5 : title : f.function "move-or-raise" Button1 = l m2 m5 : title : f.function "move-or-raise" Button1 = : frame : f.function "resize-or-raise" Button1 = l : frame : f.function "resize-or-raise" Button1 = m2 : frame : f.function "resize-or-raise" Button1 = l m2 : frame : f.function "resize-or-raise" Button1 = m5 : frame : f.function "resize-or-raise" Button1 = l m5 : frame : f.function "resize-or-raise" Button1 = m2 m5 : frame : f.function "resize-or-raise" Button1 = l m2 m5 : frame : f.function "resize-or-raise" Button1 = : i|m : f.function "show" Button1 = l : i|m : f.function "show" Button1 = m2 : i|m : f.function "show" Button1 = l m2 : i|m : f.function "show" Button1 = m5 : i|m : f.function "show" Button1 = l m5 : i|m : f.function "show" Button1 = m2 m5 : i|m : f.function "show" Button1 = l m2 m5 : i|m : f.function "show" Button1 = m : f|t|w : f.function "move-or-raise" #Button1 = m l : f|t|w : f.function "move-or-raise" Button1 = m m2 : f|t|w : f.function "move-or-raise" #Button1 = m l m2 : f|t|w : f.function "move-or-raise" Button1 = m m5 : f|t|w : f.function "move-or-raise" #Button1 = m l m5 : f|t|w : f.function "move-or-raise" Button1 = m m2 m5 : f|t|w : f.function "move-or-raise" #Button1 = m l m2 m5 : f|t|w : f.function "move-or-raise" #Button1 = s : f|t|w : f.function "resize-or-raise" #Button1 = s l : f|t|w : f.function "resize-or-raise" #Button1 = s m2 : f|t|w : f.function "resize-or-raise" #Button1 = s l m2 : f|t|w : f.function "resize-or-raise" #Button1 = s m5 : f|t|w : f.function "resize-or-raise" #Button1 = s l m5 : f|t|w : f.function "resize-or-raise" #Button1 = s m2 m5 : f|t|w : f.function "resize-or-raise" #Button1 = s l m2 m5 : f|t|w : f.function "resize-or-raise" #Button1 = m s : f|t|i|m : f.iconify #Button1 = m s l : f|t|i|m : f.iconify #Button1 = m s m2 : f|t|i|m : f.iconify #Button1 = m s l m2 : f|t|i|m : f.iconify #Button1 = m s m5 : f|t|i|m : f.iconify #Button1 = m s l m5 : f|t|i|m : f.iconify #Button1 = m s m2 m5 : f|t|i|m : f.iconify #Button1 = m s l m2 m5 : f|t|i|m : f.iconify ###################### #Button2 = : f|t|i : f.iconify #Button2 = l : f|t|i : f.iconify #Button2 = m2 : f|t|i : f.iconify #Button2 = l m2 : f|t|i : f.iconify #Button2 = m5 : f|t|i : f.iconify #Button2 = l m5 : f|t|i : f.iconify #Button2 = m2 m5 : f|t|i : f.iconify #Button2 = l m2 m5 : f|t|i : f.iconify Button2 = : root : f.menu "rootmenu" Button2 = l : root : f.menu "rootmenu" Button2 = m2 : root : f.menu "rootmenu" Button2 = l m2 : root : f.menu "rootmenu" Button2 = m5 : root : f.menu "rootmenu" Button2 = l m5 : root : f.menu "rootmenu" Button2 = m2 m5 : root : f.menu "rootmenu" Button2 = l m2 m5 : root : f.menu "rootmenu" ###################### Button3 = : root : f.menu "rootmenu" Button3 = l : root : f.menu "rootmenu" Button3 = m2 : root : f.menu "rootmenu" Button3 = l m2 : root : f.menu "rootmenu" Button3 = m5 : root : f.menu "rootmenu" Button3 = l m5 : root : f.menu "rootmenu" Button3 = m2 m5 : root : f.menu "rootmenu" Button3 = l m2 m5 : root : f.menu "rootmenu" Button3 = : f|t|i|m : f.menu "winmenu" Button3 = l : f|t|i|m : f.menu "winmenu" Button3 = m2 : f|t|i|m : f.menu "winmenu" Button3 = l m2 : f|t|i|m : f.menu "winmenu" Button3 = m5 : f|t|i|m : f.menu "winmenu" Button3 = l m5 : f|t|i|m : f.menu "winmenu" Button3 = m2 m5 : f|t|i|m : f.menu "winmenu" Button3 = l m2 m5 : f|t|i|m : f.menu "winmenu" ###################### #"F1" = : w|t|i|f|m : f.raise #"F1" = l : w|t|i|f|m : f.raise #"F1" = : root : f.circleup #"F1" = l : root : f.circleup "F2" = : w|t|i|f|m : f.raise "F2" = l : w|t|i|f|m : f.raise #"F2" = m2 : w|t|i|f|m : f.raise #"F2" = l m2 : w|t|i|f|m : f.raise "F2" = m5 : w|t|i|f|m : f.raise "F2" = l m5 : w|t|i|f|m : f.raise #"F2" = m2 m5 : w|t|i|f|m : f.raise #"F2" = l m2 m5 : w|t|i|f|m : f.raise "F2" = : root : f.circleup "F2" = l : root : f.circleup #"F2" = m2 : root : f.circleup #"F2" = l m2 : root : f.circleup "F2" = m5 : root : f.circleup "F2" = l m5 : root : f.circleup #"F2" = m2 m5 : root : f.circleup #"F2" = l m2 m5 : root : f.circleup "F3" = : w|t|i|f|m : f.lower "F3" = l : w|t|i|f|m : f.lower #"F3" = m2 : w|t|i|f|m : f.lower #"F3" = l m2 : w|t|i|f|m : f.lower "F3" = m5 : w|t|i|f|m : f.lower "F3" = l m5 : w|t|i|f|m : f.lower #"F3" = m2 m5 : w|t|i|f|m : f.lower #"F3" = l m2 m5 : w|t|i|f|m : f.lower "F3" = : root : f.circledown "F3" = l : root : f.circledown #"F3" = m2 : root : f.circledown #"F3" = l m2 : root : f.circledown "F3" = m5 : root : f.circledown "F3" = l m5 : root : f.circledown #"F3" = m2 m5 : root : f.circledown #"F3" = l m2 m5 : root : f.circledown "F4" = : w|t|i|f|m : f.iconify "F4" = l : w|t|i|f|m : f.iconify #"F4" = m2 : w|t|i|f|m : f.iconify #"F4" = l m2 : w|t|i|f|m : f.iconify "F4" = m5 : w|t|i|f|m : f.iconify "F4" = l m5 : w|t|i|f|m : f.iconify #"F4" = m2 m5 : w|t|i|f|m : f.iconify #"F4" = l m2 m5 : w|t|i|f|m : f.iconify "F5" = : all : f.exec "~/bin/muw" "F5" = l : all : f.exec "~/bin/muw" #"F5" = m2 : all : f.exec "~/bin/muw" #"F5" = l m2 : all : f.exec "~/bin/muw" "F5" = m5 : all : f.exec "~/bin/muw" "F5" = l m5 : all : f.exec "~/bin/muw" #"F5" = m2 m5 : all : f.exec "~/bin/muw" #"F5" = l m2 m5 : all : f.exec "~/bin/muw" "F6" = : all : f.exec "~/bin/vw" "F6" = l : all : f.exec "~/bin/vw" #"F6" = m2 : all : f.exec "~/bin/vw" #"F6" = l m2 : all : f.exec "~/bin/vw" "F6" = m5 : all : f.exec "~/bin/vw" "F6" = l m5 : all : f.exec "~/bin/vw" #"F6" = m2 m5 : all : f.exec "~/bin/vw" #"F6" = l m2 m5 : all : f.exec "~/bin/vw" "F7" = : all : f.exec "~/bin/mw" "F7" = l : all : f.exec "~/bin/mw" #"F7" = m2 : all : f.exec "~/bin/mw" #"F7" = l m2 : all : f.exec "~/bin/mw" "F7" = m5 : all : f.exec "~/bin/mw" "F7" = l m5 : all : f.exec "~/bin/mw" #"F7" = m2 m5 : all : f.exec "~/bin/mw" #"F7" = l m2 m5 : all : f.exec "~/bin/mw" "F8" = : all : f.exec "~/bin/tw" "F8" = l : all : f.exec "~/bin/tw" #"F8" = m2 : all : f.exec "~/bin/tw" #"F8" = l m2 : all : f.exec "~/bin/tw" "F8" = m5 : all : f.exec "~/bin/tw" "F8" = l m5 : all : f.exec "~/bin/tw" #"F8" = m2 m5 : all : f.exec "~/bin/tw" #"F8" = l m2 m5 : all : f.exec "~/bin/tw" "F9" = : all : f.exec "~/bin/onecommand" "F9" = l : all : f.exec "~/bin/onecommand" #"F9" = m2 : all : f.exec "~/bin/onecommand" #"F9" = l m2 : all : f.exec "~/bin/onecommand" "F9" = m5 : all : f.exec "~/bin/onecommand" "F9" = l m5 : all : f.exec "~/bin/onecommand" #"F9" = m2 m5 : all : f.exec "~/bin/onecommand" #"F9" = l m2 m5 : all : f.exec "~/bin/onecommand" "F10" = : all : f.function "icon-mgr-show" "F10" = l : all : f.function "icon-mgr-show" #"F10" = m2 : all : f.function "icon-mgr-show" #"F10" = l m2 : all : f.function "icon-mgr-show" "F10" = m5 : all : f.function "icon-mgr-show" "F10" = l m5 : all : f.function "icon-mgr-show" #"F10" = m2 m5 : all : f.function "icon-mgr-show" #"F10" = l m2 m5 : all : f.function "icon-mgr-show" "F11" = : all : f.function "icon-mgr-show2" "F11" = l : all : f.function "icon-mgr-show2" #"F11" = m2 : all : f.function "icon-mgr-show2" #"F11" = l m2 : all : f.function "icon-mgr-show2" "F11" = m5 : all : f.function "icon-mgr-show2" "F11" = l m5 : all : f.function "icon-mgr-show2" #"F11" = m2 m5 : all : f.function "icon-mgr-show2" #"F11" = l m2 m5 : all : f.function "icon-mgr-show2" ###"F11" = : all : f.exec "~/bin/onecommand_full" ###"F11" = l : all : f.exec "~/bin/onecommand_full" ####"F11" = m2 : all : f.exec "~/bin/onecommand_full" ####"F11" = l m2 : all : f.exec "~/bin/onecommand_full" ###"F11" = m5 : all : f.exec "~/bin/onecommand_full" ###"F11" = l m5 : all : f.exec "~/bin/onecommand_full" ####"F11" = m2 m5 : all : f.exec "~/bin/onecommand_full" ####"F11" = l m2 m5 : all : f.exec "~/bin/onecommand_full" "F12" = : all : f.exec "~/bin/ns1" "F12" = l : all : f.exec "~/bin/ns1" #"F12" = m2 : all : f.exec "~/bin/ns1" #"F12" = l m2 : all : f.exec "~/bin/ns1" "F12" = m5 : all : f.exec "~/bin/ns1" "F12" = l m5 : all : f.exec "~/bin/ns1" #"F12" = m2 m5 : all : f.exec "~/bin/ns1" #"F12" = l m2 m5 : all : f.exec "~/bin/ns1" LeftTitleButton ":xlogo" = f.delete LeftTitleButton ":dot" = f.iconify #RightTitleButton ":resize" = f.fullzoom #RightTitleButton ":xlogo" = f.delete ###################################################################### ############### MENU SECTION ######################################### ###################################################################### # # And menus with the usual things # menu "rootmenu" { "Twm" f.title "XTerm Purple" f.exec "~/bin/tw" "XTerm Green" f.exec "~/bin/tw g" "XTerm Lightblue" f.exec "~/bin/tw l" "XTerm Red" f.exec "~/bin/tw r" "XTerm Brown" f.exec "~/bin/tw b" "XTerm Indigo" f.exec "~/bin/tw i" "XTerm Hotpink" f.exec "~/bin/tw h" "XTerm Kblack" f.exec "~/bin/tw k" "XTerm White" f.exec "~/bin/tw w" "XTerm Orange" f.exec "~/bin/tw o" "" f.nop "Manpage" f.exec "~/bin/mw" "Manpage (small)" f.exec "~/bin/mw -s" "" f.nop "Raise Bottom Window (F4)" f.circleup "Restart twm" f.restart } # # Used to be in root menu # #"-----" f.nop #"Iconify" f.iconify #"Resize" f.resize #"Move" f.move #"Raise" f.raise #"Lower" f.lower #"-----" f.nop #"Focus" f.focus #"Unfocus" f.unfocus #"-----" f.nop #"Destroy" f.destroy #"Delete" f.delete # # # menu "winmenu" { "Window Menu" f.title "Window Info" f.identify "Close" f.delete "" f.nop "Zoom" f.fullzoom "Zoom Wide" f.horizoom "Zoom Tall" f.zoom "Zoom to Left" f.leftzoom "Zoom to Right" f.rightzoom "Zoom to Top" f.topzoom "Zoom to Bottom" f.bottomzoom "" f.nop "Raise (F2)" f.raise "Lower (F3)" f.lower "Resize (F4)" f.resize "Iconify (F5)" f.iconify "Move (F6)" f.move "" f.nop "DESTROY" f.destroy "" f.nop "XTerm Purple" f.exec "~/bin/tw" "XTerm Green" f.exec "~/bin/tw g" "XTerm Lightblue" f.exec "~/bin/tw l" "XTerm Red" f.exec "~/bin/tw r" "XTerm Brown" f.exec "~/bin/tw b" "XTerm Indigo" f.exec "~/bin/tw i" "XTerm Hotpink" f.exec "~/bin/tw h" "XTerm Kblack" f.exec "~/bin/tw k" "XTerm White" f.exec "~/bin/tw w" "XTerm Orange" f.exec "~/bin/tw o" "" f.nop "Manpage" f.exec "~/bin/mw" "Manpage (small)" f.exec "~/bin/mw -s" "" f.nop "Raise Bottom Window (F4)" f.circleup "Restart twm" f.restart }