Advertisement
Dj_Dexter

.fvwm2rc

Nov 11th, 2011
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.88 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. # ALT+F2 Resize
  179. Key F2 A M Resize
  180. # ALT+F4 Close
  181. Key F4 A M Close
  182. # ALT+R exec gmrun
  183. Key R A M Exec exec gmrun
  184. # ALT+E exec gentoo
  185. Key E A M Exec exec pcmanfm
  186. # Super+V +real transparency
  187. Key V A 4 Exec exec transset-df --min 0.1 -p --dec 0.2
  188. # Super+H -real transparency
  189. Key H A 4 Exec exec transset-df -p --inc 0.1
  190. # F12 to open QuakeTerm
  191. #Key F12 A A Next (CirculateHit, QuakeTerm) QuakeTermKeyBinding
  192. # WindowsKey+S Sticky window
  193. Key S A 4 Stick
  194.  
  195. # Mouse bindings
  196. # Button Context Modifi Function
  197. Mouse 1 R A Menu "MainMenu" Nop
  198. Mouse 3 R A Menu "Window-ops-Popup" Nop
  199. Mouse 2 R A WindowList
  200. Mouse 4 R A Menu Nop
  201. Mouse 5 R A Menu Nop
  202. Mouse 1 1 N Iconify
  203. Mouse 1 I N Function "Move-or-Iconify"
  204. Mouse 1 2 N Maximize
  205. Mouse 1 4 N Maximize 0 100
  206. Mouse 1 6 N Maximize 100 0
  207. Mouse 1 8 N Delete
  208. Mouse 1 SF N Function "Resize-or-Raise"
  209. Mouse 1 T N Function "Move-or-Raise"
  210.  
  211.  
  212. # Menu Definitions
  213. AddToMenu "Window-ops-Popup" "Move" Function Move-or-Raise
  214. + "(Un)Stick" Stick
  215. + "Identify" Module FvwmIdent
  216. + "" Nop
  217. + "Destroy" Destroy
  218. + "Close" Close
  219.  
  220. AddToMenu "MainMenu"
  221. + "" Nop
  222. #+ "xterm" Exec xset r rate 175 60;xterm -tn xterm -r +sb -j -s -sl 1000 -geometry 128x89 -fg white -bg black &
  223. + "xterm" Exec xterm &
  224. + "Urxvt" Exec urxvt -pe tabbed &
  225. + "Pcmanfm" Exec pcmanfm &
  226. + "" Nop
  227. + "Run App" Exec gmrun &
  228. + "" Nop
  229. + "opera" Exec opera &
  230. + "Menu" Popup MenuRoot
  231. #+ "" Nop
  232. #+ "XLock" Exec xscreensaver-command -lock
  233. + "Session" Popup Quit-Session
  234. + "Quit X" Popup Quit-Verify
  235. #+ "" Nop
  236.  
  237.  
  238. AddToMenu "Quit-Verify"
  239. + "Restart" Restart fvwm -f ~/.fvwm/.fvwm2rc
  240. + "Yes, Quit X" Quit
  241. AddToMenu "Quit-Session"
  242. + "Restart" Exec sudo shutdown -r now &
  243. + "Shutdown" Exec sudo shutdown -h now &
  244.  
  245.  
  246. ######################## Menus ###################
  247. #DestroyMenu MenuFvwmRoot
  248. AddToMenu "MenuRoot" "$[gt.Root Menu]" Title
  249. + "&Urxvt" Exec exec urxvt -pe tabbed
  250. + "&Pcmanfm" Exec exec pcmanfm
  251. + "&Edit Config" Exec exec urxvt -e nano ~/.fvwm/.fvwm2rc
  252. + "&Utilidad" Popup MenuFvwmUtil
  253. + "&IM" Popup MenuFvwmIM
  254. + "&Irc" Popup MenuFvwmIrc
  255. + "&Pic" Popup MenuFvwmPic
  256. + "&Pdf" Popup MenuFvwmPdf
  257. + "&Correo" Popup MenuFvwmCorreo
  258. + "&Libreoffice" Popup MenuFvwmLibreoffice
  259. + "&Editores" Popup MenuFvwmEditores
  260. + "&Emuladores" Popup MenuFvwmEmuladores
  261. + "&Juegos" Popup MenuFvwmJuegos
  262. + "&Audio" Popup MenuFvwmAudio
  263. + "&Video" Popup MenuFvwmVideo
  264. + "&Ftp" Popup MenuFvwmFtp
  265. + "&P2p" Popup MenuFvwmP2p
  266. + "" Nop
  267. #+ "&R. $[gt.Remote Logins]" Popup MenuFvwmLogins
  268. + "" Nop
  269. + "&U. $[gt.Utilities]" Popup MenuFvwmUtilities
  270. #+ "" Nop
  271. #+ "&M. $[gt.Fvwm Modules]" Popup #MenuFvwmModules
  272. #+ "&W. $[gt.Fvwm Window Ops]" Popup #MenuFvwmWindowOps
  273. #+ "&S. $[gt.Fvwm Config Ops]" Popup MenuFvwmConfig
  274. #+ "" Nop
  275. #+ "&F. $[gt.Refresh Screen]" Refresh
  276. #+ "&C. $[gt.Recapture Screen]" Recapture
  277. #+ "" Nop
  278. #+ "&X. $[gt.Exit Fvwm]" Popup MenuFvwmQuitVerify
  279.  
  280. DestroyMenu MenuFvwmIM
  281. AddToMenu MenuFvwmIM "$[gt.IM Menu]" Title
  282. + "&1. emesene" Exec exec emesene
  283. + "&2. Gajim" Exec exec gajim
  284. + "&3. aMsn" Exec exec amsn
  285. + "&4. Mcabber" Exec exec urxvt -e mcabber
  286. + "&5. Pidgin" Exec exec pidgin
  287.  
  288. DestroyMenu MenuFvwmIrc
  289. AddToMenu MenuFvwmIrc "$[gt.Irc Menu]" Title
  290. + "&1. xchat" Exec exec xchat
  291. + "&2. irssi (screen)" Exec exec urxvt -e screen irssi
  292. + "&3. irssi" Exec exec urxvt -e irssi
  293. + "&4. Weechat" Exec exec urxvt -e weechat-curses
  294.  
  295. DestroyMenu MenuFvwmPic
  296. AddToMenu MenuFvwmPic "$[gt.Pic Menu]" Title
  297. + "&1. eog" Exec exec eog
  298. + "&2. Gimp" Exec exec gimp
  299. + "&3. Gpicview" Exec exec gpicview
  300. + "&4. Gthumb" Exec exec gthumb
  301. + "&5. GQview" Exec exec gqview
  302. + "&6. Xv" Exec exec xv
  303.  
  304. DestroyMenu MenuFvwmPdf
  305. AddToMenu MenuFvwmPdf "$[gt.Pdf Menu]" Title
  306. + "&1. Evince" Exec exec evince
  307. + "&2. xpdf" Exec exec xpdf
  308. + "&3. Fbreader" Exec exec fbreader
  309.  
  310. DestroyMenu MenuFvwmCorreo
  311. AddToMenu MenuFvwmCorreo "$[gt.Correo Menu]" Title
  312. + "&1. Thunderbird" Exec exec thunderbird-bin
  313.  
  314. DestroyMenu MenuFvwmLibreoffice
  315. AddToMenu MenuFvwmLibreoffice "$[gt.Libreoffice Menu]" Title
  316. #+ "&1. Libreoffice" Exec exec soffice
  317. #+ "&2. Writer" Exec exec lowriter
  318. #+ "&3. Spreadsheet" Exec exec localc
  319. #+ "&4. Draw" Exec exec lodraw
  320. #+ "&5. Impress" Exec exec loimpress
  321. + "&. Libreoffice" Exec exec libreoffice
  322. + "&. Writer" Exec exec libreoffice --writer
  323. + "&. Spreadsheet" Exec exec libreoffice --calc
  324. + "&. Draw" Exec exec libreoffice --draw
  325. + "&. Impress" Exec exec libreoffice --impress
  326.  
  327. DestroyMenu MenuFvwmEditores
  328. AddToMenu MenuFvwmEditores "$[gt.Editores Menu]" Title
  329. + "&1. Gedit" Exec exec gedit
  330. + "&2. Cooledit" Exec exec cooledit --look cool
  331. + "&3. Ghex" Exec exec ghex2
  332. + "&4. VI" Exec exec urxvt -e vi
  333. + "&5. Nano" Exec exec urxvt -e nano
  334.  
  335. DestroyMenu MenuFvwmEmuladores
  336. AddToMenu MenuFvwmEmuladores "$[gt.Emuladores Menu]" Title
  337. + "&1. DosBox" Exec exec dosbox
  338. + "&2. Dosemu" Exec exec dosemu -6
  339. + "&3. VirtualBox" Exec exec VirtualBox
  340.  
  341. DestroyMenu MenuFvwmJuegos
  342. AddToMenu MenuFvwmJuegos "$[gt.Juegos Menu]" Title
  343. + "&1. Gens" Exec exec gens
  344. + "&2. etracer" Exec exec etracer
  345. + "&3. Frozen-Bubble" Exec exec frozen-bubble
  346. + "&4. LsdlDoom" Exec exec lsdldoom -width 800 -height 600
  347. + "&5. Medafen (frontend)" Exec exec mfe
  348. + "&7. Openarena" Exec exec openarenax
  349. + "&8. Kobodeluxe" Exec exec /usr/games/bin/kobodl
  350. + "&9. Ninvaders" Exec exec urxvt -e ninvaders
  351. + "&10. wolfgl-sdm" Exec exec wolfgl-sdm -width 800 -height 600
  352. + "&11. wolfgl-wl11" Exec exec wolfgl-wl1 -width 800 -height 600
  353. + "&12. Stella" Exec exec stella
  354. + "&13. Gfceux" Exec exec gfceux
  355. DestroyMenu MenuFvwmAudio
  356. AddToMenu MenuFvwmAudio "$[gt.Audio Menu]" Title
  357. + "&1. Gnome-alsamixer" Exec exec gnome-alsamixer
  358. + "&2. Audacious" Exec exec audacious
  359. + "&3. Audacity" Exec exec audacity
  360. + "&4. Alsamixer" Exec exec urxvt -e alsamixer
  361. + "&5. Gnome-volume-control" Exec exec gnome-volume-control
  362. + "&6. AlsaPlayer" Exec exec alsaplayer
  363. + "&7. Mmp" Exec exec mmp
  364. + "&8. Moc" Exec exec xterm -e mocp
  365. + "&9. Exaile" Exec exec exaile
  366. + "&10. Sound Converter" Exec exec soundconverter
  367. + "&11. Asunder" Exec exec asunder
  368. + "&12. Tagtool" Exec exec tagtool
  369.  
  370. DestroyMenu MenuFvwmVideo
  371. AddToMenu MenuFvwmVideo "$[gt.Video Menu]" Title
  372. + "&. Camorama" Exec exec LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama
  373. + "&. Devede" Exec exec devede
  374. + "&. Gnome-Mplayer" Exec exec gnome-mplayer
  375. + "&. Xine" Exec exec xine
  376.  
  377. DestroyMenu MenuFvwmFtp
  378. AddToMenu MenuFvwmFtp "$[gt.Ftp Menu]" Title
  379. + "&. Gftp" Exec exec gftp
  380. + "&. ftp" Exec exec urxvt -e ftp
  381. + "&. Filezilla" Exec exec filezilla
  382.  
  383. DestroyMenu MenuFvwmUtil
  384. AddToMenu MenuFvwmUtil "$[gt.Utilidad]" Title
  385. + "&. File-roller" Exec exec file-roller
  386. + "&. nitrogen" Exec exec nitrogen /home/dexter4/GNUstep/Library/WindowMaker/Backgrounds
  387. + "&. Opera" Exec exec opera
  388. + "&. Gwget" Exec exec gwget
  389. + "&. Geany" Exec exec geany
  390. + "&. xfburn" Exec exec xfburn
  391. + "&. gnome-system-monitor" Exec exec gnome-system-monitor
  392. + "&. Pager" Module FvwmPager 0 3
  393. + "&. Kill Pager" KillModule FvwmPager
  394. + "" Nop
  395. + "&.Run Xcompmgr" Exec exec xcompmgr -cCFf -D3
  396. + "&.Kill Xcompmgr" Exec exec killall -9 xcompmgr
  397.  
  398. DestroyMenu MenuFvwmP2p
  399. AddToMenu MenuFvwmP2p "$[gt.P2p Menu]" Title
  400. + "&. aMule" Exec exec amule
  401. + "&. Nicotine" Exec exec nicotine
  402. + "&. Gtk-gnutella" Exec exec gtk-gnutella
  403. + "&. Transmission" Exec exec transmission-gtk
  404. + "&. Tucan" Exec exec tucan
  405. + "&. Linuxdcpp" Exec exec linuxdcpp
  406. DestroyMenu MenuFvwmUtilities
  407. AddToMenu MenuFvwmUtilities "$[gt.Utilities]" Title
  408. + "&T. Top" Exec exec urxvt -T Top -n Top -e top
  409. + "&C. Calculator" Exec exec xcalc
  410. + "&M. Xman" Exec exec xman
  411. + "&G. Xmag" Exec exec xmag
  412. + "&R. Xnetload" Exec exec xnetload -i eth0
  413. + "" Nop
  414. + "&L. Xscreensaver" Exec exec xscreensaver-command -lock
  415. + "" Nop
  416. + "&D. $[gt.Reset X defaults]" Exec xrdb -load $HOME/.Xdefaults
  417. + "&F. $[gt.Refresh Screen]" Refresh
  418. + "&C. $[gt.Recapture Screen]" Recapture
  419. #deactivate autofocus
  420. DestroyFunc UrgencyFunc
  421.  
  422. #autostart
  423. #AddToFunc StartFunction I Test (Init) Exec exec numlockx
  424. #AddToFunc StartFunction I Test (Init) Exec exec xscreensaver
  425.  
  426. DestroyFunc StartFunction
  427. AddToFunc StartFunction
  428. + I Module FvwmBanner
  429. + I Module FvwmPager 0 3
  430. + I Test (Init) Exec exec autocutsel
  431. #+ I Test (Init) Exec exec xcompmgr -c 1
  432. + I Test (Init) Exec exec xcompmgr -cCFf -D3
  433. + I Test (Init) Exec exec nitrogen --restore
  434. + I Test (Init) Exec exec trayer --transparent true --edge top --distance 5 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false
  435. + I Test (Init) Exec exec rclock geometry 80x80+0+0 -bg \#a0a0a0
  436. + I Test (Init) Exec exec xload -geometry 80x80+0+90 -update 3 -fg black -bg \#a0a0a0
  437.  
  438. #######################################################
  439. ### .fvwm2rc END
  440. #######################################################
  441.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement