#========================================================================# #== This is rapidweather.com's current .fvwm2rc file for root. ==# #== For the FVWM2 Window Manager for Linux ==# #== This file is being displayed on the Web at the following address: ==# #== http://www.angelfire.com/ms/telegram/fvwm2rc ==# #== Date of this file: June 1, 2003 ==# #========================================================================# # ====================================================================== # # This is the development .fvwm2rc for FVWM on Mandrake 8, FIC VA 503+ ==# # For the root user. # Location: /root/.fvwm2rc # Date: June 1, 2003 # Always back this file up to fvwm2rc_backup_(date)_(No.xx) # ====================================================================== # # == Right Click on the Title Bar to Hide/Unhide Buttons & Pager! == # # ====================================================================== # # ==== Paths: ModulePath /usr/X11R6/lib/X11/fvwm2 IconPath /usr/X11R6/include/X11/bitmaps ImagePath /usr/share/icons/mini:/usr/share/icons PixmapPath /usr/share/icons/mini:/usr/share/icons # ==== Fonts: make sure these fonts exist on your system: WindowFont -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-* #WindowFont -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* # smaller font IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* # ==== Menu colors and font: MenuStyle black grey60 grey40 -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-* fvwm # ==== Colors for yet unfocused windows: Style "*" ForeColor Black Style "*" BackColor CornflowerBlue # ==== Focus on the window, get these colors: HilightColor Black IndianRed # ==== Choose where you want the window title: #TitleStyle LeftJustified Height 25 TitleStyle CenterJustified Height 25 # ==================================================================== # # == More default Styles: Style "*" NoIcon Style "*" HintOverride Style "*" DecorateTransient Style "*" SloppyFocus Style "*" NoPPosition Style "*" MWMButtons Style "*" MWMDecor Style "*" MWMFunctions Style "*" MWMBorder Style "*" SmartPlacement Style "*" RandomPlacement Style "*" BorderWidth 8 Style "*" HandleWidth 8 Style "*" StickyIcon # === Paging setup: #OpaqueMoveSize 100 # Start with no paging: #EdgeScroll 0 0 #EdgeResistance 10000 0 #XORValue 255 # ------------------------------------ #EdgeResistance 250 10 # Choose between paging and no paging: #EdgeScroll 100 100 # paging EdgeScroll 0 0 # no paging ClickTime 750 # ==================================================================== # # ==== Set the desk top size in units of virtual screens: DeskTopSize 6x1 #== Default Styles =========# # ==== Decoration styles: Style "*" BorderWidth 5, HandleWidth 5 Style "Fvwm*" NoTitle, Sticky, WindowListSkip # This line is probably not needed: (putting it back, until later!) Style "Fvwm Pager" StaysOnTop, NoHandles Style "FvwmButtons" NoTitle, NoHandles, Sticky, WindowListSkip Style "FvwmTaskBar" NoTitle, Sticky, WindowListSkip, CirculateSkip # Styles for your common terminal emulator programs: Style "XTerm" Icon /usr/share/icons/xterm.xpm, SloppyFocus Style "rxvt" Icon /usr/share/icons/xterm.xpm, SloppyFocus Style "rxvt" MWMBorder, MWMButtons # ======================================================================= # # ==== Stuff to do at start-up: AddToFunc "InitFunction" + "I" Module FvwmBacker + "I" Module FvwmButtons + "I" Module FvwmTaskBar + "I" Module FvwmAuto 900 AddToFunc "RestartFunction" + "I" Module FvwmBacker + "I" Module FvwmButtons + "I" Module FvwmTaskBar + "I" Module FvwmAuto 900 # ======================================================================= # # ==== Functions Section ===== # # do we need a mail function? AddToFunc MailFunction "I" Next [$0] Iconify -1 + "I" Next [$0] Focus + "I" None [$0] Exec $0 $1 AddToFunc Move-or-Raise "I" Raise + "M" Move + "D" Lower AddToFunc Move-or-Raise2 "M" Raise + "M" Move + "D" Lower AddToFunc Maximize-Func "M" Maximize 0 100 + "C" Maximize 0 80 + "D" Maximize 100 100 AddToFunc Move-or-Iconify "I" Raise + "M" Move + "D" Iconify AddToFunc Resize-or-Raise "I" Raise + "M" Resize + "D" Lower AddToFunc Resize-or-Raise2 "M" Raise + "M" Resize + "D" Lower # Do we need Print functions? #AddToFunc PrintFunction "I" Raise #+ "I" Exec xdpr -id $w #AddToFunc PrintReverseFunction "I" Raise #+ "I" Exec xdpr 1/2 -h -rv -id $w AddToFunc Iconify-and-Raise "I" Iconify + "I" Raise AddToFunc FocusAndWarp "I" Focus + "I" WarpToWindow 2p 2p AddToFunc DeiconifyFocusAndWarp "I" Iconify -1 + "I" FocusAndWarp AddToFunc ChangeDefaultFocus "I" Style "*" $0 + "I" Recapture # ====================================================================== # # ==== Menus: # ==== Adjust your paths to these applications on your machine. DestroyMenu "Applications" AddToMenu "Applications" "Applications" Title + "My Dialer:" Nop + "" Nop + "Dial" Exec exec dial + "" Nop + "Hangup" Exec exec hangup + "" Nop + "ISPdial" Exec exec xterm -geometry 0x0+0+80 -e /root/TclScripts/ISPdial # ------------------------------------------------------------------------------------ # # Obtain Dial, Hangup and ISPdial at http://www.geocities.com/rapidweather/linux2.html # ------------------------------------------------------------------------------------ # + "" Nop + "Internet:" Nop + "" Nop # ----------------------------------------------------------------------------------- # # Phoenix and Opera are in Redhat 7 partition, being used here in Mandrake 8 partition. # ----------------------------------------------------------------------------------- # + "Phoenix" Exec exec /redhat/home/rapidweather/download/firebird_download/MozillaFirebird/MozillaFirebird + "" Nop + "Opera" Exec exec /redhat/home/rapidweather/download/opera_download/opera-6.12-20030305.1-static-qt.i386/opera + "" Nop + "Konqueror" Exec /usr/bin/konqueror + "" Nop + "Netscape" Exec netscape + "" Nop + "Kppp" Exec exec /usr/bin/kppp + "" Nop + "Gftp" Exec exec /usr/bin/gftp + "" Nop + "Kmail" Exec exec /usr/bin/kmail DestroyMenu "Accessories" AddToMenu "Accessories" "Accessories" Title + "Gnotepad" Exec gnp + "" Nop + "Calculator" Exec exec /usr/bin/kcalc + "" Nop + "Xclock - gray" Exec xclock -geometry 130x130+650+425 -bg gray -fg black + "" Nop + "Xclock - bisque" Exec xclock -geometry 130x130+12+22 -bg bisque -fg black + "" Nop + "Top - blue" Exec exec xterm -bg AliceBlue -fg black -T Top -n Top -e top + "" Nop + "Top - yellow" Exec xterm -bg yellow -fg black -font 7x14 -T Top -n Top -e top + "" Nop + "Gimp" Exec exec /usr/bin/gimp + "" Nop + "Kpaint" Exec exec /usr/bin/kpaint + "" Nop + "Kwrite" Exec exec /usr/bin/kwrite + "" Nop + "Kedit" Exec exec /usr/bin/kedit + "" Nop + "Kview" Exec exec /usr/bin/kview + "" Nop + "Ksnapshot" Exec exec /usr/bin/ksnapshot + "" Nop + "Xclipboard" Exec xclipboard + "" Nop + "Xmag" Exec exec xmag + "" Nop + "CPU State" Exec xcpustate DestroyMenu "Shells" AddToMenu "Shells" "Shells" Title + "XTerm - blue" Exec exec xterm -bg lightblue -fg black -fn 9x15 + "" Nop + "XTerm - yellow" Exec xterm -bg lightyellow -fg black -cr black -leftbar -ls -sb -sl 500 -j -fn 9x15 + "" Nop + "Rxvt" Exec exec rxvt -geometry 65x20+170+25 DestroyMenu "System" AddToMenu "System" "System" Title + "Shutdown" Exec exec shutdown -h now + "" Nop + "Reboot" Exec exec shutdown -r now DestroyMenu "Floppy" AddToMenu "Floppy" "Floppy" Title + "Mount" Exec exec xterm -title "mounting floppy disk" -e mount /dev/fd0 -t vfat /mnt/floppy + "" Nop + "Unmount" Exec exec xterm -title "unmounting floppy disk" -e umount /mnt/floppy DestroyMenu "Window Ops" AddToMenu Window "Window Ops" Title + "Close" Close + "Move" Move + "Resize" Resize + "Delete" Delete + "Destroy" Destroy + "Refresh" Refresh + "Iconify" Iconify + "Stick" Stick # This menu is invoked as a sub-menu - it allows you to quit or restart. # DestroyMenu "Quit-Verify" AddToMenu "Quit-Verify" "Really Quit FVWM?" Title + "Yes, Really Quit" Quit + "" Nop + "No, Don't Quit" Nop + "" Nop + "Restart FVWM" Restart fvwm2 # # Provides a list of modules to fire off # DestroyMenu "Module-Popup" AddToMenu "Module-Popup" + "Banner" Module FvwmBanner + "Button Bar" Module FvwmButtons #+ "Button Bar (Mini)" Module FvwmButtons MiniButtons + "Clean-Up" Module FvwmClean + "Configure" Module FvwmConfig + "Debug" Module FvwmDebug + "Task bar" Module FvwmTaskBar + "Identify" Module FvwmIdent + "Save Desktop" Module FvwmSaveDesk + "Pager" Module FvwmPager 0 0 + "Window List" Module FvwmWinList # #== This is the main menu (left mouse button, or start button on taskbar) DestroyMenu "MainMenu" AddToMenu "MainMenu" "Main Menu" Title + "Applications" Popup Applications + "" Nop + "Accessories" Popup Accessories + "" Nop + "Shells" Popup Shells + "" Nop + "System" Popup System + "" Nop + "Floppy" Popup Floppy + "" Nop + "Window Ops" Popup Window Ops + "" Nop + "Modules" Popup Module-Popup + "" Nop + "Refresh Screen" Refresh + "" Nop + "Exit Fvwm" Popup Quit-Verify # # == This defines the most common window operations # DestroyMenu "Window" AddToMenu "Window" "Window Ops" Title + "&Move" Function Move-or-Raise + "&Resize" Function Resize-or-Raise + "R&aise" Raise + "&Lower" Lower + "(De)Iconify" Iconify + "(Un)Stick" Stick + "(Un)Maximize" Function maximize_func + "" Nop + "Kill" Destroy + "&Close" Delete + "" Nop + "Switch to..." WindowList + "Refresh Screen" Refresh # # == A trimmed down version of "Window Ops", for the "minus sign" in upper left hand corner. # AddToMenu "Window-Ops2" "∓Restore" Iconify -1 #this one doesn't work... + "&Move" Move-or-Raise + "&ReSize" Resize-or-Raise + "Mi&nimize" Iconify 1 + "Ma&ximize" Maximize 100 100 + "" Nop + "&Kill" Destroy + "&Close Alt+F4" Delete # ====================================================================== # # One more complex function - couldn't be defined earlier because it used # pop-up menus # # This creates the "system" menu for the title-bar window-ops # pop-up AddToFunc "window_ops_func" "C" PopUp Window-Ops2 + "M" PopUp Window-Ops2 + "D" Delete # ====================================================================== # # == Mouse bindings: # Button Context Modifi Function Mouse 1 R A Menu "MainMenu" Nop Mouse 2 R A Menu "Window Ops" Nop Mouse 3 R A WindowList # Title bar buttons # Button Context Modif Function Mouse 0 1 A Function "window_ops_func" Mouse 0 2 A Maximize 100 100 Mouse 0 4 A Iconify # Now the rest of the frame # Invoke Complex functions for Move-or-lower, Move-or-raise, # and Resize-or-Raise. # # Button 1 in the corner pieces, with any modifiers, gives resize or raise Mouse 1 F A Function "Resize-or-Raise" # Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise Mouse 1 TS A Function "Move-or-Raise" # Button 1 in an icons gives move for a drag, de-iconify for a double-click, # nothing for a single click # Button 2 in an icon, w/ any modifiers, gives de-iconify Mouse 1 I A Function "Move-or-Iconify" Mouse 2 I A Iconify # Button 2 in the corners, sides, or title-bar gives the window ops menu Mouse 2 FST A Function "window_ops_func" # Button 3 anywhere in the decoration (except the title-bar buttons) # does a raise-lower Mouse 3 TSIF A RaiseLower # Button 3 in the window, with the Modifier-1 key (usually alt or diamond) # gives Raise-Lower. Used to use control here, but that interferes with xterm Mouse 3 W M RaiseLower # ======================================================================== # # ======================================================================== # # == Definitions used by the modules #------------------ Pager (desktops) *FvwmPagerBack grey60 *FvwmPagerFore black *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* *FvwmPagerHilight #c0c0c0 #*FvwmPagerGeometry -3-27 *FvwmPagerLabel 0 Desktops *FvwmPagerSmallFont 5x8 # adding balloons: *FvwmPagerBalloons All *FvwmPagerBalloonBack Yellow *FvwmPagerBalloonFore Black *FvwmPagerBalloonFont lucidasanstypewriter-14 *FvwmPagerBalloonYOffset +2 *FvwmPagerBalloonBorderWidth 1 *FvwmPagerBalloonBorderColor Black # ===== FvwmButtons (click to start applications) # ===== This version has nine buttons: *FvwmButtonsFore Black *FvwmButtonsBack #c0c0c0 *FvwmButtonsFont -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* # Center buttons & pager along bottom just above taskbar: *FvwmButtonsGeometry +56-33 *FvwmButtonsRows 10 # (up to 10 rows allowed) *FvwmButtonsColumns 9 # left to right, from the top. # the largest Size of any item determines size of all, FvwmButtons, and Pager. *FvwmButtons(Size 67 67, Title "Rxvt" \ Action 'Exec rxvt') *FvwmButtons(Size 20 20, Title "Gnotepad", Action 'Exec gnp') *FvwmButtons(Size 20 20, Title "Kppp", Action 'Exec /usr/bin/kppp') *FvwmButtons(Size 20 20, Title "Dial", Action 'Exec dial') *FvwmButtons(Size 20 20, Title "Hangup", Action 'Exec hangup') *FvwmButtons(Size 20 20, Title "Konqueror", Action 'Exec /usr/bin/konqueror') *FvwmButtons(Size 20 20, Title "Netscape", Action 'Exec netscape') *FvwmButtons(Size 20 20, Title "Opera", Action 'Exec /redhat/home/rapidweather/download/opera_download/opera-6.12-20030305.1-static-qt.i386/opera') *FvwmButtons(Size 20 20, Title "Phoenix" , Action 'Exec /redhat/home/rapidweather/download/firebird_download/MozillaFirebird/MozillaFirebird') # Placing the pager in the button area on second row. # Desktops area extends across 9 buttons: *FvwmButtons(9x1, Swallow(UseOld) "Desktops" 'FvwmPager 0 0') # == Identify: *FvwmIdentBack #000080 *FvwmIdentFore Yellow *FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* # == FvwmWinList: *FvwmWinListBack #c0c0c0 *FvwmWinListFore Black *FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* *FvwmWinListAction Click1 Iconify -1,Focus *FvwmWinListAction Click2 Iconify *FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent *FvwmWinListUseSkipList *FvwmWinListGeometry +0-1 *FvwmWinListShowCurrentDesk # == FvwmBacker *FvwmBackerDesk 0 -solid steelblue *FvwmBackerDesk 1 -solid midnightblue # == FvwmScrollBack *FvwmScrollBack grey40 *FvwmScrollFore green # == FvwmTaskBar # (The win 95 bar at the bottom) *FvwmTaskBarGeometry -0-0 *FvwmTaskBarFore Black *FvwmTaskBarBack #c0c0c0 *FvwmTaskBarTipsFore black *FvwmTaskBarTipsBack bisque *FvwmTaskBarFont -adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-*-* *FvwmTaskBarSelFont -adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-* *FvwmTaskBarAction Click1 Iconify -1,Raise,Focus # (left mouse button will restore to desktop) *FvwmTaskBarAction Click2 Iconify # (middle mouse button will minimize to taskbar) *FvwmTaskBarAction Click3 Module "FvwmIdent" FvwmIdent # (right mouse button for fvwmident) *FvwmTaskBarUseSkipList *FvwmTaskBarAutoStick *FvwmTaskBarStartName Start *FvwmTaskBarStartMenu MainMenu *FvwmTaskBarShowTips *FvwmTaskBarShowTransients *FvwmTaskBarClockFormat %a %b-%d-%Y %H:%M # ================== End of rapidweather.com's .fvwm2rc file for root =========================== #