No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.fvwmrc_hpvue 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. # Serguei Chmod777's Xenvt configuration
  2. # Old fashion Motif-like's look, CDE colorset.
  3. ModulePath /usr/X11R6/lib/X11/fvwm
  4. PixmapPath /usr/X11R6/include/X11/pixmaps
  5. IconPath /usr/X11R6/include/X11/bitmaps
  6. EdgeResistance 5000 200 # kind of a trick to avoid damned switchover !
  7. # 200 to keep moving windows out of the frame
  8. EdgeScroll 100 100
  9. ClickTime 150
  10. # make sure these fonts exist on your system:
  11. WindowFont -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
  12. IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  13. HilightColor #bebebe darkcyan
  14. MenuStyle #4d4d4d #bebebe #e7e7e7 -adobe-times-bold-r-*-*-12-*-*-*-*-*-*-* fvwm
  15. DeskTopSize 3x3
  16. ColormapFocus FollowsFocus
  17. # default Styles:
  18. Style "*" BorderWidth 6, HandleWidth 6,
  19. Style "*" Icon unknown1.xpm, Color #bebebe/darkolivegreen
  20. Style "*" MWMFunctions, MWMBorder, MWMButtons, MWMDecor, HintOverride
  21. Style "*" DecorateTransient, NoPPosition
  22. Style "*" IconBox 0 -10 -280 -1
  23. # ========= For keyboard's cowboy ===========
  24. Style "*" ClickToFocus
  25. # (because a mistake can be FTL while typing)
  26. Style "*" RandomPlacement, SmartPlacement
  27. # Styles for various Fvwm modules:
  28. Style "Fvwm*" NoTitle, Sticky, WindowListSkip
  29. Style "Fvwm*" BorderWidth 1, CirculateSkipIcon, CirculateSkip
  30. Style "FvwmPager" Sticky, WindowListSkip, ClickToFocus, BorderWidth 1, \
  31. HandleWidth 4
  32. Style "xclock" Sticky, WindowListSkip, ClickToFocus, BorderWidth 1, \
  33. HandleWidth 4
  34. Style "xload" Sticky, WindowListSkip, ClickToFocus, BorderWidth 1, \
  35. HandleWidth 4
  36. Style "FvwmWinList" Sticky, WindowListSkip, ClickToFocus, BorderWidth 1, \
  37. HandleWidth 4
  38. Style "FvwmBanner" StaysOnTop
  39. Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus, BorderWidth 1, \
  40. HandleWidth 4
  41. # Styles for your common terminal emulator programs:
  42. AddToDecor terms
  43. + ButtonStyle 1 Pixmap mini.xterm.xpm
  44. + HilightColor #bebebe #c18841
  45. Style "XTerm" UseDecor terms
  46. Style "XTerm" Icon xterm.xpm, ClickToFocus, IconBox -70 1 -1 -140
  47. Style "rxvt" UseDecor terms
  48. Style "rxvt" Icon term.xpm, ClickToFocus, IconBox -70 1 -1 -140
  49. Style "rxvt" MWMBorder, MWMButtons
  50. # Styles for various common programs:
  51. Style "xclock" NoTitle, Sticky, WindowListSkip, ClickToFocus
  52. Style "xbiff" NoTitle, Sticky, WindowListSkip, ClickToFocus
  53. Style "xcalc" Icon xcalc.xpm, NoButton 2,RandomPlacement,ClickToFocus
  54. Style "xmh" Icon mail1.xpm, NoIconTitle,StickyIcon
  55. Style "xmh" RandomPlacement, NoButton 2
  56. Style "xman" Icon xman.xpm, RandomPlacement, ClickToFocus
  57. Style "xmag" Icon mag_glass.xpm, RandomPlacement, ClickToFocus
  58. Style "xgraph" Icon graphs.xpm, RandomPlacement, ClickToFocus
  59. Style "xmosaic" Color Green/Yellow, ClickToFocus
  60. Style "xconsole" Icon rterm.xpm, WindowListSkip, Sticky
  61. Style "xload" NoTitle, Sticky, WindowListSkip, ClickToFocus
  62. # some simple default mouse bindings:
  63. # for the root window:
  64. Mouse 1 R A Menu RootMenu Nop
  65. Mouse 2 R A Menu Window-Ops Nop
  66. Mouse 3 R A WindowList
  67. # for the title bar buttons:
  68. Mouse 0 1 A Menu Window-Ops2 Close
  69. Mouse 0 2 A Maximize-Func
  70. Mouse 0 4 A Iconify
  71. # for other parts of the window/borders/icons:
  72. Mouse 1 F A Resize-or-Raise
  73. Mouse 1 TS A Move-or-Raise
  74. Mouse 1 I A Move-or-Iconify
  75. Mouse 2 I A Iconify
  76. Mouse 2 FST A Menu Window-Ops2 Nop
  77. Mouse 3 TSIF A RaiseLower
  78. ######################## Initialization Functions ############################
  79. #AddToFunc InitFunction "I" Module FvwmPager 0 0
  80. #+ "I" exec /usr/X11R6/bin/xsetroot -solid black
  81. #AddToFunc RestartFunction "I" Module FvwmPager 0 0
  82. #+ "I" exec /usr/X11R6/bin/xsetroot -solid black
  83. Function "InitFunction"
  84. Exec exec xloadimage -onroot -center \
  85. /home/serguei77/graphic/fractintLorenz.png &
  86. Exec exec xload -bg darkcyan -geometry 100x100+0+98 &
  87. Exec exec xterm -geometry 81x45+744+15 -e \
  88. "/usr/X11R6/bin/xclock -bg darkcyan -geometry \
  89. 100x100+0+206 & /bin/sh /home/serguei77/.monitorr.sh" &
  90. Module FvwmButtons
  91. Module FvwmWinList
  92. Module FvwmPager 0 0
  93. EndFunction
  94. ######################## Menus ###################
  95. AddToMenu RootMenu "Root Menu" Title
  96. + "XTerm%mini.xterm.xpm%" Exec exec xterm
  97. #+ "Rxvt" Exec exec rxvt
  98. + "" Nop
  99. #+ "Remote Logins" Popup Remote-Logins
  100. #+ "" Nop
  101. + "Utilities" Popup Utilities
  102. + "" Nop
  103. + "Fvwm Modules" Popup Module-Popup
  104. + "Fvwm Window Ops" Popup Window-Ops
  105. + "Fvwm Simple Config Ops" Popup Misc-Ops
  106. + "" Nop
  107. + "Refresh Screen" Refresh
  108. + "Recapture Screen" Recapture
  109. + "(Re)Start" Popup Quit-Verify
  110. + "" Nop
  111. + "Exit" Module FvwmForm QuitVerify
  112. AddToMenu Utilities "Utilities" Title
  113. + "Top" Exec exec xterm -T Top -n Top -e top
  114. + "Calculator" Exec exec xcalc
  115. + "Xman" Exec exec xman
  116. + "Xmag" Exec exec xmag
  117. + "Editres" Exec exec editres
  118. + "" Nop
  119. #+ "XEmacs" Exec exec xemacs
  120. #+ "Mail" MailFunction xmh "-font fixed"
  121. + "" Nop
  122. + "XLock%mini.xlock.xpm%" Exec exec xlock
  123. + "" Nop
  124. + "Reset X defaults" Exec xrdb -load $HOME/.Xdefaults
  125. AddToMenu Misc-Ops "Misc Config Opts" Title
  126. + "Sloppy Focus" ChangeDefaultFocus SloppyFocus
  127. + "Click To Focus" ChangeDefaultFocus ClickToFocus
  128. + "Focus Follows Mouse" ChangeDefaultFocus FocusFollowsMouse
  129. + "" Nop
  130. + "Colormap Follows Mouse" ColormapFocus FollowsMouse
  131. + "Colormap Follows Focus" ColormapFocus FollowsFocus
  132. + "" Nop
  133. + "Full Paging ON" EdgeScroll 100 100
  134. + "All Paging OFF" EdgeScroll 0 0
  135. + "Horizontal Paging Only" EdgeScroll 100 0
  136. + "Vertical Paging Only" EdgeScroll 0 100
  137. + "Partial Paging" EdgeScroll 50 50
  138. + "Full Paging && Edge Wrap" EdgeScroll 100000 100000
  139. AddToMenu Window-Ops "Window Ops" Title
  140. + "Move%mini.move.xpm%" Move
  141. + "Resize%mini.resize.xpm%" Resize
  142. + "Raise%mini.raise.xpm%" Raise
  143. + "Lower%mini.lower.xpm%" Lower
  144. + "(De)Iconify%mini.iconify.xpm%" Iconify
  145. + "(Un)Stick%mini.stick2.xpm%" Stick
  146. + "(Un)Maximize%mini.maximize.xpm%" Maximize
  147. + "" Nop
  148. + "Delete%mini.excl.xpm%" Delete
  149. + "Close%mini.cut.xpm%" Close
  150. + "Destroy%mini.destroy.xpm%" Destroy
  151. + "" Nop
  152. + "Refresh Window%mini.refresh.xpm%" RefreshWindow
  153. AddToMenu Window-Ops2 "&Move%mini.move.xpm%" Move
  154. + "&Resize%mini.resize.xpm%" Resize
  155. + "R&aise%mini.raise.xpm%" Raise
  156. + "&Lower%mini.lower.xpm%" Lower
  157. + "(De)&Iconify%mini.iconify.xpm%" Iconify
  158. + "(Un)&Stick%mini.stick2.xpm%" Stick
  159. + "(Un)Ma&ximize%mini.maximize.xpm%" Maximize
  160. + "" Nop
  161. + "&Delete%mini.excl.xpm%" Delete
  162. + "&Close%mini.cut.xpm%" Close
  163. + "Destroy%mini.destroy.xpm%" Destroy
  164. + "" Nop
  165. + "ScrollBar" Module FvwmScroll 2 2
  166. + "Print" PrintFunction
  167. #+ "Print Reverse" PrintReverseFunction
  168. # be sure to fill these in with your correct machine names:
  169. AddToMenu Remote-Logins "dopey" Exec rsh dopey rxvt -display $HOSTDISPLAY &
  170. + "snoopy" Exec rsh snoopy rxvt -display $HOSTDISPLAY &
  171. + "grumpy" Exec rsh grumpy rxvt -display $HOSTDISPLAY &
  172. + "happy" Exec rsh happy rxvt -display $HOSTDISPLAY &
  173. + "bailey" Exec rsh bailey rxvt -display $HOSTDISPLAY &
  174. + "barnum" Exec rsh barnum rxvt -display $HOSTDISPLAY &
  175. + "joker" Exec rsh joker rxvt -display $HOSTDISPLAY &
  176. + "signal" Exec rxterm signal
  177. AddToMenu Module-Popup "FvwmModules" Title
  178. + "Identify" Module FvwmIdent
  179. + "Talk" Module FvwmTalk
  180. + "" Nop
  181. + "Button-Bar" Module FvwmButtons
  182. + "Pager" Module FvwmPager 0 0
  183. + "Pager (2 desks)" Module FvwmPager 0 1
  184. + "WinList" Module FvwmWinList
  185. + "" Nop
  186. + "Banner" Module FvwmBanner
  187. + "ScrollBar" Module FvwmScroll 50 50
  188. + "Background" Module FvwmBacker
  189. + "AutoRaise" Module FvwmAuto 200 Raise Nop
  190. + "Stop AutoRaise" KillModule FvwmAuto
  191. + "" Nop
  192. + "IconBox" Module FvwmIconBox
  193. + "IconMan" Module FvwmIconMan
  194. + "" Nop
  195. + "Form - Rlogin" Module FvwmForm Rlogin
  196. + "Form - MyFvwmTalk" Module FvwmForm MyFvwmTalk
  197. + "Form - QuitVerify" Module FvwmForm QuitVerify
  198. AddToMenu Quit-Verify
  199. + "Restart Fvwm%mini.refresh.xpm%" Restart fvwm
  200. + "" Nop
  201. + "Start cwm" Restart cwm
  202. + "Start wm2" Restart wm2
  203. + "Start twm" Restart twm
  204. + "Start ctwm" Restart ctwm
  205. + "Start flwm" Restart flwm
  206. + "Start mwm" Restart mwm
  207. + "Start openbox" Restart openbox
  208. + "Start tvtwm" Restart tvtwm
  209. + "" Nop
  210. + "Start dummy%mini.xterm.xpm%" Restart xterm
  211. + "" Nop
  212. + "No, Don't Quit" Nop
  213. ######################## Sample Functions ##########################
  214. AddToFunc MailFunction "I" Next [$0] Iconify -1
  215. + "I" Next [$0] Focus
  216. + "I" None [$0] Exec $0 $1
  217. AddToFunc Move-or-Raise "I" Raise
  218. + "M" Move
  219. + "D" Lower
  220. AddToFunc Move-or-Raise2 "M" Raise
  221. + "M" Move
  222. + "D" Lower
  223. AddToFunc Maximize-Func "M" Maximize 0 100
  224. + "C" Maximize 0 80
  225. + "D" Maximize 100 100
  226. AddToFunc Move-or-Iconify "I" Raise
  227. + "M" Move
  228. + "D" Iconify
  229. AddToFunc Resize-or-Raise "I" Raise
  230. + "M" Resize
  231. + "D" Lower
  232. AddToFunc Resize-or-Raise2 "M" Raise
  233. + "M" Resize
  234. + "D" Lower
  235. AddToFunc PrintFunction "I" Raise
  236. + "I" Exec xdpr -id $w
  237. AddToFunc PrintReverseFunction "I" Raise
  238. + "I" Exec xdpr 1/2 -h -rv -id $w
  239. AddToFunc Iconify-and-Raise "I" Iconify
  240. + "I" Raise
  241. # RLOGIN machine fg bg
  242. AddToFunc RLOGIN "I" Exec xterm -fg $1 -bg $2 -e rlogin $0 -8
  243. # TELNET machine fg bg
  244. AddToFunc TELNET "I" Exec xterm -fg $1 -bg $2 -e telnet $0
  245. AddToFunc FocusAndWarp "I" Focus
  246. + "I" WarpToWindow 2p 2p
  247. AddToFunc DeiconifyFocusAndWarp "I" Iconify -1
  248. + "I" FocusAndWarp
  249. AddToFunc ChangeDefaultFocus "I" Style "*" $0
  250. + "I" Recapture
  251. ############################################################################
  252. # Now some keyboard shortcuts.
  253. #
  254. # Mainly * Meta-^Arrow to switch form a workspace to another
  255. # (because ^Arrow still be useful for jumping to previous/forward string)
  256. # * Alt-Tab to spread WinList
  257. #
  258. # Arrow Keys
  259. # press "arrow + Meta+Control" anywhere, and scroll by 1 page
  260. # instead of "A C"...
  261. Key Left A MC Scroll -100 0
  262. Key Right A MC Scroll +100 +0
  263. Key Up A MC Scroll +0 -100
  264. Key Down A MC Scroll +0 +100
  265. # because it's cool to be able to C-arrow to switch
  266. # from one string to another in a text !
  267. # press shift arrow + control anywhere, and move the pointer by 1% of a page
  268. Key Left A SC CursorMove -1 0
  269. Key Right A SC CursorMove +1 +0
  270. Key Up A SC CursorMove +0 -1
  271. Key Down A SC CursorMove +0 +1
  272. # press shift arrow + meta key, and move the pointer by 1/10 of a page
  273. Key Left A SM CursorMove -10 +0
  274. Key Right A SM CursorMove +10 +0
  275. Key Up A SM CursorMove +0 -10
  276. Key Down A SM CursorMove +0 +10
  277. # Keyboard accelerators
  278. Key F1 A M Menu RootMenu
  279. Key F2 A M Menu Window-Ops
  280. Key Tab A M WindowList
  281. Key F4 A M Iconify
  282. Key F5 A M Move
  283. Key F6 A M Resize
  284. ################## FvwmButtons button-bar ################################
  285. # something similar to ``dtpanel'', perhaps looking quite better ! #
  286. *FvwmButtonsBack bisque3
  287. *FvwmButtons(Frame 2 Padding 2 2 Container(Rows 2 Frame 1 Padding 10 0 \
  288. Swallow(Respawn)))
  289. *FvwmButtons(NoSize Title Close, Icon bomb.xpm, Action Close)
  290. *FvwmButtons(Title Resize Icon mini.resize.xpm Back bisque4 Action Resize)
  291. *FvwmButtons(NoSize Icon Jnews.xpm, Action \
  292. `Exec exec thunderbird`)
  293. *FvwmButtons(NoSize Icon mini.netscape.xpm, Action \
  294. `Exec exec seamonkey`)
  295. *FvwmButtons(NoSize Icon xterm-dec.xpm, Action \
  296. `Exec exec xterm`)
  297. *FvwmButtons(NoSize Icon page.xpm, Action \
  298. `Exec exec nedit`)
  299. *FvwmButtons(3x1 Back darkolivegreen Fore white Frame 2 Padding 3 3 \
  300. Container(Rows 1 Frame -2 Padding 1 1 Back darkolivegreen))
  301. *FvwmButtons(Frame 2 Back darkolivegreen Icon xlock.xpm, \
  302. Action `Exec exec xlock`)
  303. *FvwmButtons(Title(Side,Right) Mail \
  304. Swallow(UseOld,NoRespawn)\
  305. xbiff `Exec exec xbiff -bg darkolivegreen -geometry +200+200`)
  306. *FvwmButtons(End)
  307. *FvwmButtons(1x1 Back grey Fore white Frame 1 Padding 3 3 \
  308. Container(Rows 1 Frame -2 Padding 1 1 Back darkred))
  309. *FvwmButtons(Frame 2 NoSize Icon skull.xpm, Action FvwmForm QuitVerify)
  310. *FvwmButtons(End)
  311. *FvwmButtons(End)
  312. *FvwmButtonsGeometry 310x90+0+0
  313. ########################## Window-Identifier ###############################
  314. # Just choose colors and a fonts
  315. *FvwmIdentBack MidnightBlue
  316. *FvwmIdentFore Yellow
  317. *FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  318. ########################### Pager #########################################
  319. *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  320. *FvwmPagerBack darkcyan
  321. *FvwmPagerFore white
  322. *FvwmPagerHilight #2d2d2d
  323. *FvwmPagerGeometry 100x100+0+314
  324. *FvwmPagerLabel 0 "OpenBSD 5.8"
  325. *FvwmPagerLabel 1 Hacks
  326. *FvwmPagerLabel 2 Mail
  327. *FvwmPagerLabel 3 Octave
  328. *FvwmPagerSmallFont 5x8
  329. ##########################FvwmWinList##################################
  330. *FvwmWinListBack #908090
  331. *FvwmWinListFore Black
  332. *FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  333. *FvwmWinListAction Click1 Iconify -1,Focus
  334. *FvwmWinListAction Click2 Iconify
  335. *FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
  336. *FvwmWinListUseSkipList
  337. *FvwmWinListGeometry +0-1
  338. *FvwmBackerDesk 0 -solid steelblue
  339. *FvwmBackerDesk 1 -solid midnightblue
  340. *FvwmScrollBack grey40
  341. *FvwmScrollFore green
  342. ############################################################
  343. *FvwmIconBoxIconBack #cfcfcf
  344. *FvwmIconBoxIconHiFore black
  345. *FvwmIconBoxIconHiBack LightSkyBlue
  346. *FvwmIconBoxBack #5f9ea0
  347. #*FvwmIconBoxFore blue
  348. *FvwmIconBoxGeometry 5x1+0+0
  349. *FvwmIconBoxMaxIconSize 64x38
  350. *FvwmIconBoxFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  351. *FvwmIconBoxSortIcons IconName
  352. *FvwmIconBoxPadding 4
  353. *FvwmIconBoxLines 10
  354. *FvwmIconBoxSBWidth 11
  355. *FvwmIconBoxPlacement Left Top
  356. *FvwmIconBoxPixmap fvwm.xpm
  357. #*FvwmIconBoxHideSC Horizontal
  358. *FvwmIconBoxSetWMIconSize
  359. *FvwmIconBoxHilightFocusWin
  360. #*FvwmIconBoxResolution Desk
  361. *FvwmIconBoxMouse 1 Click RaiseLower
  362. *FvwmIconBoxMouse 1 DoubleClick Iconify
  363. *FvwmIconBoxMouse 2 Click Iconify -1, Focus
  364. *FvwmIconBoxMouse 3 Click Module FvwmIdent
  365. *FvwmIconBoxKey r RaiseLower
  366. *FvwmIconBoxKey space Iconify
  367. *FvwmIconBoxKey d Close
  368. *FvwmIconBoxKey n Next
  369. *FvwmIconBoxKey p Prev
  370. *FvwmIconBoxKey h Left
  371. *FvwmIconBoxKey j Down
  372. *FvwmIconBoxKey k Up
  373. *FvwmIconBoxKey l Right
  374. #
  375. # Icon file specifications
  376. #
  377. # Mostly, you don't have to specify icon files, as FvwmIconBox now
  378. # reads icon files specified in Style commands.
  379. #
  380. *FvwmIconBox "Fvwm*" -
  381. # FvwmForm alias - query exit ala mwm
  382. *QuitVerifyGrabServer
  383. *QuitVerifyWarpPointer
  384. *QuitVerifyFont *helvetica*m*r*n*14*
  385. #*QuitVerifyButtonFont *helvetica*m*o*n*14*
  386. *QuitVerifyButtonFont 7x13bold
  387. *QuitVerifyFore Black
  388. *QuitVerifyBack Light Gray
  389. *QuitVerifyItemFore Wheat
  390. *QuitVerifyItemBack Gray50
  391. # begin items
  392. *QuitVerifyLine center
  393. *QuitVerifyText "Do ya really wanna divorce with FVWM???"
  394. *QuitVerifyLine expand
  395. *QuitVerifyButton quit " Nuke me! "
  396. *QuitVerifyCommand Quit
  397. *QuitVerifyButton quit "Bring me back to reason!"
  398. *QuitVerifyCommand Nop