Advertisement
Dj_Dexter

.fvwm2rc

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