Advertisement
Dj_Dexter

.fvwm2rc

Nov 26th, 2011
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.07 KB | None | 0 0
  1. #######################################################
  2. ### .fvwm2rc BEGIN
  3. #######################################################
  4. # System configuration file for Fvwm2 ( .fwm2rc )
  5. #
  6.  
  7. # Paths
  8. #IconPath /usr/X11R6/include/X11/bitmaps/:$HOME/bitmaps
  9. #PixmapPath /usr/X11R6/include/X11/pixmaps/:$HOME/xpms:$HOME/pixmaps
  10. #ModulePath $FVWM_MODULEDIR:$HOME/fvwm-modules
  11. ImagePath /usr/share/pixmaps/:$HOME/.fvwm/icons
  12.  
  13. # 'rubber-band' window-borders when moving and resizing windows.
  14. XORvalue 208
  15.  
  16. # Make our windows snap-up against other windows and make icons snap
  17. # up against other icons
  18. Style "*" SnapAttraction 20 SameType
  19.  
  20. # Font configuration
  21. WindowFont -adobe-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*
  22. IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  23.  
  24. # HighlightColor
  25. HilightColor linen SteelBlue4
  26.  
  27. # BorderStyle
  28. BorderStyle Active Solid SteelBlue4 -- NoInset HiddenHandles
  29. BorderStyle Inactive Solid #11236b -- NoInset HiddenHandles
  30.  
  31. # TitleStyle
  32. TitleStyle ActiveUp Solid SteelBlue4 -- flat
  33. TitleStyle ActiveDown Solid SteelBlue4 -- flat
  34. TitleStyle Inactive Solid #11236b -- flat
  35.  
  36. # The Second Variation of TitleStyle:
  37. TitleStyle LeftJustified height 18
  38.  
  39. # Button Styles
  40. ButtonStyle All -- UseTitleStyle flat
  41. ButtonStyle 1 14 20x20@1 20x70@1 70x70@0 70x20@0 20x20@1 60x60@0 60x50@0 60x60@0 50x60@0 60x60@0 60x80@0 80x80@0 80x60@0 60x60@0
  42. ButtonStyle 2 16 60x40@1 60x80@0 15x80@0 15x40@1 60x40@1 40x40@1 40x25@1 75x25@1 75x60@0 60x60@0 75x60@0 75x40@0 85x40@0 85x15@0 60x15@1 60x25@1
  43. ButtonStyle 4 12 50x10@1 25x35@1 40x35@1 40x60@1 25x60@1 50x85@1 75x60@0 60x60@0 60x35@0 75x35@0 50x10@0 50x10@1
  44. ButtonStyle 6 12 10x50@1 35x25@1 35x40@1 65x40@1 65x25@1 90x50@1 65x75@0 65x60@0 35x60@0 35x75@0 10x50@0 10x50@1
  45. ButtonStyle 8 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
  46.  
  47. # MenuStyle
  48. #MenuStyle * background #455561, ActiveFore #ccfcf0, ForeGround black
  49. MenuStyle * popupoffset 0 100
  50. #MenuStyle * MenuFace HGradient 64 1 #758591 100 #102030, Animation
  51. MenuStyle * Foreground black, Background grey60, Greyed grey40
  52. MenuStyle * Font -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
  53. # Set up some desktop options
  54. DesktopSize 1x1
  55.  
  56. # EdgeResistance scrolling moving
  57. #EdgeResistance 750 75
  58. # EdgeScroll horizontal vertical
  59. EdgeScroll 100 100
  60. Style * EdgeMoveDelay scrolling
  61. Style * EdgeMoveResistance 100 100
  62. # OpaqueMoveSize percentage
  63. OpaqueMoveSize 1
  64.  
  65. # Style related options
  66. Style "*" ForeColor grey40
  67. Style "*" BackColor #11236b
  68. Style "*" SmartPlacement, CleverPlacement
  69. Style "*" StickyIcon
  70. #Style "*" IconBox 5 -50 -134 -5
  71. #Style "*" IconBox -5 -290 -134 -5
  72. #Style "*" IconBox -5 -730 -134 -5
  73. Style "*" IconBox -1250 -730 -134 -5
  74. Style "*" BorderWidth 5, HandleWidth 5
  75. Style "*" UsePPosition
  76. Style "*" NakedTransient
  77. Style "*" SloppyFocus
  78. Style "*" MouseFocusClickRaises
  79. Style "*" ResizeOutline
  80. Style "*" IconSize 36 36
  81.  
  82. # Some Fvwm-Related Styles
  83. Style "Fvwm*" !Title, !Handles, Sticky, WindowListSkip
  84. Style "FvwmWinList" !Title
  85. Style "FvwmPager" Sticky, StaysOnTop, BorderWidth 0
  86. Style "FvwmBanner" StaysOnTop
  87.  
  88. # Resources for Modules
  89. DestroyModuleConfig FvwmPager: *
  90. *FvwmPager: Back #150525
  91. *FvwmPager: Fore #484058
  92. *FvwmPager: Font -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  93. *FvwmPager: Hilight #908090
  94. *FvwmPager: DeskTopScale 64
  95. *FvwmPager: Geometry -0-0
  96. *FvwmPager: Label 0 Pager
  97. *FvwmPager: SmallFont 5x8
  98. *FvwmPager: Columns 1
  99. *FvwmPager: Label 0 I
  100. *FvwmPager: Label 1 II
  101. *FvwmPager: Label 2 III
  102. *FvwmPager: Label 3 IV
  103. *FvwmPager: Balloons Pager
  104. *FvwmPager: Balloonfore white
  105.  
  106. # Custom styles
  107. style "xterm" BorderWidth 6, Handlewidth 6
  108. Style "gkrellm" BorderWidth 0, !Title, !Handles
  109. Style "Audacious" BorderWidth 0, !Title, !Handles
  110. #Style "firefox" CenterPlacement
  111. Style "*Dialog_popup" WindowListSkip
  112. Style "rclock" !Title, !Borders, !Handles, Sticky
  113. Style "xload" !Title, !Borders, !Handles, Sticky
  114. Style "trayer" !Title, !Borders, !Handles
  115. Style "Opera" !Handles
  116.  
  117. #
  118. #################
  119. # Icons applications
  120. #################
  121. #
  122. Style * IconOverride
  123. #Style * ExactIconName
  124. Style * DecorateTransient
  125. Style xterm Icon yax_winterm.xpm
  126. Style urxvt Icon yax_winterm.xpm
  127. Style MPlayer Icon default.xpm
  128. Style Xpdf Icon default.xpm
  129. Style xmag Icon default.xpm
  130. Style xnetload Icon default.xpm
  131. Style Dillo Icon default.xpm
  132. Style Cooledit Icon default.xpm
  133.  
  134. #
  135. #################
  136. #I think it is posible to get red cursor
  137. #################
  138. #
  139. CursorStyle ROOT left_ptr white red
  140.  
  141. OpaqueMoveSize -1
  142. Style "*" SnapAttraction 4 SameType
  143. Style "*" SnapGrid 1 1
  144. MoveThreshold 3
  145. BugOpts FlickeringMoveWorkAround On
  146.  
  147. # Function definitions
  148. AddToFunc "Move-or-Raise" "M" Move
  149. + "M" Raise
  150. + "C" Raise
  151. + "D" WindowShade
  152.  
  153. AddToFunc "Move-or-Iconify" "M" Move
  154. + "D" Iconify
  155. + "C" RaiseLower
  156.  
  157. AddToFunc "Resize-or-Raise" "M" Resize
  158. + "M" Raise
  159. + "C" Raise
  160. + "D" RaiseLower
  161.  
  162. AddToFunc "InitFunction" "Immediate" #Module FvwmPager 0 3
  163. #+ "Inmediate" Exec xrandr -s 1366x768 &
  164. #+ "Immediate" Module FvwmAudio
  165. + "Immediate" Exec xsetroot -solid \#050530
  166. + "Immediate" Exec xscreensaver &
  167. + "Immediate" Desk 0 0
  168.  
  169. AddToFunc "Maximize_func" "M" Maximize 0 100
  170. + "C" Maximize 0 80
  171. + "D" Maximize 100 100
  172.  
  173. # Key bindings
  174. # Ignore Num Lock
  175. IgnoreModifiers L25
  176. Key F9 A M Desk 0 0
  177. Key F10 A M Desk 0 1
  178. Key F11 A M Desk 0 2
  179. Key F12 A M Desk 0 3
  180. # ALT+TAB Windowlist
  181. #Key Tab A M WindowList NoGeometry
  182. #Key Volume+
  183. Key XF86AudioRaiseVolume A A Exec exec amixer set PCM 5%+ -q
  184. #Key Volume-
  185. Key XF86AudioLowerVolume A A Exec exec amixer set PCM 5%- -q
  186. # ALT+F2 Resize
  187. Key F2 A M Resize
  188. # ALT+F4 Close
  189. Key F4 A M Close
  190. # ALT+R exec gmrun
  191. Key R A M Exec exec gmrun
  192. # ALT+E exec gentoo
  193. Key E A M Exec exec pcmanfm
  194. # Super+V +real transparency
  195. Key V A 4 Exec exec transset-df --min 0.1 -p --dec 0.2
  196. # Super+H -real transparency
  197. Key H A 4 Exec exec transset-df -p --inc 0.1
  198. # F12 to open QuakeTerm
  199. #Key F12 A A Next (CirculateHit, QuakeTerm) QuakeTermKeyBinding
  200. # WindowsKey+S Sticky window
  201. Key S A 4 Stick
  202.  
  203. # Mouse bindings
  204. # Button Context Modifi Function
  205. Mouse 1 R A Menu "MainMenu" Nop
  206. Mouse 3 R A Menu "Window-ops-Popup" Nop
  207. Mouse 2 R A WindowList
  208. Mouse 4 R A Menu Nop
  209. Mouse 5 R A Menu Nop
  210. Mouse 1 1 N Iconify
  211. Mouse 1 I N Function "Move-or-Iconify"
  212. Mouse 1 2 N Maximize
  213. Mouse 1 4 N Maximize 0 100
  214. Mouse 1 6 N Maximize 100 0
  215. Mouse 1 8 N Delete
  216. Mouse 1 SF N Function "Resize-or-Raise"
  217. Mouse 1 T N Function "Move-or-Raise"
  218.  
  219.  
  220. # Menu Definitions
  221. AddToMenu "Window-ops-Popup" "Move" Function Move-or-Raise
  222. + "(Un)Stick" Stick
  223. + "Identify" Module FvwmIdent
  224. + "" Nop
  225. + "Destroy" Destroy
  226. + "Close" Close
  227.  
  228. AddToMenu "MainMenu"
  229. + "" Nop
  230. #+ "xterm" Exec xset r rate 175 60;xterm -tn xterm -r +sb -j -s -sl 1000 -geometry 128x89 -fg white -bg black &
  231. + "xterm" Exec exec xterm
  232. + "Urxvt" Exec exec urxvt -pe tabbed
  233. + "Pcmanfm" Exec exec pcmanfm
  234. + "" Nop
  235. + "Run App" Exec exec gmrun
  236. + "" Nop
  237. + "opera" Exec exec opera
  238. + "Menu" Popup MenuRoot
  239. #+ "" Nop
  240. #+ "XLock" Exec xscreensaver-command -lock
  241. + "Session" Popup Quit-Session
  242. + "Quit X" Popup Quit-Verify
  243. #+ "" Nop
  244.  
  245.  
  246. AddToMenu "Quit-Verify"
  247. + "Restart" Restart fvwm -f ~/.fvwm/.fvwm2rc
  248. + "Yes, Quit X" Quit
  249. AddToMenu "Quit-Session"
  250. + "Restart" Exec sudo shutdown -r now &
  251. + "Shutdown" Exec sudo shutdown -h now &
  252.  
  253.  
  254. ######################## Menus ###################
  255. #DestroyMenu MenuFvwmRoot
  256. AddToMenu "MenuRoot" "$[gt.Root Menu]" Title
  257. + "&Urxvt" Exec exec urxvt -pe tabbed
  258. + "&Pcmanfm" Exec exec pcmanfm
  259. + "&Edit Config" Exec exec urxvt -e nano ~/.fvwm/.fvwm2rc
  260. + "&Utilidad" Popup MenuFvwmUtil
  261. + "&IM" Popup MenuFvwmIM
  262. + "&Irc" Popup MenuFvwmIrc
  263. + "&Pic" Popup MenuFvwmPic
  264. + "&Pdf" Popup MenuFvwmPdf
  265. + "&Correo" Popup MenuFvwmCorreo
  266. + "&Openoffice " Popup MenuFvwmOpenoffice
  267. + "&Editores" Popup MenuFvwmEditores
  268. + "&Emuladores" Popup MenuFvwmEmuladores
  269. + "&Juegos" Popup MenuFvwmJuegos
  270. + "&Audio" Popup MenuFvwmAudio
  271. + "&Video" Popup MenuFvwmVideo
  272. + "&Ftp" Popup MenuFvwmFtp
  273. + "&P2p" Popup MenuFvwmP2p
  274. + "" Nop
  275. #+ "&R. $[gt.Remote Logins]" Popup MenuFvwmLogins
  276. + "" Nop
  277. + "&U. $[gt.Utilities]" Popup MenuFvwmUtilities
  278. #+ "" Nop
  279. #+ "&M. $[gt.Fvwm Modules]" Popup #MenuFvwmModules
  280. #+ "&W. $[gt.Fvwm Window Ops]" Popup #MenuFvwmWindowOps
  281. #+ "&S. $[gt.Fvwm Config Ops]" Popup MenuFvwmConfig
  282. #+ "" Nop
  283. #+ "&F. $[gt.Refresh Screen]" Refresh
  284. #+ "&C. $[gt.Recapture Screen]" Recapture
  285. #+ "" Nop
  286. #+ "&X. $[gt.Exit Fvwm]" Popup MenuFvwmQuitVerify
  287.  
  288. DestroyMenu MenuFvwmIM
  289. AddToMenu MenuFvwmIM "$[gt.IM Menu]" Title
  290. + "&1. emesene" Exec exec emesene
  291. + "&2. Gajim" Exec exec gajim
  292. + "&3. aMsn" Exec exec amsn
  293. + "&4. Mcabber" Exec exec urxvt -e mcabber
  294. + "&5. Pidgin" Exec exec pidgin
  295.  
  296. DestroyMenu MenuFvwmIrc
  297. AddToMenu MenuFvwmIrc "$[gt.Irc Menu]" Title
  298. + "&1. xchat" Exec exec xchat
  299. + "&2. irssi (screen)" Exec exec urxvt -e screen irssi
  300. + "&3. irssi" Exec exec urxvt -e irssi
  301. + "&4. Weechat" Exec exec urxvt -e weechat-curses
  302.  
  303. DestroyMenu MenuFvwmPic
  304. AddToMenu MenuFvwmPic "$[gt.Pic Menu]" Title
  305. + "&1. eog" Exec exec eog
  306. + "&2. Gimp" Exec exec gimp
  307. + "&3. Gpicview" Exec exec gpicview
  308. + "&4. Gthumb" Exec exec gthumb
  309. + "&5. GQview" Exec exec gqview
  310. + "&6. Xv" Exec exec xv
  311.  
  312. DestroyMenu MenuFvwmPdf
  313. AddToMenu MenuFvwmPdf "$[gt.Pdf Menu]" Title
  314. + "&1. Evince" Exec exec evince
  315. + "&2. xpdf" Exec exec xpdf
  316. + "&3. Fbreader" Exec exec fbreader
  317.  
  318. DestroyMenu MenuFvwmCorreo
  319. AddToMenu MenuFvwmCorreo "$[gt.Correo Menu]" Title
  320. + "&1. Thunderbird" Exec exec thunderbird-bin
  321.  
  322. DestroyMenu MenuFvwmOpenoffice
  323. AddToMenu MenuFvwmOpenoffice "$[gt.Openoffice Menu]" Title
  324. + "&. Openoffice" Exec exec ooffice
  325. + "&. Writer" Exec exec oowriter
  326. + "&. Spreadsheet" Exec exec oocalc
  327. + "&. Draw" Exec exec oodraw
  328. + "&. Impress" Exec exec ooimpress
  329. #+ "&. Libreoffice" Exec exec libreoffice
  330. #+ "&. Writer" Exec exec libreoffice --writer
  331. #+ "&. Spreadsheet" Exec exec libreoffice --calc
  332. #+ "&. Draw" Exec exec libreoffice --draw
  333. #+ "&. Impress" Exec exec libreoffice --impress
  334.  
  335. DestroyMenu MenuFvwmEditores
  336. AddToMenu MenuFvwmEditores "$[gt.Editores Menu]" Title
  337. + "&1. Gedit" Exec exec gedit
  338. + "&2. Cooledit" Exec exec cooledit --look cool
  339. + "&3. Ghex" Exec exec ghex2
  340. + "&4. VI" Exec exec urxvt -e vi
  341. + "&5. Nano" Exec exec urxvt -e nano
  342.  
  343. DestroyMenu MenuFvwmEmuladores
  344. AddToMenu MenuFvwmEmuladores "$[gt.Emuladores Menu]" Title
  345. + "&1. DosBox" Exec exec dosbox
  346. + "&2. Dosemu" Exec exec dosemu -6
  347. + "&3. VirtualBox" Exec exec VirtualBox
  348.  
  349. DestroyMenu MenuFvwmJuegos
  350. AddToMenu MenuFvwmJuegos "$[gt.Juegos Menu]" Title
  351. + "&1. Gens" Exec exec gens
  352. + "&2. etracer" Exec exec etracer
  353. + "&3. Frozen-Bubble" Exec exec frozen-bubble
  354. + "&4. LsdlDoom" Exec exec lsdldoom -width 800 -height 600
  355. + "&5. Medafen (frontend)" Exec exec mfe
  356. + "&7. Openarena" Exec exec openarenax
  357. + "&8. Kobodeluxe" Exec exec /usr/games/bin/kobodl
  358. + "&9. Ninvaders" Exec exec urxvt -e ninvaders
  359. + "&10. wolfgl-sdm" Exec exec wolfgl-sdm -width 800 -height 600
  360. + "&11. wolfgl-wl11" Exec exec wolfgl-wl1 -width 800 -height 600
  361. + "&12. Stella" Exec exec stella
  362. + "&13. Gfceux" Exec exec gfceux
  363. DestroyMenu MenuFvwmAudio
  364. AddToMenu MenuFvwmAudio "$[gt.Audio Menu]" Title
  365. + "&1. Gnome-alsamixer" Exec exec gnome-alsamixer
  366. + "&2. Audacious" Exec exec audacious
  367. + "&3. Audacity" Exec exec audacity
  368. + "&4. Alsamixer" Exec exec urxvt -e alsamixer
  369. + "&5. Gnome-volume-control" Exec exec gnome-volume-control
  370. + "&6. AlsaPlayer" Exec exec alsaplayer
  371. + "&7. Mmp" Exec exec mmp
  372. + "&8. Moc" Exec exec xterm -e mocp
  373. + "&9. Exaile" Exec exec exaile
  374. + "&10. Sound Converter" Exec exec soundconverter
  375. + "&11. Asunder" Exec exec asunder
  376. + "&12. Tagtool" Exec exec tagtool
  377.  
  378. DestroyMenu MenuFvwmVideo
  379. AddToMenu MenuFvwmVideo "$[gt.Video Menu]" Title
  380. + "&. Camorama" Exec exec camoramax
  381. + "&. Devede" Exec exec devede
  382. + "&. Gnome-Mplayer" Exec exec gnome-mplayer
  383. + "&. Xine" Exec exec xine
  384.  
  385. DestroyMenu MenuFvwmFtp
  386. AddToMenu MenuFvwmFtp "$[gt.Ftp Menu]" Title
  387. + "&. Gftp" Exec exec gftp
  388. + "&. ftp" Exec exec urxvt -e ftp
  389. + "&. Filezilla" Exec exec filezilla
  390.  
  391. DestroyMenu MenuFvwmUtil
  392. AddToMenu MenuFvwmUtil "$[gt.Utilidad]" Title
  393. + "&. File-roller" Exec exec file-roller
  394. + "&. nitrogen" Exec exec nitrogen /home/dexter4/GNUstep/Library/WindowMaker/Backgrounds
  395. + "&. Opera" Exec exec opera
  396. + "&. Gwget" Exec exec gwget
  397. + "&. Geany" Exec exec geany
  398. + "&. xfburn" Exec exec xfburn
  399. + "&. gnome-system-monitor" Exec exec gnome-system-monitor
  400. + "&. Pager" Module FvwmPager 0 3
  401. + "&. Kill Pager" KillModule FvwmPager
  402. + "" Nop
  403. + "&.Run Xcompmgr" Exec exec xcompmgr -cCFf -D3
  404. + "&.Kill Xcompmgr" Exec exec killall -9 xcompmgr
  405.  
  406. DestroyMenu MenuFvwmP2p
  407. AddToMenu MenuFvwmP2p "$[gt.P2p Menu]" Title
  408. + "&. aMule" Exec exec amule
  409. + "&. Nicotine" Exec exec nicotine
  410. + "&. Gtk-gnutella" Exec exec gtk-gnutella
  411. + "&. Transmission" Exec exec transmission-gtk
  412. + "&. Tucan" Exec exec tucan
  413. + "&. Linuxdcpp" Exec exec linuxdcpp
  414. DestroyMenu MenuFvwmUtilities
  415. AddToMenu MenuFvwmUtilities "$[gt.Utilities]" Title
  416. + "&T. Top" Exec exec urxvt -T Top -n Top -e top
  417. + "&C. Calculator" Exec exec xcalc
  418. + "&M. Xman" Exec exec xman
  419. + "&G. Xmag" Exec exec xmag
  420. + "&R. Xnetload" Exec exec xnetload -i eth0
  421. + "" Nop
  422. + "&L. Xscreensaver" Exec exec xscreensaver-command -lock
  423. + "" Nop
  424. + "&D. $[gt.Reset X defaults]" Exec xrdb -load $HOME/.Xdefaults
  425. + "&F. $[gt.Refresh Screen]" Refresh
  426. + "&C. $[gt.Recapture Screen]" Recapture
  427. #deactivate autofocus
  428. DestroyFunc UrgencyFunc
  429.  
  430. #autostart
  431. #AddToFunc StartFunction I Test (Init) Exec exec numlockx
  432. #AddToFunc StartFunction I Test (Init) Exec exec xscreensaver
  433.  
  434. DestroyFunc StartFunction
  435. AddToFunc StartFunction
  436. + I Module FvwmBanner
  437. + I Module FvwmPager 0 3
  438. + I Test (Init) Exec exec autocutsel
  439. #+ I Test (Init) Exec exec xcompmgr -c 1
  440. + I Test (Init) Exec exec xcompmgr -cCFf -D3
  441. + I Test (Init) Exec exec nitrogen --restore
  442. + I Test (Init) Exec exec trayer --transparent true --edge top --distance 5 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false
  443. + I Test (Init) Exec exec rclock geometry 80x80+0+0 -bg \#a0a0a0
  444. + I Test (Init) Exec exec xload -geometry 80x80+0+90 -update 3 -fg black -bg \#a0a0a0
  445.  
  446. #######################################################
  447. ### .fvwm2rc END
  448. #######################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement