hootiegibbon

.twmrc

Feb 18th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. #
  2. # $XConsortium: system.twmrc /main/9 1996/10/16 16:14:38 kaleb $
  3. #
  4. # Default twm configuration file; needs to be kept small to conserve string
  5. # space in systems whose compilers don't handle medium-sized strings.
  6. #
  7. # Sites should tailor this file, providing any extra title buttons, menus, etc.
  8. # that may be appropriate for their environment. For example, if most of the
  9. # users were accustomed to uwm, the defaults could be set up not to decorate
  10. # any windows and to use meta-keys.
  11. #
  12.  
  13.  
  14. NoGrabServer
  15. RestartPreviousState
  16. DecorateTransients
  17. TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
  18. ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
  19. MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
  20. IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
  21. IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
  22. #ClientBorderWidth
  23. BorderWidth 1
  24. ButtonIndent 1
  25. NoHighlight
  26. AutoRelativeResize
  27. DefaultBackground "/home/jason/downloads/pclinuxos.png"
  28. FramePadding 1
  29. #ForceIcons
  30. NoRaiseOnMove
  31. OpaqueMove
  32.  
  33. Color
  34. {
  35. BorderColor "#BECBDC"
  36. DefaultBackground "#0B1247"
  37. DefaultForeground "#4672B6"
  38. TitleBackground "#153F89"
  39. TitleForeground "gray85"
  40. MenuBackground "#153F89"
  41. MenuForeground "#BECBDC"
  42. MenuTitleBackground "#BECBDC"
  43. MenuTitleForeground "#153F89"
  44. IconBackground "#153F89"
  45. IconForeground "white"
  46. IconBorderColor "black"
  47. IconManagerBackground "#153F89"
  48. IconManagerForeground "gray85"
  49. PointerForeground "black"
  50. PointerBackground "white"
  51.  
  52. }
  53.  
  54. #
  55. # Define some useful functions for motion-based actions.
  56. #
  57. MoveDelta 3
  58. Function "move-or-lower" { f.move f.deltastop f.lower }
  59. Function "move-or-raise" { f.move f.deltastop f.raise }
  60. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  61.  
  62. #
  63. # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
  64. #
  65. Button1 = : root : f.menu "defops"
  66.  
  67. Button1 = m : window|icon : f.function "move-or-lower"
  68. Button2 = m : window|icon : f.iconify
  69. Button3 = m : window|icon : f.function "move-or-raise"
  70.  
  71. Button1 = : title : f.function "move-or-raise"
  72. Button2 = : title : f.raiselower
  73.  
  74. Button1 = : icon : f.function "move-or-iconify"
  75. Button2 = : icon : f.iconify
  76.  
  77. Button1 = : iconmgr : f.iconify
  78. Button2 = : iconmgr : f.iconify
  79.  
  80. "F1" = control : all : f.restart
  81. "F2" = control : all : f.move
  82. "F3" = control : all : f.iconify
  83.  
  84. "Up" = control meta : all : f.function "up_iconmgr"
  85. "Down" = control meta : all : f.function "down_iconmgr"
  86. "Left" = control meta : all : f.function "left_iconmgr"
  87. "Right" = control meta : all : f.function "right_iconmgr"
  88.  
  89. # Functions
  90. Function "up_iconmgr"
  91. {
  92. f.warptoiconmgr ""
  93. f.deltastop
  94. f.upiconmgr
  95. }
  96.  
  97. Function "down_iconmgr"
  98. {
  99. f.warptoiconmgr ""
  100. f.deltastop
  101. f.downiconmgr
  102. }
  103.  
  104. Function "left_iconmgr"
  105. {
  106. f.warptoiconmgr ""
  107. f.deltastop
  108. f.lefticonmgr
  109. }
  110.  
  111. Function "right_iconmgr"
  112. {
  113. f.warptoiconmgr ""
  114. f.deltastop
  115. f.righticonmgr
  116. }
  117.  
  118. #
  119. # And a menus with the usual things
  120. #
  121. menu "defops"{
  122.  
  123. "Archiving" f.menu "xdg_menu-Archiving"
  124. "Editors" f.menu "xdg_menu-Editors"
  125. "File Tools" f.menu "xdg_menu-File_Tools"
  126. "Graphics" f.menu "xdg_menu-Graphics"
  127. "Internet" f.menu "xdg_menu-Internet"
  128. "More Applications" f.menu "xdg_menu-More_Applications"
  129. "Office" f.menu "xdg_menu-Office"
  130. "Software Center" f.menu "xdg_menu-Packaging"
  131. "Sound" f.menu "xdg_menu-Sound"
  132.  
  133. "" f.nop
  134. "Current Windows" f.menu "TwmWindows"
  135. "Window Ops" f.menu "window_ops"
  136. "Resize" f.resize
  137. "Kill" f.destroy
  138. "Delete" f.delete
  139. "" f.nop
  140. "Restart" f.restart
  141. "Exit" f.quit
  142. }
  143.  
  144. menu "xdg_menu-Archiving" {
  145. "Archiving" f.title
  146. "SimpleBurn" f.exec "simpleburn&"
  147. "Xarchiver" f.exec "xarchiver&"
  148. }
  149. menu "xdg_menu-Editors" {
  150. "Editors" f.title
  151. "Beaver" f.exec "beaver &"
  152. }
  153. menu "xdg_menu-File_Tools" {
  154. "File Tools" f.title
  155. "BleachBit" f.exec "bleachbit&"
  156. "BleachBit Root" f.exec "gksu -a /usr/bin/bleachbit&"
  157. "FSlint" f.exec "fslint-gui&"
  158. "Midnight Commander" f.exec "xterm -e mc&"
  159. "PCManFM" f.exec "pcmanfm &"
  160. }
  161. menu "xdg_menu-Graphics" {
  162. "Graphics" f.title
  163. "ImageMagick" f.exec "/usr/bin/xterm -geometry 40x15 -title ImageMagick +sb -iconic -e /usr/bin/display&"
  164. "Viewnior" f.exec "viewnior &"
  165. "XnConvert" f.exec "/usr/share/XnConvert/xnconvert.sh&"
  166. }
  167. menu "xdg_menu-Internet" {
  168. "Internet" f.title
  169. "Links" f.exec "/usr/bin/links-graphic /usr/share/doc/HTML/index.html&"
  170. "Surf" f.exec "surf&"
  171. "xxxterm" f.exec "xxxterm &"
  172. }
  173. menu "xdg_menu-More_Applications-Configuration" {
  174. "Configuration" f.title
  175. "Configure Your Computer" f.exec "/usr/sbin/drakconf&"
  176. "Firewall Setup" f.exec "/usr/sbin/drakfirewall&"
  177. "GTK Theme Switch 1" f.exec "switch&"
  178. "GTK Theme Switch 2" f.exec "/usr/bin/switch2&"
  179. "Network Center" f.exec "/usr/bin/draknetcenter&"
  180. "Redo MBR" f.exec "kdesu /usr/sbin/redo-mbr&"
  181. "User Administration" f.exec "/usr/bin/userdrake&"
  182. }
  183. menu "xdg_menu-More_Applications-Development" {
  184. "Development" f.title
  185. "Beaver" f.exec "beaver &"
  186. }
  187. menu "xdg_menu-More_Applications-Monitoring" {
  188. "Monitoring" f.title
  189. "NetApplet" f.exec "/usr/bin/net_applet --force&"
  190. "XKill" f.exec "/usr/bin/xkill&"
  191. "Xsysinfo" f.exec "/usr/bin/xsysinfo &"
  192. }
  193. menu "xdg_menu-More_Applications-Terminals" {
  194. "Terminals" f.title
  195. "ROXTerm" f.exec "roxterm&"
  196. "Root Terminal" f.exec "gksu /usr/bin/xvt&"
  197. "XTerm" f.exec "xterm -name Terminal&"
  198. }
  199. menu "xdg_menu-More_Applications" {
  200. "More Applications" f.title
  201. "Configuration" f.menu "xdg_menu-More_Applications-Configuration"
  202. "Development" f.menu "xdg_menu-More_Applications-Development"
  203. "Monitoring" f.menu "xdg_menu-More_Applications-Monitoring"
  204. "Terminals" f.menu "xdg_menu-More_Applications-Terminals"
  205. }
  206. menu "xdg_menu-Office" {
  207. "Office" f.title
  208. "ePDFViewer" f.exec "epdfview &"
  209. }
  210. menu "xdg_menu-Packaging" {
  211. "Software Center" f.title
  212. "Synaptic Package Manager" f.exec "gksu -u root /usr/sbin/synaptic&"
  213. }
  214. menu "xdg_menu-Sound" {
  215. "Sound" f.title
  216. "DeaDBeeF" f.exec "deadbeef &"
  217. }
  218.  
  219.  
  220. Menu "window_ops"
  221. {
  222. "Window Menu" f.title
  223.  
  224. "Iconify" f.iconify
  225.  
  226. "Raise" f.raise
  227. "Lower" f.lower
  228. "Toggle AutoRaise" f.autoraise
  229.  
  230. "Move (onscreen)" f.move
  231. "Move (anywhere)" f.forcemove
  232.  
  233.  
  234. "Wide screen" f.horizoom
  235. "Tall screen" f.zoom
  236. "Full screen" f.fullzoom
  237.  
  238. "Identify" f.identify
  239.  
  240. "Focus keyboard" f.focus
  241. "Unfocus keyboard" f.unfocus
  242. "Save" f.saveyourself
  243. }
Advertisement
Add Comment
Please, Sign In to add comment