# Chunky Kibbles' vtwmrc # # Noticable key shortcuts for this config: # with the mouse over the root window, hit any of: # vi keys to move between virtual desktops... also works with numpad # and arrow keys # Hitting Enter pops up a new xterm # Hitting backspace pops up a new Firebird window. # Don't worry about the locking, I've got it covered (= # Hitting space centers the screen on the nearest whole virtual screen # Moving the mousewheel while over the root window scroll right/left # Shift+mousewheel makes virtual screen go up/down PanDistanceX 100 PanDistanceY 100 PanResistance 300 AutoPan 100 NaturalAutopanBehavior AutoPanBorderWidth 3 RestartPreviousState FixTransientVirtualGeometries FixManagedVirtualGeometries NotVirtualGeometries VirtualDesktop "5x2-0-0" 20 DeiconifyToScreen LessRandomZoomZoom PrettyZoom ZoomZoom VirtualReceivesMotionEvents VirtualSendsMotionEvents OpaqueMove OpaqueResize OldFashionedTwmWindowsMenu BorderWidth 1 StickyAbove ButtonIndent 1 TitleButtonBorderWidth 0 ConstrainedMoveTime 0 DecorateTransients IconRegion "800x100+0-0" SOUTH WEST 75 25 NoGrabServer NoRaiseOnMove NoRaiseOnResize NoSaveUnders RandomPlacement SqueezeTitle Zoom 500 WarpUnmapped InterpolateMenuColors NoDefaultTitleButtons LeftTitleButton "xlogo11" = f.delete RightTitleButton "rdblarrow" = f.resize #Doors { # "TL" "31x25+3-0" "+0+0" # "BR" "31x25+34-0" "+4608+864" #} DontShowInDisplay { "VTWM *" "xdaliclock" "xstroke" } AutoRaise { "VTWM *" "xdaliclock" "xstroke" } DontShowInVtwmWindows { "VTWM *" "xdaliclock" "xstroke" } NailedDown { "VTWM *" "xdaliclock" "xstroke" } NoTitle { "VTWM *" "xdaliclock" "xstroke" } Cursors { Button "right_ptr" Menu "left_ptr" Title "left_ptr" Frame "left_ptr" Icon "left_ptr" Wait "watch" Destroy "pirate" } Color { DefaultBackground "black" DefaultForeground "lightblue" BorderColor "darkgreen" TitleBackground "darkblue" TitleForeground "lightblue" MenuBackground "darkblue" MenuForeground "lightblue" MenuTitleBackground "darkblue" MenuTitleForeground "lightblue" IconBackground "darkblue" IconForeground "lightblue" IconBorderColor "red" IconManagerBackground "darkblue" IconManagerForeground "lightblue" } Monochrome { BorderColor "white" MenuBackground "white" MenuForeground "black" MenuTitleBackground "white" MenuTitleForeground "black" IconManagerHighlight "black" } Function "move-or-raise" { f.move f.deltastop f.raise } Function "move-or-raiselower" { f.move f.deltastop f.raiselower } Function "move-or-iconify" { f.move f.deltastop f.iconify } DefaultFunction f.nop Button1 = : title : f.function "move-or-raiselower" Button2 = : title : f.menu "Title Menu" Button3 = : title : f.resize Button1 = m : window|icon : f.iconify Button2 = m : window|icon : f.function "move-or-raiselower" Button3 = m : window|icon : f.resize Button1 = c : title : f.focus Button1 = c : root : f.unfocus Button1 = : root : f.menu "Things" Button2 = : root : f.menu "Stuff" Button3 = : root : f.menu "TWM" Button1 = : icon : f.function "move-or-iconify" "w" = m : title|window|icon|root : f.delete "space" = : root|virtual|frame : f.snap "Return" = : root|virtual|frame : f.exec "xterm -sb -si -sl 5000 -e bash --login&" "BackSpace" = : root|virtual|frame : f.exec "/usr/local/MozillaFirebird/MozillaFirebird -remote \"openURL (about:blank, new-window)\" || /usr/local/MozillaFirebird/MozillaFirebird &" "Up" = : root|title|icon|virtual|frame : f.panup "100" "Down" = : root|title|icon|virtual|frame : f.pandown "100" "Left" = : root|title|icon|virtual|frame : f.panleft "100" "Right" = : root|title|icon|virtual|frame : f.panright "100" "k" = : root|title|icon|virtual|frame : f.panup "100" "j" = : root|title|icon|virtual|frame : f.pandown "100" "h" = : root|title|icon|virtual|frame : f.panleft "100" "l" = : root|title|icon|virtual|frame : f.panright "100" "KP_8" = : root|title|icon|virtual|frame : f.panup "100" "KP_2" = : root|title|icon|virtual|frame : f.pandown "100" "KP_4" = : root|title|icon|virtual|frame : f.panleft "100" "KP_6" = : root|title|icon|virtual|frame : f.panright "100" Button4 = s : root|title|icon|virtual|frame : f.panup "100" Button5 = s : root|title|icon|virtual|frame : f.pandown "100" Button4 = : root|title|icon|virtual|frame : f.panright "100" Button5 = : root|title|icon|virtual|frame : f.panleft "100" Button1 = : door : f.enterdoor Button2 = : door : f.namedoor Button3 = : door : f.deletedoor menu "Things" { "Things" f.title "new xterm" !"xterm -sb -si -sl 5000 -e bash --login&" "" f.nop "Close" f.delete "" f.nop "Phoenix" !"/usr/local/MozillaFirebird/MozillaFirebird -remote \"openURL (about:blank, new-window)\" || /usr/local/MozillaFirebird/MozillaFirebird &" "OpenOffice" !"~/.OpenOffice.org1.1/soffice &" "Icculus" !"xterm -si -sl 5000 -e ssh chunky@icculus.org &" "" f.nop "Things" f.menu "randomthings" "Browsers" f.menu "browsers" "" f.nop "CXOffice" f.menu "cxoffice" "" f.nop "Other Comms" f.menu "Comms" } menu "browsers" { "Lefty NS4" !"ssh lefty netscape &" "Sparky NS3" !"ssh sparky ns3/netscape &" "localhost NS" !"/usr/bin/netscape &" "localhost Gal" !"/usr/bin/galeon &" "IE" !"/usr/local/cxoffice/bin/iexplore &" } menu "cxoffice" { "WinWord" !"/usr/local/cxoffice/bin/winword &" "MPlayer" !"/usr/local/cxoffice/bin/wine \"c:/Program Files/Windows Media Player/mplayer2.exe\" &" "IE" !"/usr/local/cxoffice/bin/iexplore &" "Setup" !"/usr/local/cxoffice/bin/officesetup &" } menu "randomthings" { "zoomzoom" f.zoomzoom "Gimp" ("white":"darkred") !"gimp &" "Lyx" !"lyx &" "XFig" !"xfig &" "OpenOffice" !"~/.OpenOffice.org1.1/soffice &" "StarOffice" !"~/.staroffice6.0/soffice &" "Xscreensaver" ("white":"darkgreen") !"xscreensaver-demo &" "Bardia" !"xlock &" "xawtv" !"xawtv &" "webcamupdate" ("red":"darkblue") !"~/bin/workwebcam.sh &" } menu "Comms" { "AIM" !"gaim &" "Mozilla" !"mozilla &" "Netscape" !"/usr/bin/netscape &" } menu "Stuff" { "Stuff" f.title "" f.nop "Release Host" ! "xhost +" "Reclaim Host" ! "xhost -" "" f.nop "Reset Root" ! "xsetroot -def &" "" f.nop "Close" f.delete "" f.nop "Logout" f.quit "Read .twmrc" f.twmrc } menu "TWM" { "TWM" f.title "Window ops" f.menu "Window Ops" "Windows" f.menu "TwmWindows" "" f.nop "Refresh" f.refresh "Unfocus" f.unfocus "Show Icon Box" f.showiconmgr "Hide Icon Box" f.hideiconmgr "Version" f.version "" f.nop "New Door" f.newdoor "Restart" f.restart "Logout" f.quit } menu "Window Ops" { "Window Ops" f.title "Full Zoom" f.fullzoom "Move" f.move "Resize" f.resize "Lower" f.lower "Raise" f.raise "Iconify" f.iconify "Deiconify" f.deiconify "Identify" f.identify "Focus" f.focus "Kill" f.destroy } menu "Title Menu" { "VZoom" f.zoom "Stick" f.stick "Lower" f.lower "Raise" f.raise "Resize" f.resize "Move" f.move "Iconify" f.iconify "Identify" f.identify "Focus" f.focus "Kill" f.destroy "Dismiss" f.delete }