# # system.vtwmrc.3D # # Default VTWM configuration file; should 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. # # # Variables # NoGrabServer RestartPreviousState NoDefaults #ShowIconManager SortIconManager IconifyByUnmapping RightHandSidePulldownMenus NaturalAutoPanBehavior NotVirtualGeometries FixManagedVirtualGeometries FixTransientVirtualGeometries DecorateTransients ButtonColorIsFrame ShallowReliefWindowButton MoveDelta 3 ResizeRegion "NorthEast" FramePadding 2 ButtonIndent -2 TitlePadding 0 TitleButtonBorderWidth 0 BorderWidth 6 BorderBevelWidth 2 ButtonBevelWidth 1 DoorBevelWidth 1 IconBevelWidth 2 IconManagerBevelWidth 1 InfoBevelWidth 2 MenuBevelWidth 2 TitleBevelWidth 1 VirtualDesktopBevelWidth 1 ClearBevelContrast 40 DarkBevelContrast 40 VirtualDesktop "4x1-0-0" 16 # PanDistanceX 100 # PanDistanceY 100 # PanResistance 750 # AutoPan 100 NoRaiseOnMove NoRaiseOnResize TitleFont "-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*" ResizeFont "-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*" MenuFont "-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*" MenuTitleFont "-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*" DoorFont "-adobe-helvetica-bold-r-normal-*-*-100-*-*-*-*-*-*" IconFont "-adobe-helvetica-bold-r-normal-*-*-120-*-*-*-*-*-*" InfoFont "-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*" VirtualDesktopFont "-adobe-helvetica-medium-r-normal-*-*-75-*-*-*-*-*-*" # # Lists # NailedDown { "VTWM *" "oclock" } NoTitle { "VTWM *" "oclock" } DontShowInDisplay { "VTWM *" "oclock" } IconManagerDontShow { "VTWM *" "oclock" } StartIconified { "VTWM Desktop" } OpaqueMove OpaqueResize Cursors { Wait "hand2" } Pixmaps { TitleHighlight ":xpm:sunkenlines" MenuIconPixmap ":xpm:rarrow" IconManagerPixmap ":xpm:box" } Color { DefaultBackground "#F0F0A0" DefaultForeground "#004840" BorderColor "grey70" BorderTileBackground "gray60" BorderTileForeground "gray60" DoorBackground "maroon" DoorForeground "blue" TitleBackground "#004840" TitleForeground "gray85" MenuBackground "gray85" MenuForeground "#004840" MenuTitleBackground "gray70" MenuTitleForeground "black" IconBackground "#004840" IconForeground "gray85" IconBorderColor "gray85" IconManagerBackground "gray85" IconManagerForeground "#004840" VirtualBackground "#004840" VirtualForeground "red" DesktopDisplayBackground "grey60" DesktopDisplayForeground "grey85" } Monochrome { DefaultBackground "gray50" DefaultForeground "gray85" BorderColor "grey70" BorderTileBackground "gray60" BorderTileForeground "gray60" DoorBackground "gray50" DoorForeground "gray85" TitleBackground "gray50" TitleForeground "gray85" MenuBackground "gray50" MenuForeground "gray85" MenuTitleBackground "gray70" MenuTitleForeground "gray50" IconBackground "gray50" IconForeground "gray85" IconBorderColor "gray85" IconManagerBackground "gray50" IconManagerForeground "gray85" VirtualBackground "gray50" VirtualForeground "black" DesktopDisplayBackground "grey60" DesktopDisplayForeground "grey85" } # # Functions and Bindings # RightTitleButton ":delete" = f.delete Function "move-or-iconify" { f.move f.deltastop f.iconify } Function "move-or-raise" { f.move f.deltastop f.raise } Button1 = : root : f.menu "main" Button3 = : root : f.version Button1 = : title : f.function "move-or-raise" Button3 = : title : f.lower Button1 = : frame : f.resize Button2 = : frame : f.iconify Button3 = : frame : f.raiselower Button1 = : iconmgr : f.iconify Button1 = : virtual | desktop : f.movescreen "Up" = : root : f.panup "100" "Down" = : root : f.pandown "100" "Left" = : root : f.panleft "100" "Right" = : root : f.panright "100" # # Menus # menu "main" { " VTWM " f.title "xterm" f.exec "xterm & " "Applications" f.menu "apps" "" f.separator "MetaWindow" f.menu "metawin" "Window" f.menu "win" "" f.separator "Screenlock" f.exec "xlock -usefirst -mode euler2d -count 5000 &" "Restart" f.restart "Exit" f.menu "exitops" } menu "apps" { "Applications" f.title "firefox" f.exec "/opt/mozilla/bin/firefox &" "galculator" f.exec "galculator &" "nedit" f.exec "nedit &" } menu "metawin" { "MetaWindow" f.title "Window List" f.menu "VTWM Windows" "" f.separator "Show Icon Mgr" f.showiconmgr "Hide Icon Mgr" f.hideiconmgr "" f.separator "Show Desktop" f.showdesktopdisplay "Hide Desktop" f.hidedesktopdisplay } menu "win" { "Window" f.title "Raise" f.raise "Lower" f.lower "" f.separator "Move" f.move "Resize" f.resize "" f.separator "Nail" f.nail "Iconify" f.iconify "" f.separator "Identify" f.identify "" f.separator "Delete" f.delete "Destroy" f.destroy } menu "exitops" ("white":"darkred") { "" f.title "Exit" ("darkred":"white") f.quit }