Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # $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.
- #
- IconRegion "850x550+60-0" West South 75 25
- #
- # Variables
- #
- RightHandSidePulldownMenus
- RandomPlacement
- AutoPan 0
- #PanResistance 3000
- PanResistance 0
- StayUpOptionalMenus
- FixManagedVirtualGeometries # corrects window placement in panner
- # Does NOT allows color override to work in panner
- # OldFashionedTwmWindowsMenu
- ButtonColorIsFrame
- NoGrabServer
- NoDefaults
- RestartPreviousState
- IconifyByUnmapping
- ShowIconManager
- #StrictIconManager # Only show icionified clients in Manager
- #WarpToTransients # move pointer to Transients when created
- # DecorateTransients
- AutoRaiseDelay 100
- AutoRaise
- BorderWidth 3
- MoveDelta 3
- ResizeRegion "NorthEast"
- NotVirtualGeometries
- FixTransientVirtualGeometries
- # TrueType
- EnableXftFontRenderer
- DefaultFont "Bitstream Vera Sans:bold:roman:size=12:antialias=true"
- DoorFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true"
- IconFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true"
- IconManagerFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true"
- InfoFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
- MenuFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
- MenuTitleFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
- ResizeFont "Bitstream Vera Sans:normal:roman:size=14:antialias=true"
- TitleFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
- VirtualDesktopFont "Bitstream Vera Sans:normal:roman:size=6:antialias=true"
- VirtualDesktop "3x2-0-0" 35
- IconManagerGeometry "1300x10+0+2" 10
- # the following is for a 3d look
- BorderBevelWidth 2
- ButtonBevelWidth 1
- ClearBevelContrast 40
- DarkBevelContrast 40
- IconBevelWidth 2
- IconManagerBevelWidth 1
- InfoBevelWidth 2
- MenuBevelWidth 2
- ShallowReliefWindowButton
- TitleBevelWidth 1
- ButtonIndent -1 # Fixes Buttons for 4.7
- TitleButtonBorderWidth 0 # Fixes Buttons for 4.7
- WarpCursor
- OpaqueMove
- # BeNiceToColormap # conserve color map
- ###############################################################################
- # some people do not like this, so can be commented
- # or changed
- ###############################################################################
- #AutoRaiseDelay 100
- #AutoRaise
- ###############################################################################
- # prog lists
- ###############################################################################
- AppletRegion "80x500-0-100" South East 100 100
- {
- "bubblefishymon"
- "wmbiff"
- "wmWeather"
- "minidock"
- "asapm"
- }
- AppletRegion "100x100+0-0" South West 70 70
- {
- "pclock"
- "wmtime"
- }
- Function "VTWM Profile"
- {
- # f.exec "killall conky ; sleep 1 ; /usr/bin/conky -c ~/.conkyrc &"
- # f.exec "Esetroot -f /u/local/Pictures/ALL/RubikSapphire1920.jpg
- f.exec "killall gkrellm ; sleep 1; gkrellm -g 1356-0+100 &"
- # f.exec "eval `cat $HOME/.fehbg` &"
- f.exec "$HOME/.fehbgx"
- f.exec "killall parcellite ; sleep 1 ; parcellite &"
- # f.exec "trayer --transparent true --edge top --distance 5 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --SetPartialStrut True &"
- f.exec "trayer --transparent true --edge top --distance 160 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --align left &"
- f.exec "autocutsel &"
- f.exec "xsetroot -cursor_name left_ptr &"
- f.exec "numlockx &"
- }
- DontShowInTwmWindows
- {
- "VTWM Icon Manager"
- "VTWM Desktop"
- "asclock"
- "astime"
- "emiclock"
- "gkrellm"
- "oclock"
- "swisswatch"
- "xdaliclock"
- "Dali Clock"
- "xbiff"
- "[Xx]message*"
- "xclock"
- "xvclock"
- "daliclock"
- "xdaliclock"
- "xeyes"
- "xload"
- "bubblefishymon"
- "lavaps"
- "wmmemmon"
- "wmitime"
- "wmcpuload"
- "wmWeather"
- "wmbiff"
- "wmSun"
- "wmMoonClock"
- "Conky"
- }
- DontShowInVtwmWindows
- {
- "VTWM Icon Manager"
- "VTWM Desktop"
- "asclock"
- "astime"
- "emiclock"
- "gkrellm"
- "oclock"
- "swisswatch"
- "xdaliclock"
- "Dali Clock"
- "xbiff"
- "[Xx]message*"
- "xclock"
- "xvclock"
- "daliclock"
- "xdaliclock"
- "xeyes"
- "xload"
- "bubblefishymon"
- "lavaps"
- "wmmemmon"
- "wmitime"
- "wmcpuload"
- "wmWeather"
- "wmbiff"
- "wmSun"
- "wmMoonClock"
- }
- NoHighlight
- {
- "VTWM Desktop"
- "VTWM Icon Manager"
- "asapm"
- "asclock"
- "astime"
- "bubblefishymon"
- "dclock"
- "fishmon"
- "lavaps"
- "oclock"
- "pclock"
- "rclock"
- "trayer"
- "Conky"
- "minidock"
- "swisswatch"
- "wmMoonClock"
- "wmSun"
- "wmWeather"
- "wmbiff"
- "wmclock"
- "wmclockmon"
- "wmcpuload"
- "wmfishtime"
- "wmitime"
- "wmmemmon"
- "wmtime"
- "wmzcalock"
- "xbiff"
- "xclock"
- "xdaliclock"
- "xeyes"
- "xload"
- "xvclock"
- }
- NailedDown
- {
- "xmessage"
- "Calendar" # Calendar
- "Information" # gnomecal
- "VTWM Desktop"
- "VTWM Icon Manager"
- "VTWM*"
- "[Xx]message*"
- "asapm"
- "asclock"
- "astime"
- "bubblefishymon"
- "dclock"
- "emiclock"
- "fishmon"
- "gkrellm"
- "gnomecal" # Calendar
- "lavaps"
- "mailtool"
- "oclock"
- "pclock"
- "rclock"
- "trayer"
- "minidock"
- "swisswatch"
- "wmMoonClock"
- "wmSun"
- "wmWeather"
- "wmbiff"
- "wmclock"
- "wmclockmon"
- "wmcpuload"
- "wmfishtime"
- "wmitime"
- "wmmemmon"
- "wmtime"
- "wmzcalock"
- "xbiff"
- "xclock"
- "xconsole"
- "xdaliclock"
- "xeyes"
- "xload"
- "xmailbox"
- "xneko"
- "xvclock"
- }
- DontIconifyByUnmapping
- {
- "mailtool"
- "xmailbox"
- }
- NoTitle
- {
- "xmessage"
- "VTWM Desktop"
- "VTWM Icon Manager"
- "VTWM*"
- "asapm"
- "asclock"
- "astime"
- "bubblefishymon"
- "dclock"
- "emiclock"
- "fishmon"
- "gkrellm"
- "lavaps"
- "oclock"
- "pclock"
- "rclock"
- "trayer"
- "minidock"
- "swisswatch"
- "user_popup" # xbmbrowser
- "wmMoonClock"
- "wmSun"
- "wmWeather"
- "wmbiff"
- "wmclock"
- "wmclockmon"
- "wmcpuload"
- "wmfishtime"
- "wmitime"
- "wmmemmon"
- "wmtime"
- "wmzcalock"
- "xbiff"
- "xclock"
- "xdaliclock"
- "xeyes"
- "xload"
- "xmailbox"
- "xneko"
- "xvclock"
- }
- DontSqueezeTitle
- {
- "VTWM Desktop"
- }
- StartIconified
- {
- "xconsole"
- #"gnomecal" # Does not work whe this is here
- }
- DontShowInDisplay
- {
- "VTWM Desktop"
- "VTWM Icon Manager"
- "VTWM*"
- "asapm"
- "asclock"
- "astime"
- "bubblefishymon"
- "dclock"
- "emiclock"
- "fishmon"
- "gkrellm"
- "lavaps"
- "oclock"
- "pclock"
- "rclock"
- "trayer"
- "minidock"
- "swisswatch"
- "wmMoonClock"
- "wmSun"
- "wmWeather"
- "wmbiff"
- "wmclock"
- "wmclockmon"
- "wmcpuload"
- "wmfishtime"
- "wmitime"
- "wmmemmon"
- "wmtime"
- "wmzcalock"
- "xbiff"
- "xclock"
- "xconsole"
- "xdaliclock"
- "xeyes"
- "xload"
- "xmailbox"
- "xneko"
- "xvclock"
- }
- IconManagerDontShow
- {
- "Calendar"
- "VTWM Desktop"
- "VTWM Icon Manager"
- "VTWM*"
- "Audacious"
- "asapm"
- "asclock"
- "astime"
- "bubblefishymon"
- "dclock"
- "emiclock"
- "fishmon"
- "gkrellm"
- "gnomecal"
- "lavaps"
- "oclock"
- "pclock"
- "rclock"
- "trayer"
- "minidock"
- "swisswatch"
- "user_popup" # xbmbrowser
- "wmMoonClock"
- "wmSun"
- "wmWeather"
- "wmbiff"
- "wmclock"
- "wmclockmon"
- "wmcpuload"
- "wmfishtime"
- "wmitime"
- "wmmemmon"
- "wmtime"
- "wmzcalock"
- "xbiff"
- "xclock"
- "xdaliclock"
- "xeyes"
- "xload"
- "xmailbox"
- "xneko"
- "xvclock"
- }
- Pixmaps
- {
- #VirtualBackgroundPixmap "/usr/local/share/afterstep/backgrounds/Wave.xpm"
- TitleHighlight ":xpm:sunkenbox" # Fix Buttons for 4.7
- MenuIconPixmap ":xpm:rarrow" # Fix Menu button for 4.7
- IconManagerPixmap ":xpm:zoom"
- }
- #
- # Functions and Bindings
- #
- 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 }
- # a hack but works
- Function "jmc_w1"
- {
- f.panup "100"
- f.panup "100"
- f.panleft "100"
- f.panleft "100"
- f.panleft "100"
- f.panleft "100"
- }
- Function "jmc_w2"
- {
- f.panup "100"
- f.panup "100"
- f.panleft "100"
- f.panleft "100"
- f.panleft "100"
- f.panleft "100"
- f.panright "100"
- }
- Function "jmc_w3"
- {
- f.panup "100"
- f.panup "100"
- f.panright "100"
- f.panright "100"
- f.panright "100"
- f.panright "100"
- }
- Function "jmc_w4"
- {
- f.pandown "100"
- f.pandown "100"
- f.panleft "100"
- f.panleft "100"
- f.panleft "100"
- f.panleft "100"
- }
- Function "jmc_w5"
- {
- f.pandown "100"
- f.pandown "100"
- f.panleft "100"
- f.panleft "100"
- f.panleft "100"
- f.panright "100"
- }
- Function "jmc_w6"
- {
- f.pandown "100"
- f.pandown "100"
- f.panright "100"
- f.panright "100"
- f.panright "100"
- f.panright "100"
- }
- ###############################################################################
- # Title Button Section Begin
- # valid: :xpm:bar :xpm:resize
- # :xpm:dot :xpm:zoom
- # :xpm:menu :xlogo
- # :xpm:darrow :xpm:rarrow
- ###############################################################################
- #------------------------------------------------------------------------------
- # custom
- #------------------------------------------------------------------------------
- SqueezeTitle
- LeftTitleButton ":xpm:darrow" = 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-raise"
- Button2 = : title : f.lower
- Button3 = : title : f.menu "Mtitle_menu"
- Button1 = : frame : f.function "move-or-raise"
- Button2 = : frame : f.resize
- Button3 = : frame : f.iconify
- Button1 = : icon : f.function "move-or-iconify"
- Button3 = : icon : f.menu "Mtitle_menu"
- Button1 = : iconmgr : f.iconify
- Button3 = : iconmgr : f.warp
- Button1 = : virtual | desktop : f.movescreen
- ###############################################################################
- # keyboard functions
- ###############################################################################
- "Return" = : iconmgr : f.iconify
- "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"
- "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
- "r" = m : all : f.restart
- "Tab" = m : all : f.lower
- "Left" = m : all : f.backiconmgr
- "Right" = m : all : f.forwiconmgr
- "Up" = m : all : f.backiconmgr
- "Down" = m : all : f.forwiconmgr
- #FOR Windows type Keyboard#"F1" = m4: all : f.function "jmc_w1"
- #FOR Windows type Keyboard#"F2" = m4: all : f.function "jmc_w2"
- #FOR Windows type Keyboard#"F3" = m4: all : f.function "jmc_w3"
- #FOR Windows type Keyboard#"F4" = m4: all : f.function "jmc_w4"
- #FOR Windows type Keyboard#"F5" = m4: all : f.function "jmc_w5"
- #FOR Windows type Keyboard#"F6" = m4: all : f.function "jmc_w6"
- #FOR Windows type Keyboard#"1" = m4: all : f.iconify
- #FOR Windows type Keyboard#"2" = m4: all : f.zoom
- #FOR Windows type Keyboard#"3" = m4: all : f.horizoom
- #FOR Windows type Keyboard#"4" = m4: all : f.fullzoom
- #FOR Windows type Keyboard#"q" = m4: all : f.delete
- #FOR Windows type Keyboard#"r" = m4: all : f.restart
- #FOR Windows type Keyboard#"Tab" = m4: all : f.lower
- #FOR Windows type Keyboard#"Left" = m4: all : f.backiconmgr
- #FOR Windows type Keyboard#"Right" = m4: all : f.forwiconmgr
- #FOR Windows type Keyboard#"Up" = m4: all : f.backiconmgr
- #FOR Windows type Keyboard#"Down" = m4: all : f.forwiconmgr
- "Up" = m&c: all : f.panup "100"
- "Down" = m&c: all : f.pandown "100"
- "Left" = m&c: all : f.panleft "100"
- "Right" = m&c: all : f.panright "100"
- ###############################################################################
- # colors
- ###############################################################################
- Color
- {
- BorderColor "SteelBlue4"
- BorderTileBackground "#1E1F28"
- TitleBackground "SteelBlue4"
- TitleForeground "azure2"
- IconManagerForeground "azure3"
- IconManagerBackground "SteelBlue4"
- DesktopDisplayForeground "black"
- DesktopDisplayBackground "LightSteelBlue"
- BorderTileForeground "gray60"
- DefaultBackground "Azure3"
- DefaultForeground "black"
- DesktopDisplayBorder "black"
- IconBackground "#1C1C26"
- IconBorderColor "#22222C"
- IconForeground "snow"
- MenuBackground "gray70"
- MenuForeground "black"
- MenuTitleBackground "SteelBlue4"
- MenuTitleForeground "black"
- RealScreenBackground "gray30"
- VirtualBackground "#1E1F28"
- VirtualForeground "black"
- }
- ###############################################################################
- # Menus
- ###############################################################################
- menu "menu_office"
- {
- " Office " f.title
- "Libre Spreadsheet" f.exec "scalc &"
- "Libre Word Processor" f.exec "swriter &"
- "Libre Presentation" f.exec "simpress &"
- "Libre Database" f.exec "sbase &"
- "Libre Math Editor" f.exec "smath &"
- "Libre Draw" f.exec "sdraw &"
- "Libre 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
- "Gedit" f.exec "gedit &"
- "Office" f.menu "menu_office"
- "" f.separator
- "Thunderbird" f.exec "thunderbird-bin &"
- "Opera" f.exec "opera &"
- "Firefox" f.exec "firefox &"
- "Pidgin" f.exec "pidgin &"
- "" f.separator
- "Moc" f.exec "xterm -e mocp &"
- "alsaplayer" f.exec "alsaplayer &"
- "Xine" f.exec "xine &"
- "" f.separator
- "gimp" f.exec "gimp &"
- "Gthumb" f.exec "gthumb &"
- "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 "gedit ~/.rclock &"
- "File Manager" f.exec "pcmanfm &"
- "VTWM config" f.exec "gedit ~/.vtwmrc &"
- "xcalc" f.exec "xcalc &"
- "" f.separator
- "Gmrun" f.exec "gmrun &"
- "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
- "aterm (utf-8)" f.exec "atermX &"
- "aterm" f.exec "aterm &"
- "rxvt" f.exec "rxvt &"
- "Eterm" f.exec "Eterm -F 10x20 -c lightblue -f cyan --menu-text-color black -S gray --trans --shade 75 &"
- "Xterm" f.exec "xterm &"
- "rxvt Small" f.exec "rxvt -fn 6x12 -bg snow -fg black &"
- "xterm Small" f.exec "xterm -fn 6x12 -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"
- {
- " Rubik " 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 &"
- "lock screen" f.exec "xlock -mode julia &"
- "" f.separator
- "Session" f.menu "Session"
- "Exit" f.quit
- }
- menu "Session"
- {
- "Restart" f.exec "sudo shutdown -r now &"
- "Shutdown" f.exec "sudo shutdown -h now &"
- }
- ##### END : menus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement