####################################################################### # # # Menu: # # - Program icons # - Init and restart functions # - Menus # - Mouse bindings # - Raccourcis clavier # - Functions # - Boutons # - Pager # # ####################################################################### imagePath /usr/X11R6/include/X11/pixmaps/:/home/peyo/fvwm/icons/:/usr/share/pixmaps/:/usr/share/icons:/usr/X11R6/include/X11/pixmaps/encore_plus/ #Read /etc/X11/fvwm/pre.hook Quiet #Read pre.hook Quiet DeskTopSize 1x1 EdgeScroll 100 100 EdgeResistance 250 100 #OpaqueMoveSize 100 # Put the defaults in a separate decor so decor users can ignore them #Read /etc/X11/fvwm/default-style.hook Quiet #Read default-style.hook Quiet Style "*" UseStyle default-style Style "*" WindowShadeSteps 30 # I have commented out the RandomPlacement and the SmartPlacement styles, # replacing them by ActivePlacement (which should be the default anyway). # Also, NoPPostion completes this, although this may occasionally cause # problems. (Please let me know if this be the case!) # I think it can be annoying for windows to suddenly appear without the # user having an initial choice of where they do so. This is, of course, # completely changeable within the user's post.hook. Style "*" BackingStoreOff, SaveUnderOff Style "*" BorderWidth 2 Style "*" HandleWidth 4 Style "*" SmartPlacement Style "*" RandomPlacement Style "*" NoPPosition #tyle "*" IconBox 50 -200 -1 -60 #Style "*" SloppyFocus Style * GrabFocusTransient Style "*" StickyIcon Style "*" Icon unknown1.xpm, MiniIcon mini.x.xpm #Style * ResizeOpaque Style "Fvwm*" NoTitle Style "Fvwm*" WindowListSkip Style "Fvwm*" CirculateSkip Style "FvwmButtons" Sticky, HandleWidth 0, StaysOnTop Style "FvwmIconMan" Sticky Style "FvwmPager" Sticky, StaysOnTop, Handles, HandleWidth 5 Style "FvwmIdent" Title Style "FvwmIdent" WindowListHit Style "FvwmIdent" CirculateHit ####################################################################### # # Section: Program icons # # Add icons to some common programs # ######################## # Add icons to some common programs Style "Emacs" Icon gnu-animal.xpm, MiniIcon mini.gnu.xpm Style "gnus" MiniIcon gnus-pointer.xpm Style "XTerm" Icon xterm-linux.xpm, MiniIcon mini.xterm.xpm #Style "xterm*" Icon xterm-linux.xpm, MiniIcon mini.xterm.xpm Style "rxvt*" Icon xterm-linux.xpm, MiniIcon mini.xterm.xpm Style "Ghostview" Icon gv.xpm Style "Gnuplot" Icon graphs.xpm Style "Xcalc" Icon xcalc.xpm, MiniIcon mini-calc.xpm Style "XBiff" Icon mail1.xpm, MiniIcon mini-mail.xpm Style "Xman" Icon xman.xpm, MiniIcon mini-manual.xpm Style "Xmag" Icon mag_glass.xpm, MiniIcon mini.xmag.xpm Style "Mosaic" Icon Mosaic.xpm Style "Netscape*" MiniIcon mini.nscape.xpm, StartsOnDesk 1, SkipMapping Style "Mozilla*" Icon mozilla.xpm, MiniIcon mozilla.mini.xpm, StartsOnDesk 1, SkipMapping Style "evolution*" Icon evolution.xpm, MiniIcon mini.evolution.xpm, StartsOnDesk 5, SkipMapping Style "galeon_browser" MiniIcon galeon.mini.xpm, StartsOnDesk 1, SkipMapping Style "Xpaint" Icon xpaint.xpm, MiniIcon mini.xpaint.xpm Style "Manual Page" Icon xman.xpm, MiniIcon mini-manual.xpm Style "Xedit" Icon textedit.xpm, MiniIcon mini-edit.xpm Style "XMMS*" Notitle, Icon xmms.xpm, MiniIcon xmms.mini.xpm, StartsOnDesk 0, SkipMapping Style "GQmpeg*" Notitle, StartsOnDesk 0, SkipMapping Style "FreeAmp*" Notitle, StartsOnDesk 0, SkipMapping Style "*Gimp*" UsePPosition, Icon wilber.xpm, MiniIcon wilber.mini.xpm, SkipMapping, StartsOnDesk 2 #Style "*VIM*" MiniIcon vim.xpm #Style "GQview*" Icon qgview.xpm, MiniIcon gqview.mini.xpm Style "xv*" MiniIcon mini.xv.xpm Style "top" MiniIcon mini.run.xpm Style "mutt*" Icon mutt.xpm, MiniIcon mutt.mini.xpm Style "XMath*" Icon mathematica.xpm, MiniIcon mathematica.mini.xpm #Style "ArcoRead" MiniIcon mini-pdf.xpm #Style "documentShell" MiniIcon mini.pdf.xpm, StartsOnDesk 1, SkipMapping Style "documentShell" MiniIcon mini.pdf.xpm, SkipMapping Style "xmailbox" NoTitle Style "*bitchx*" Icon BitchX.xpm, MiniIcon BitchX.mini.xpm Style "nap" Icon napster.xpm, MiniIcon napster.mini.xpm Style "xmcd" MiniIcon xmcd_small.xpm Style "ssh*" Icon openssh.xpm, MiniIcon openssh.mini.xpm Style "irssi*" Icon xterm.xpm, MiniIcon mini.zircon.xpm, Sticky, NoTitle Style "*Licq*" MiniIcon online.xpm, Sticky, WindowListSkip Style "*licq*" MiniIcon online.xpm, Sticky, WindowListSkip Style "procmeter3" MiniIcon mini.graph.xpm, Sticky, WindowListSkip Style "wmWeather" NoTitle Style "nd" HandleWidth 0, NoTitle, WindowListSkip, CirculateSkip Style "Tux Racer 0.61" Icon tuxracer.xpm, MiniIcon tuxracer.mini.xpm Style "rdesktop*" MiniIcon rdp.xpm Style "xclipboard" NoTitle, Sticky, WindowListSkip ####################################################################### # # Section: Init and restart functions # # This section defines the functions InitFunction and RestartFunction. # InitFunction is executed automatically when fvwm first starts. # RestartFunction is executed automatically when fvwm restarts itself. # They share a common hook, init-restart.hook, and two specific hooks, # init.hook and restart.hook. # ###################################### # # init-restart.hook should be used for starting fvwm modules, such as the # button bar. init-hook should be used to start other applications; they # should not be started again, when fvwm is restarted, since they don't # die like fvwm modules do. restart.hook exists mostly for completeness; # tell me if you find any use for it. # # InitFunction runs the script setup-background, which looks in # ~/.fvwm to see if the user wants some specific background color or # image. # # The init.hook, init-restart.hook and restart.hook files should # contain continuation lines, eg: # + "I" Exec xterm # DestroyFunc InitFunction AddToFunc InitFunction + "I" Exec exec setup-background #Read /etc/X11/fvwm/init.hook Quiet #Read /etc/X11/fvwm/init-restart.hook Quiet Read init.hook Quiet Read init-restart.hook Quiet DestroyFunc RestartFunction AddToFunc RestartFunction #Read /etc/X11/fvwm/restart.hook Quiet #Read /etc/X11/fvwm/init-restart.hook Quiet Read restart.hook Quiet Read init-restart.hook Quiet ####################################################################### # # Section: Menus # # This section defines a small menu structure. The main menu contains # some typical entries, and uses a hook (main-menu.hook) to allow the # user to add new entries. Most of the default entries are submenus, # which are also defined here. # ################# # # MWM style menus are easier to use and better for Windows refugees. # MenuStyle Black LemonChiffon2 SlateGrey -*-times-medium-i-*-*-14-*-*-*-*-*-*-* fvwm # # Read in system and user menu definitions. # # Read system and user menu prefixes # The title of the main menu will be provided by the menu-methods script # which creates an AddToMenu /Debian "Main Menu" Title Top command in # menudefs.hook. We also add an xterm entry just in case the user has # no menudefs and the menu package is not installed -- it could be quite # embarrassing. An example without this can be found in the examples # directory. # DestroyMenu /Debian AddToMenu /Debian #Read /etc/X11/fvwm/main-menu-pre.hook Quiet #Read main-menu-pre.hook Quiet # Read the auto-generated menus Read /etc/X11/fvwm/menudefs.hook Quiet #Read menudefs.hook Quiet #You know why #AddToMenu "/Debian" "*debian.xpm*" Title Top # Add in user additions #Read /etc/X11/fvwm/main-menu.hook Quiet #Read main-menu.hook Quiet DestroyMenu "Radio-Launcher" AddToMenu "Radio-Launcher" "Radio Launcher" Title + "France Inter" Exec xmms http://ogg.tv-radio.fr:1441/encoderfinter.ogg & + "France Info" Exec xmms http://ogg.tv-radio.fr:1441/encoderfinfo.ogg & + "France Culture" Exec xmms http://ogg.tv-radio.fr:1441/encoderfculture.ogg & + "France Musique" Exec xmms http://ogg.tv-radio.fr:1441/encoderfmusiques.ogg & + "FIP" Exec xmms http://ogg.tv-radio.fr:1441/encoderfip.ogg & + "Hector" Exec xmms http://ogg.tv-radio.fr:1441/encoderhector.ogg & + "Le Mouv" Exec xmms http://ogg.tv-radio.fr:1441/encoderlemouv.ogg & + "CityRadio Paris" Exec xmms http://ogg.tv-radio.fr:1441/encodercityradio.ogg & DestroyMenu "Quit-Verify" AddToMenu "Quit-Verify" "Quitter ?" Title + "Oui, quitter la session" Quit + "" Nop + "Non, ne pas quitter" Nop + "" Nop DestroyMenu Utilities AddToMenu Utilities "-=[ solea ]=-" Title + "Radio Launcher" Popup Radio-Launcher + "" Nop + Xterm Exec exec xterm + Emacs Exec exec emacs + Calculette Exec exec xcalc + "" Nop + "Rafraîchir l'écran" Refresh + "Relancer Fvwm" Restart + "Quitter la session" Popup Quit-Verify DestroyMenu Window-Ops AddToMenu Window-Ops "Window Ops%mini.windows.xpm%" Title + "&Déplacer%mini.move1.xpm%" Déplacer + "&Redmimentionner%mini.resize3.xpm%" Redmimentionner + "&Shade%mini.shade1.xpm%" WindowShade + "R&aise%mini.raise2.xpm%" Raise + "&Lower%mini.lower2.xpm%" Lower + "(De)&Iconify%mini.iconify1.xpm%" Iconify + "(Un)S&tick%mini.stick1.xpm%" Stick + "(Un)M&aximize%mini.maximize1.xpm%" Maximize 100 100 + "(Un)Max&wide%mini.maximize-horiz1.xpm%" Maximize 100 0 + "(Un)Max&tall%mini.maximize-vert1.xpm%" Maximize 0 100 + "" Nop + "&Identify%mini.question.xpm%" Module FvwmIdent + "" Nop + "Move to Next Desk%mini.move1.xpm%" MoveToDesk 1 0 3 + "Move to Prev Desk%mini.move1.xpm%" MoveToDesk -1 0 3 + "" Nop + "Delete%mini.bomb.xpm%" Delete + "Close%mini.cross.xpm%" Close "Close" + "Destroy%mini.bomb.xpm%" Destroy + "" Nop + "Refresh Screen%mini.refresh.xpm%" Refresh ####################################################################### # # Section: Mouse bindings # # This section defines the mouse bindings, that is, all the things that # can be done with the mouse. # ######################### # # Each button gives a different menu from the background (root window). # Mouse 1 R A Menu Utilities Mouse 2 R A Menu /debian Mouse 3 R A WindowList # # Moving and resizing, depending on which part of the window # you grab (T=title bar, S=side/top/bottom, F=corner). # Mouse 1 T A Move Mouse 1 T CM WindowShade Mouse 1 FS A Resize Mouse 1 W M Move Mouse 1 I A move-or-deiconify Mouse 2 TFS A Popup Window-Ops Mouse 2 W M Resize Mouse 2 I A Popup Window-Ops Mouse 3 TFS A RaiseLower Mouse 3 W M RaiseLower # # Buttons on the title bar (1,3,5,7,9 are on the left, 0,8,6,4,2 on # the right side of the title bar). Note that the bindings here # make more sense if the ButtonStyle's defined earlier are retained. # Mouse 0 1 A Popup Window-Ops Mouse 1 2 A Close Mouse 2 2 A Destroy Mouse 1 4 A Maximize 0 100 Mouse 2 4 A Maximize 100 100 Mouse 3 4 A Maximize 100 0 Mouse 0 6 A Iconify Mouse 0 8 A WindowShade ###################################################################### # # Section: Raccourcis clavier # # This section binds some actions to keys. The bindings have been inspired # by MWM, Windows, and nightmares. Everything that these key bindings do, # can be done without them. Therefore they should not be too much of a # burden on new users, but it definitely _can_ be confusing to press a # key by accident and have it do something completely unexpected. # ####################### Key Tab A M - #Key Tab A M Next [CurrentPage !iconic] focus-and-raise #Key Tab A MS Prev [CurrentPage !iconic] focus-and-raise #Key Tab A CM Next [CurrentPage] deiconify-and-focus #Key Tab A CMS Prev [CurrentPage] deiconify-and-focus #Key Tab A C WindowList "Prev FlipFocus" Key Tab A C WindowList Root c c Key Escape A C Popup /Debian/Me ###################################################################### # # Section: Functions # # This section defines various functions. Not all of these are used by # the default bindings, but they can be useful for a user who wants to # customize things. # # # The following functions operate on a window or menu. The # names are systematic: foo means "do foo"; foo-or-bar means # "do foo, if mouse is moving, bar if click"; and foo-or-bar-or-baz # adds "baz, if double-clicked". # #################### DestroyFunc move-or-deiconify AddToFunc move-or-deiconify + "M" Move + "C" Iconify DestroyFunc deiconify-and-focus AddToFunc deiconify-and-focus + "I" Iconify -1 + "I" Focus DestroyFunc deiconify-and-raise AddToFunc deiconify-and-raise + "I" Iconify -1 + "I" Raise DestroyFunc focus-and-raise AddToFunc focus-and-raise + "I" Focus + "I" Raise DestroyFunc move-or-raiselower AddToFunc move-or-raiselower + "M" Move + "C" RaiseLower DestroyFunc move-and-raise-or-raiselower AddToFunc move-and-raise-or-raiselower + "M" Move + "M" Raise + "C" RaiseLower + "D" WindowShade DestroyFunc move-or-shade AddToFunc move-or-shade + "M" Move + "D" WindowShade DestroyFunc move-or-raiselower-or-maximize-vertical AddToFunc move-or-raiselower-or-maximize-vertical + "M" Move + "C" RaiseLower + "D" Maximize 0 100 DestroyFunc resize-or-raiselower AddToFunc resize-or-raiselower + "M" Resize + "C" RaiseLower ###################################################################### # # Section: Buttons # # Configure a FvwmButtons module for the modules menu, but make sure # user can easily override it with their own - so name it DebianFvwmButtons. # To use this config, you need to invoke it as: # "Module FvwmButtons DebianFvwmButtons" # ################### # barre du bas #*DebianFvwmButtonsPixmap none *DebianFvwmButtonsFore black *DebianFvwmButtonsBack LightSteelBlue4 *DebianFvwmButtonsRows 2 *DebianFvwmButtonsFrame -1 *DebianFvwmButtonsPadding 0 *DebianFvwmButtonsGeometry 1280x130+0-0 *DebianFvwmButtonsBoxSize smart *DebianFvwmButtons(8x2, Swallow "swxterm" "Exec xterm -T swxterm +sb &") *DebianFvwmButtons(9x1, Swallow "FvwmPager" "FvwmPager 0 5") *DebianFvwmButtons(Swallow "asmem" "Exec asmem -mb -used -asis -fg LightSteelBlue1 -memory RoyalBlue3 -position +3000+0&") *DebianFvwmButtons(Swallow "wmcube" "Exec wmcube") *DebianFvwmButtons(Padding 4, Swallow "asmix" "Exec asmix -shape -geometry +3000+0&") *DebianFvwmButtons(Swallow "wmxmms" "Exec wmxmms -n -t&") *DebianFvwmButtons(Title gentoo, Icon gentoo.xpm, Action 'Exec exec gentoo &') *DebianFvwmButtons(Title "Gimp",Icon gimp.xpm, Action 'Exec exec gimp&') *DebianFvwmButtons(Icon Moviemaker2.xpm, Action 'Exec exec aviplay&') *DebianFvwmButtons(Icon xmix.xpm, Action 'Exec exec gamix&') *DebianFvwmButtons(Icon ftp_perso.xpm, Action 'Exec exec gftp&') *DebianFvwmButtons(Icon Mail.xpm, Action 'Exec exec evolution&') *DebianFvwmButtons(Icon xchat_icon_6.xpm, Action 'Exec exec xchat&') *DebianFvwmButtons(Title Mozilla, Icon mozilla.xpm, Action 'Exec exec mozilla&') *DebianFvwmButtons(Title xterm, Icon term.next.xpm, Action 'Exec exec xterm&') *DebianFvwmButtons(Title emacs,Icon gnu-animal.xpm, Action 'Exec exec emacs&') *DebianFvwmButtons(Icon xv2.xpm, Action 'Exec exec xv&') *DebianFvwmButtons(Title ".fvwm2rc", Icon dot_f_3d.xpm, Action 'Exec emacs ~/.fvwm2rc &') *DebianFvwmButtons(Icon recycler.xpm, Action Restart) Module FvwmButtons DebianFvwmButtons # Bouttons #*MediasFvwmButtonsPixmap none #*MediasFvwmButtonsFore black #*MediasFvwmButtonsBack LightSteelBlue4 #*MediasFvwmButtonsColumns 1 #*MediasFvwmButtonsFrame 1 #*MediasFvwmButtonsPadding 0 #*MediasFvwmButtonsGeometry +1220-270 #*MediasFvwmButtonsBoxSize smart #*MediasFvwmButtons(Swallow "wmMoonClock" "Exec wmMoonClock &") #*MediasFvwmButtons(Icon gentoo.xpm, Action 'Exec exec gentoo &') #*MediasFvwmButtons(Icon gimp.xpm, Action 'Exec exec gimp&') #*MediasFvwmButtons(Icon Moviemaker2.xpm, Action 'Exec exec aviplay&') #*MediasFvwmButtons(Title xine, Icon xine.xpm, Action 'Exec exec xine&') #*MediasFvwmButtons(Icon xmix.xpm, Action 'Exec exec gamix&') #*MediasFvwmButtons(Icon ftp_3d.xpm, Action 'Exec exec gftp&') #*MediasFvwmButtons(Icon Mail.xpm, Action 'Exec exec evolution&') #*MediasFvwmButtons(Icon xchat_icon_6.xpm, Action 'Exec exec xchat&') #*MediasFvwmButtons(Icon earth_3d.xpm, Action 'Exec exec mozilla&') #*MediasFvwmButtons(Icon term.next.xpm, Action 'Exec exec xterm&') #*MediasFvwmButtons(emacs,Icon emacs.next.xpm, Action 'Exec exec emacs&') #*MediasFvwmButtons(Icon xv2.xpm, Action 'Exec exec xv&') #*MediasFvwmButtons(Icon dot_f_3d.xpm, Action 'Exec emacs ~/.fvwm2rc &') #*MediasFvwmButtons(Icon recycler.xpm, Action Restart) #Module FvwmButtons MediasFvwmButtons ##################################################################### # # Section: Pager # ####### *FvwmPager: Back LightSteelBlue4 *FvwmPager: Fore LightSteelBlue1 *FvwmPager: Hilight MediumPurple2 #*FvwmPager: WindowColors fore back hiFore hiBack *FvwmPager: WindowColors black gray80 black yellow3 *FvwmPager: Font fixed *FvwmPager: SmallFont fixed #*FvwmPager: Geometry 240x50+3000+3000 #*FvwmPager: DeskTopScale 32 *FvwmPager: MiniIcons *FvwmPager: Balloons *FvwmPager: BalloonFore black *FvwmPager: BalloonBack LightGoldenrod1 *FvwmPager: BalloonFont fixed *FvwmPager: BalloonBorderWidth 0 #*FvwmPager: BalloonColor blue *FvwmPager: Label 0 "général" *FvwmPager: Label 1 "web" *FvwmPager: Label 2 "stuff" *FvwmPager: Label 3 "solea" *FvwmPager: Label 4 "peyo" *FvwmPager: Label 5 "mail" *FvwmPager: DeskColor 0 SlateBlue4 *FvwmPager: DeskColor 1 SlateBlue4 *FvwmPager: DeskColor 2 SlateBlue4 *FvwmPager: DeskColor 3 SlateBlue4 *FvwmPager: DeskColor 4 SlateBlue4 *FvwmPager: DeskColor 5 SlateBlue4 *FvwmPager: DeskColor 6 SlateBlue4 *FvwmPager: Rows 1 #*FvwmPager: ShapeLabels #*FvwmPager: Window3DBorders # We start the pager in the InitFunction and RestartFunction, so that the # user has control over whether it starts or not. We do this by placing # it in the system init-restart.hook, so that either the administrator # can remove it or infividual users can kill it or set it up differently # by placing something like the following in their personal # init-restart.hook: # + "I" Wait FvwmPager # + "I" KillModule FvwmPager # + "I" Module FvwmPager 0 3 # This reads in various warning styles and checks for the presence or # not of ~/.fvwm and ~/.fvwm2. # # Section: post.hook # # Use post.hook to force things that may have been changed earlier, for # example, key bindings. # #Read /etc/X11/fvwm/post.hook Quiet #Read post.hook Quiet *FvwmBacker: Command (Desk 0, Page 0 0) -solid gray22 *FvwmBacker: Command (Desk 1, Page 0 0) -solid gray22 *FvwmBacker: Command (Desk 2, Page 0 0) -solid gray22 *FvwmBacker: Command (Desk 3, Page 0 0) -solid gray22 *FvwmBacker: Command (Desk 4, Page 0 0) -solid gray22 *FvwmBacker: Command (Desk 5, Page 0 0) -solid gray22 Module FvwmBacker #FvwmBanner Animate Module FvwmAnimate *FvwmAnimate: Effect Frame3D *FvwmAnimate: Iterations 12 *FvwmAnimate: Width 2 *FvwmAnimate: Twist 6 *FvwmAnimate: Delay 1 *FvwmAnimate: Color gray41