Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # $XConsortium: system.twmrc /main/9 1996/10/16 16:14:38 kaleb $
- #
- # 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.
- #
- NoGrabServer
- RestartPreviousState
- DecorateTransients
- 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-*-*-*"
- #ClientBorderWidth
- BorderWidth 1
- ButtonIndent 1
- NoHighlight
- AutoRelativeResize
- DefaultBackground "/home/jason/downloads/pclinuxos.png"
- FramePadding 1
- #ForceIcons
- NoRaiseOnMove
- OpaqueMove
- Color
- {
- BorderColor "#BECBDC"
- DefaultBackground "#0B1247"
- DefaultForeground "#4672B6"
- TitleBackground "#153F89"
- TitleForeground "gray85"
- MenuBackground "#153F89"
- MenuForeground "#BECBDC"
- MenuTitleBackground "#BECBDC"
- MenuTitleForeground "#153F89"
- IconBackground "#153F89"
- IconForeground "white"
- IconBorderColor "black"
- IconManagerBackground "#153F89"
- IconManagerForeground "gray85"
- PointerForeground "black"
- PointerBackground "white"
- }
- #
- # 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 }
- #
- # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
- #
- Button1 = : root : f.menu "defops"
- Button1 = m : window|icon : f.function "move-or-lower"
- Button2 = m : window|icon : f.iconify
- Button3 = m : window|icon : f.function "move-or-raise"
- Button1 = : title : f.function "move-or-raise"
- Button2 = : title : f.raiselower
- Button1 = : icon : f.function "move-or-iconify"
- Button2 = : icon : f.iconify
- Button1 = : iconmgr : f.iconify
- Button2 = : iconmgr : f.iconify
- "F1" = control : all : f.restart
- "F2" = control : all : f.move
- "F3" = control : all : f.iconify
- "Up" = control meta : all : f.function "up_iconmgr"
- "Down" = control meta : all : f.function "down_iconmgr"
- "Left" = control meta : all : f.function "left_iconmgr"
- "Right" = control meta : all : f.function "right_iconmgr"
- # Functions
- Function "up_iconmgr"
- {
- f.warptoiconmgr ""
- f.deltastop
- f.upiconmgr
- }
- Function "down_iconmgr"
- {
- f.warptoiconmgr ""
- f.deltastop
- f.downiconmgr
- }
- Function "left_iconmgr"
- {
- f.warptoiconmgr ""
- f.deltastop
- f.lefticonmgr
- }
- Function "right_iconmgr"
- {
- f.warptoiconmgr ""
- f.deltastop
- f.righticonmgr
- }
- #
- # And a menus with the usual things
- #
- menu "defops"{
- "Archiving" f.menu "xdg_menu-Archiving"
- "Editors" f.menu "xdg_menu-Editors"
- "File Tools" f.menu "xdg_menu-File_Tools"
- "Graphics" f.menu "xdg_menu-Graphics"
- "Internet" f.menu "xdg_menu-Internet"
- "More Applications" f.menu "xdg_menu-More_Applications"
- "Office" f.menu "xdg_menu-Office"
- "Software Center" f.menu "xdg_menu-Packaging"
- "Sound" f.menu "xdg_menu-Sound"
- "" f.nop
- "Current Windows" f.menu "TwmWindows"
- "Window Ops" f.menu "window_ops"
- "Resize" f.resize
- "Kill" f.destroy
- "Delete" f.delete
- "" f.nop
- "Restart" f.restart
- "Exit" f.quit
- }
- menu "xdg_menu-Archiving" {
- "Archiving" f.title
- "SimpleBurn" f.exec "simpleburn&"
- "Xarchiver" f.exec "xarchiver&"
- }
- menu "xdg_menu-Editors" {
- "Editors" f.title
- "Beaver" f.exec "beaver &"
- }
- menu "xdg_menu-File_Tools" {
- "File Tools" f.title
- "BleachBit" f.exec "bleachbit&"
- "BleachBit Root" f.exec "gksu -a /usr/bin/bleachbit&"
- "FSlint" f.exec "fslint-gui&"
- "Midnight Commander" f.exec "xterm -e mc&"
- "PCManFM" f.exec "pcmanfm &"
- }
- menu "xdg_menu-Graphics" {
- "Graphics" f.title
- "ImageMagick" f.exec "/usr/bin/xterm -geometry 40x15 -title ImageMagick +sb -iconic -e /usr/bin/display&"
- "Viewnior" f.exec "viewnior &"
- "XnConvert" f.exec "/usr/share/XnConvert/xnconvert.sh&"
- }
- menu "xdg_menu-Internet" {
- "Internet" f.title
- "Links" f.exec "/usr/bin/links-graphic /usr/share/doc/HTML/index.html&"
- "Surf" f.exec "surf&"
- "xxxterm" f.exec "xxxterm &"
- }
- menu "xdg_menu-More_Applications-Configuration" {
- "Configuration" f.title
- "Configure Your Computer" f.exec "/usr/sbin/drakconf&"
- "Firewall Setup" f.exec "/usr/sbin/drakfirewall&"
- "GTK Theme Switch 1" f.exec "switch&"
- "GTK Theme Switch 2" f.exec "/usr/bin/switch2&"
- "Network Center" f.exec "/usr/bin/draknetcenter&"
- "Redo MBR" f.exec "kdesu /usr/sbin/redo-mbr&"
- "User Administration" f.exec "/usr/bin/userdrake&"
- }
- menu "xdg_menu-More_Applications-Development" {
- "Development" f.title
- "Beaver" f.exec "beaver &"
- }
- menu "xdg_menu-More_Applications-Monitoring" {
- "Monitoring" f.title
- "NetApplet" f.exec "/usr/bin/net_applet --force&"
- "XKill" f.exec "/usr/bin/xkill&"
- "Xsysinfo" f.exec "/usr/bin/xsysinfo &"
- }
- menu "xdg_menu-More_Applications-Terminals" {
- "Terminals" f.title
- "ROXTerm" f.exec "roxterm&"
- "Root Terminal" f.exec "gksu /usr/bin/xvt&"
- "XTerm" f.exec "xterm -name Terminal&"
- }
- menu "xdg_menu-More_Applications" {
- "More Applications" f.title
- "Configuration" f.menu "xdg_menu-More_Applications-Configuration"
- "Development" f.menu "xdg_menu-More_Applications-Development"
- "Monitoring" f.menu "xdg_menu-More_Applications-Monitoring"
- "Terminals" f.menu "xdg_menu-More_Applications-Terminals"
- }
- menu "xdg_menu-Office" {
- "Office" f.title
- "ePDFViewer" f.exec "epdfview &"
- }
- menu "xdg_menu-Packaging" {
- "Software Center" f.title
- "Synaptic Package Manager" f.exec "gksu -u root /usr/sbin/synaptic&"
- }
- menu "xdg_menu-Sound" {
- "Sound" f.title
- "DeaDBeeF" f.exec "deadbeef &"
- }
- Menu "window_ops"
- {
- "Window Menu" f.title
- "Iconify" f.iconify
- "Raise" f.raise
- "Lower" f.lower
- "Toggle AutoRaise" f.autoraise
- "Move (onscreen)" f.move
- "Move (anywhere)" f.forcemove
- "Wide screen" f.horizoom
- "Tall screen" f.zoom
- "Full screen" f.fullzoom
- "Identify" f.identify
- "Focus keyboard" f.focus
- "Unfocus keyboard" f.unfocus
- "Save" f.saveyourself
- }
Advertisement
Add Comment
Please, Sign In to add comment