# # 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. # #------------------------------------------------------------------------------ # Path -- seems only one path statement is allowed #------------------------------------------------------------------------------ IconDirectory "~/.themes_vtwm/images" #------------------------------------------------------------------------------ # Variables #------------------------------------------------------------------------------ OldFashionedTwmWindowsMenu RandomPlacement NoGrabServer RestartPreviousState NoDefaults ShowIconManager SortIconManager IconifyByUnmapping RightHandSidePulldownMenus NaturalAutoPanBehavior NotVirtualGeometries FixManagedVirtualGeometries FixTransientVirtualGeometries 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 "5x2-0-0" 20 # Original 16 PanDistanceX 100 PanDistanceY 100 PanResistance 750 AutoPan 100 ############################################################################### # Fonts ############################################################################### ##JMCRES1680x1050##TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1680x1050##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1680x1050##MenuFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1680x1050##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1680x1050##DoorFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1680x1050##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1680x1050##InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1680x1050##IconManagerFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1680x1050##VirtualDesktopFont "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*" TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" MenuFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" DoorFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" VirtualDesktopFont "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*" ##JMCRES1024x768##TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##DoorFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1024x768##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1024x768##InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1024x768##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1024x768##VirtualDesktopFont "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*" ##JMCRESOTHERS##TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##DoorFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRESOTHERS##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRESOTHERS##InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRESOTHERS##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRESOTHERS##VirtualDesktopFont "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*" ############################################################################### # Other Icon Managers ############################################################################### ##JMCRES1680x1050##IconManagers ##JMCRES1680x1050##{ ##JMCRES1680x1050## "Amarok" "542x5+1126+898" 1 ##JMCRES1680x1050## "amarok" "542x5+1126+898" 1 ##JMCRES1680x1050## "Audacious" "542x5+1126+898" 1 ##JMCRES1680x1050## "xmms" "542x5+1126+898" 1 ##JMCRES1680x1050## "gxine" "542x5+1126+898" 1 ##JMCRES1680x1050## "[Ff]irefox*" "542x5-0+0" 1 ##JMCRES1680x1050## "[Mm]ozilla*" "542x5-0+0" 1 ##JMCRES1680x1050##} IconManagers { "Amarok" "432x5+836+817" 1 "amarok" "432x5+836+817" 1 "Audacious" "432x5+836+817" 1 "xmms" "432x5+836+817" 1 "gxine" "432x5+836+817" 1 "[Ff]irefox*" "432x5-0+0" 1 "[Mm]ozilla*" "432x5-0+0" 1 } ##JMCRES1024x768##IconManagers ##JMCRES1024x768##{ ##JMCRES1024x768## "Amarok" "349x5+663+645" 1 ##JMCRES1024x768## "amarok" "349x5+663+645" 1 ##JMCRES1024x768## "Audacious" "349x5+663+645" 1 ##JMCRES1024x768## "xmms" "349x5+663+645" 1 ##JMCRES1024x768## "gxine" "349x5+663+645" 1 ##JMCRES1024x768## "[Ff]irefox*" "349x5-0+0" 1 ##JMCRES1024x768## "[Mm]ozilla*" "349x5-0+0" 1 ##JMCRES1024x768##} ############################################################################### # Lists ############################################################################### NoHighlight SqueezeTitle WarpCursor Function "VTWM Profile" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh KILL" f.exec "xsetroot -solid black &" ##JMCRES1024x768## f.exec "rclock -fg gray85 -bg '#20305a' -geometry '79x79+663+678' &" f.exec "rclock -fg gray85 -bg '#20305a' -geometry '98x98+836+850' &" ##JMCRES1680x1050## f.exec "rclock -fg gray85 -bg '#20305a' -geometry '108x108+1126+931' &" } NailedDown { "VTWM *" "Calendar" # Calendar "Information" # gnomecal "[Xx]message*" "asapm" "asclock" "astime" "bubblefishymon" "emiclock" "gkrellm" "gnomecal" # Calendar "lavaps" "mailtool" "oclock" "rclock" "swisswatch" "wmMoonClock" "wmSun" "wmWeather" "wmbiff" "wmcpuload" "wmitime" "wmmemmon" "xbiff" "xclock" "xconsole" "xdaliclock" "xeyes" "xload" "xmailbox" "xneko" "xvclock" } NoTitle { "VTWM *" "asapm" "asclock" "astime" "bubblefishymon" "emiclock" "gkrellm" "lavaps" "oclock" "rclock" "swisswatch" "user_popup" # xbmbrowser "wmMoonClock" "wmSun" "wmWeather" "wmbiff" "wmcpuload" "wmitime" "wmmemmon" "xbiff" "xclock" "xdaliclock" "xeyes" "xload" "xmailbox" "xneko" "xvclock" } DontShowInDisplay { "VTWM *" "asapm" "asclock" "astime" "bubblefishymon" "emiclock" "gkrellm" "lavaps" "oclock" "rclock" "swisswatch" "wmMoonClock" "wmSun" "wmWeather" "wmbiff" "wmcpuload" "wmitime" "wmmemmon" "xbiff" "xclock" "xconsole" "xdaliclock" "xeyes" "xload" "xmailbox" "xneko" "xvclock" } IconManagerDontShow { "VTWM *" "Calendar" "asapm" "asclock" "astime" "bubblefishymon" "emiclock" "gkrellm" "gnomecal" "lavaps" "oclock" "rclock" "swisswatch" "user_popup" # xbmbrowser "wmMoonClock" "wmSun" "wmWeather" "wmbiff" "wmcpuload" "wmitime" "wmmemmon" "xbiff" "xclock" "xdaliclock" "xeyes" "xload" "xmailbox" "xneko" "xvclock" } Pixmaps { TitleHighlight ":xpm:sunkenlines" MenuIconPixmap ":xpm:rarrow" IconManagerPixmap ":xpm:box" } Color { DefaultBackground "#20305a" DefaultForeground "gray85" BorderColor "grey70" BorderTileBackground "gray60" BorderTileForeground "gray60" DoorBackground "#20305a" DoorForeground "gray85" TitleBackground "#20305a" TitleForeground "gray85" MenuBackground "#20305a" MenuForeground "gray85" MenuTitleBackground "gray70" MenuTitleForeground "#20305a" IconBackground "#20305a" IconForeground "gray85" IconBorderColor "gray85" IconManagerBackground "#20305a" IconManagerForeground "gray85" VirtualBackground "#20305a" VirtualForeground "black" DesktopDisplayBackground "gray85" DesktopDisplayForeground "#20305a" RealScreenBackground "gray60" } 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 "gray70" VirtualForeground "black" DesktopDisplayBackground "grey85" DesktopDisplayForeground "black" RealScreenBackground "gray60" } # # Functions and Bindings # Function "move-or-iconify" { f.move f.deltastop f.iconify } Function "move-or-raiselower" { f.move f.deltastop f.raiselower } Function "warpwindow" { f.warpsnug f.warp f.warpsnug } LeftTitleButton ":xpm:bar" = f.menu "Mtitle_menu" RightTitleButton ":xpm:dot" = f.iconify RightTitleButton ":xpm:resize" = f.resize Button1 = : root : f.menu "TwmWindows" Button2 = : root : f.menu "Mroot_middle_button" Button3 = : root : f.menu "Mroot_right_button" Button1 = : title : f.function "move-or-raiselower" Button2 = : title : f.resize Button3 = : title : f.menu "Mtitle_menu" Button1 = : frame : f.resize Button2 = : frame : f.move Button3 = : frame : f.iconify Button1 = : door : f.enterdoor Button2 = : door : f.namedoor Button3 = : door : f.deletedoor Button1 = : icon : f.function "move-or-iconify" Button3 = : icon : f.menu "Mtitle_menu" Button1 = : iconmgr : f.iconify Button3 = : iconmgr : f.warp Button1 = : virtual : f.movescreen Button2 = : virtual : f.movescreen Button3 = : virtual : f.movescreen Button1 = : desktop : f.movescreen Button2 = : desktop : f.warp # morph desktop to window Button3 = : desktop : f.function "warpwindow" # morph window to desktop ############################################################################### # customizations ############################################################################### StayUpOptionalMenus Function "jmc_w1" { f.panup "100" f.panleft "100" f.panleft "100" f.panleft "100" f.panleft "100" } Function "jmc_w2" { f.function "jmc_w1" f.panright "100" } Function "jmc_w3" { f.function "jmc_w1" f.panright "100" f.panright "100" } Function "jmc_w4" { f.function "jmc_w1" f.panright "100" f.panright "100" f.panright "100" } Function "jmc_w5" { f.panup "100" f.panright "100" f.panright "100" f.panright "100" f.panright "100" } Function "jmc_w6" { f.pandown "100" f.panleft "100" f.panleft "100" f.panleft "100" f.panleft "100" } Function "jmc_w7" { f.function "jmc_w6" f.panright "100" } Function "jmc_w8" { f.function "jmc_w6" f.panright "100" f.panright "100" } Function "jmc_w9" { f.function "jmc_w6" f.panright "100" f.panright "100" f.panright "100" } Function "jmc_w10" { f.pandown "100" f.panright "100" f.panright "100" f.panright "100" f.panright "100" } "F1" = m : all : f.function "jmc_w1" "F2" = m : all : f.function "jmc_w2" "F3" = m : all : f.function "jmc_w3" "F4" = m : all : f.function "jmc_w4" "F5" = m : all : f.function "jmc_w5" "F6" = m : all : f.function "jmc_w6" "F7" = m : all : f.function "jmc_w7" "F8" = m : all : f.function "jmc_w8" "F9" = m : all : f.function "jmc_w9" "F10" = m : all : f.function "jmc_w10" "Return" = : iconmgr : f.iconify "1" = m : all : f.iconify "2" = m : all : f.zoom "3" = m : all : f.horizoom "4" = m : all : f.fullzoom "q" = m : all : f.delete "Tab" = m : all : f.lower "r" = m : all : f.restart "Left" = m : all : f.backiconmgr "Right" = m : all : f.forwiconmgr "Up" = m : all : f.backiconmgr "Down" = m : all : f.forwiconmgr ############################################################################### # Add Files ############################################################################### ###ADD_AUTO_RAISE### ###ADD_ICONS### ###ADD_MENU### # some people do not like this, so can be commented # or changed AutoRaiseDelay 100 AutoRaise UnknownIcon "oicon.xbm" Icons { "Xjewel" "tetris2.xbm" "Gnometris" "tetris.xbm" "Brush Selection" "paint2.xbm" "Color Palette" "palette2.xbm" "GVim" "edit.xbm" "Gradient Selection" "grainy.xbm" "Indexed Color Palette" "palette2.xbm" "Load Image" "pic_frame.xbm" "Mozilla-bin" "network.xbm" "New Image" "pic_frame.xbm" "Pattern Selection" "pattern1.xbm" "Save Image" "pic_frame.xbm" "Screen Shot" "terminal_say.xbm" "Send to Mail" "mail_open.xbm" "The GIMP" "palette2.xbm" "The Gimp" "palette2.xbm" "VTWM Desktop" "odesk.xbm" "XGammon-Buttons" "autocad.xbm" "XTerm" "Term" "abiword" "words.xbm" "emacs" "emacs.xbm" "gnome-calculator" "calculator.xbm" "gnome-cd" "cd_caddy.xbm" "gnome-dictionary" "webster_dict.xbm" "gnomecal" "calendar.xbm" "gnumeric" "sc.xbm" "gvim" "edit.xbm" "image_window" "pic_frame.xbm" "kmail" "mail_new.xbm" "konqueror" "filing.xbm" "kspread" "sc.xbm" "kstars" "galaxy.xbm" "kword" "words.xbm" "navigator:browser" "netscape.xbm" "netscape" "netscape.xbm" "print" "printer.xbm" "virtualDesktop" "odesk.xbm" "x11amp" "xfm_au.xbm" "xmahjongg" "chip.xbm" "xpaint" "palette.xbm" } #------------------------------------------------------------------------------ # Created by ~/.themes_vtwm/bin/mk_theme_menu.sh #------------------------------------------------------------------------------ Function "Theme_As" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh As" f.restart } Function "Theme_black" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh black" f.restart } Function "Theme_conky" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh conky" f.restart } Function "Theme_jgrid" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh jgrid" f.restart } Function "Theme_matrix" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh matrix" f.restart } Function "Theme_slate" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh slate" f.restart } Function "Theme_std_1" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh std_1" f.restart } Function "Theme_std_2" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh std_2" f.restart } #------------------------------------------------------------------------------ # Created by ~/.themes_vtwm/bin/mk_theme_menu.sh #------------------------------------------------------------------------------ menu "menu_vtwm_themes" { "VTWM Themes" f.title "As" f.function "Theme_As" "black" f.function "Theme_black" "conky" f.function "Theme_conky" "" f.separator "jgrid" f.function "Theme_jgrid" "matrix" f.function "Theme_matrix" "slate" f.function "Theme_slate" "" f.separator "std_1" f.function "Theme_std_1" "std_2" f.function "Theme_std_2" } ############################################################################### # Menus ############################################################################### menu "menu_office" { " Office " f.title "OO Spreadsheet" f.exec "scalc &" "OO Word Processor" f.exec "swriter &" "OO Presentation" f.exec "simpress &" "OO Database" f.exec "sbase &" "OO Math Editor" f.exec "smath &" "OO Draw" f.exec "sdraw &" "OO Printer Admin" f.exec "spadmin &" "Open Office Main" f.exec "soffice &" "" f.separator "Kspread" f.exec "kspread &" "Kword" f.exec "kword &" "Kwrite" f.exec "kwrite &" "Kstars" f.exec "kstars &" } menu "menu_apps" { " Applications " f.title "emacs" f.exec "emacs &" "Office" f.menu "menu_office" "" f.separator "Thunderbird" f.exec "thunderbird &" "Firefox" f.exec "firefox &" "" f.separator "xmms" f.exec "xmms &" "amarok" f.exec "amarok &" "gxine" f.exec "gxine &" "" f.separator "gimp" f.exec "gimp &" "xpaint" f.exec "xpaint &" "xfig" f.exec "xfig -geometry 897x707 &" } menu "menu_wm" { " Others " f.title "Restart vtwm" f.restart "twm" f.startwm "twm" "fvwm2" f.startwm "fvwm2" "KDE" f.startwm "startkde" } menu "menu_utils" { " Utilities " f.title "Edit appointments" f.exec "gvim ~/.rclock &" "File Manager" f.exec "thunar &" "VTWM config" f.exec "gvim ~/.vtwmrc &" "xcalc" f.exec "xcalc &" "" f.separator "wmagnify" f.exec "wmagnify &" "xmag" f.exec "xmag &" "xclipboard" f.exec "xclipboard &" "xbmbrowser" f.exec "xbmbrowser -geometry 550x550 &" "" f.separator "VTWM Themes" f.menu "menu_vtwm_themes" "Other wm" f.menu "menu_wm" "Restart" f.restart "About" f.version } menu "menu_shells" { " Shells " f.title "rxvt" f.exec "rxvt &" "Eterm" f.exec "Eterm -F 10x20 -c lightblue -f cyan --menu-text-color black -S gray --trans --shade 75 --menubar off &" "Xterm" f.exec "xterm &" "rxvt Small" f.exec "rxvt -fn 6x12 -ls -bg snow -fg black &" "xterm Small" f.exec "xterm -fn 6x12 -ls -bg snow -fg black &" } menu "ShowHide" { "Show Iconmamager" f.showiconmgr "Hide Iconmamager" f.hideiconmgr "Show DeskTop" f.showdesktopdisplay "Hide DeskTop" f.hidedesktopdisplay } menu "Zoom" { "Toggle Fullzoom" f.fullzoom "Toggle Horizoom" f.horizoom "Toggle Vertzoom" f.zoom } menu "mod_win" { "move" f.move "togglenail" f.nail "above" f.nailedabove "" f.separator "autoraise" f.autoraise "ring" f.ring "snuggle" f.snugwindow "" f.separator "raise" f.raise "lower" f.lower "" f.separator "^--" f.squeezeleft "-^-" f.squeezecenter "--^" f.squeezeright } menu "Mtitle_menu" { " Window " f.title "" f.separator "Resize" f.resize "togglenail" f.nail "Move" f.move "Iconify" f.iconify "Refresh" f.winrefresh "" f.separator "Identify" f.identify "Modify Win" f.menu "mod_win" "Zoom" f.menu "Zoom" "" f.separator "Delete" f.delete "Destroy" f.destroy } menu "Mroot_middle_button" { " Arrange " f.title "" f.separator "Resize" f.resize "Iconify" f.iconify "Move" f.move "" f.separator "Refresh" f.winrefresh "Identify" f.identify "" f.separator "Modify Window" f.menu "mod_win" "Zoom" f.menu "Zoom" "Show/Hide" f.menu "ShowHide" "" f.separator "Send Delete" f.delete "Kill Window" f.destroy } menu "Mroot_right_button" { " std_2 " f.title "Shells" f.menu "menu_shells" "Applications" f.menu "menu_apps" "Utilities" f.menu "menu_utils" "" f.separator "Window Ops" f.menu "Mroot_middle_button" "lock screen" f.exec "xscreensaver-command -lock &" "" f.separator "Exit" f.quit } ##### END : menus