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_cde 15KB

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