Advertisement
Guest User

.fvwm2rc

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