Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Back in 1999/2000 my university switched from using TWM to FVWM2. I didn't like TWM but I loved FVWM2, even more than Afterstep, Window Maker, Gnome & KDE. The thing I love about FVWM2 was it's Motif look-and-feel.
I remember Red Hat 5.2 (one of the best oldskool distros) default wm was FVWM2. Nowadays I can't find a distro that ships with FVWM2. Does anyone know if there's a distro that still uses FVWM2? Currently I use Fedora Core 4.1. Is it possible to install FVWM2 on any distro without breaking it? Also I had a look at the latest FVWM2 and doesn't look Motif anymore. Does anyone know whether it's still possible to get FVWM2 back to Motif look-and-feel aswell as installing it on latest distros/livecds?
Slackware still includes fvwm2 (i am using it right now) i suggest you use Lesstif instead of motif...
while most fvwm2 users like to customize their system with themes and icons & such i personally decided to go the other direction and make fvwm2 as minimal as possible while keeping features & a menu that is quite usable, my fvwmrc file is small enough i will post it...
Code:
EdgeResistance 100 10
EdgeScroll 100 100
ClickTime 750
DeskTopSize 2x2
MenuStyle * fvwm, Foreground White, Background DarkGreen
MenuStyle * Font -adobe-helvetica-medium-r-*-*-18-*-*-*-*-*-*-*
ColormapFocus FollowsMouse
# default Styles:
# make sure these fonts exist on your system:
Style * Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
Style * IconFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
Style * HilightFore White, HilightBack DarkGreen
Style * BorderWidth 4, HandleWidth 4
Style * Icon Color lightgrey/dimgrey
Style * MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition
Style * FocusFollowsMouse
Style * TileCascadePlacement
#Style FvwmTaskBar BorderWidth 2, HandleWidth 2, NoTitle
# Styles for various Fvwm modules:
Style Fvwm* NoTitle, Sticky, WindowListSkip
# some simple default key bindings:
Key Next A SCM Next[*] Focus
Key Prior A SCM Prev[*] Focus
# some simple default mouse bindings:
# for the root window:
Mouse 3 R A Menu MenuFvwmRoot Nop
Mouse 2 R A WindowList
Mouse 1 R A Menu MenuFvwmWindowOps Nop
# for the title bar buttons:
Mouse 0 1 A Menu MenuFvwmWindowOps Nop
Mouse 0 2 A Menu MenuFvwmWindowOps Nop
# for other parts of the window/borders/icons:
Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 TS A FuncFvwmMoveOrRaise
Mouse 1 I A FuncFvwmMoveOrIconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu MenuFvwmWindowOps2 Nop
Mouse 3 TSIF A RaiseLower
######################## Initialization Functions ############################
AddToFunc StartFunction
+ I Module FvwmAnimate
+ I Module FvwmPager 0 0
AddToFunc InitFunction
+ I exec xsetroot -mod 88 88 -fg DarkGreen -bg Black
######################## Menus ###################
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot "Root Menu" Title
+ "&_ FileMan" Exec exec rox
+ "&_ Iconz!" Exec exec rox --pinboard=PIN
+ "&_ NEdit" Exec exec nedit
+ "&_ System" Exec exec gkrellm
+ "&_ Xterm" Exec exec xterm -bg black -fg white -cr red
+ "" Nop
+ "&_ Graphics" Popup MenuFvwmGraphics
+ "&_ Groovy" Popup MenuFvwmGroovy
+ "&_ Internet" Popup MenufvwmInternet
+ "&_ Utilities" Popup MenuFvwmUtilities
+ "" Nop
+ "&_ Config" Popup MenuFvwmConfig
+ "" Nop
+ "&_ Exit Fvwm" Popup MenuFvwmQuitVerify
DestroyMenu MenuFvwmGraphics
AddToMenu MenuFvwmgraphics "_Graphics_" Title
+ "&_ Colorz!" Exec exec gcolor2
+ "&_ Gimp" Exec exec gimp
+ "&_ GQView" Exec exec gqview
+ "&_ Paint" Exec exec mtpaint
DestroyMenu MenuFvwmGroovy
AddToMenu MenuFvwmgroovy "_Groovy_" Title
+ "&_ Aumix" Exec exec aumix
+ "&_ MPlayer" Exec exec gmplayer
+ "&_ RipperX" Exec exec ripperX
+ "&_ XMMS" Exec exec xmms
DestroyMenu MenuFvwmInternet
AddToMenu MenuFvwmInternet "_Internet_" Title
+ "&_ Email" Exec exec thunderbird
+ "&_ Firefox" Exec exec firefox
+ "&_ Mozilla" Exec exec seamonkey
+ "&_ Opera" Exec exec opera
DestroyMenu MenuFvwmUtilities
AddToMenu MenuFvwmUtilities "_Utilities_" Title
+ "&_ Calculator" Exec exec xcalc -bg powderblue
+ "&_ Calender" Exec exec sunbird
+ "&_ Clippy" Exec exec xclipboard -bg powderblue
+ "&_ OpenOffice" Exec exec soffice -writer
+ "&_ xPDF" Exec exec xpdf
DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig "Configuration" Title
+ "&_ Sloppy Focus" FuncFvwmFocusPolicyChange SloppyFocus
+ "&_ Click To Focus" FuncFvwmFocusPolicyChange ClickToFocus
+ "&_ Focus Follows Mouse" FuncFvwmFocusPolicyChange FocusFollowsMouse
+ "" Nop
+ "&_ Full Paging ON" EdgeScroll 100 100
+ "&_ All Paging OFF" EdgeScroll 0 0
+ "&_ Horizontal Paging Only" EdgeScroll 100 0
+ "&_ Vertical Paging Only" EdgeScroll 0 100
+ "&_ Partial Paging" EdgeScroll 50 50
+ "&_ FullPaging & EdgeWrap" EdgeScroll 100000 100000
+ "" Nop
+ "&_ Animation" Popup MenuFvwmAnimate
+ "&_ RootCursor" Module FvwmForm FvwmForm-RootCursor
# The window Ops menus exhibit a different HotKey style.
# There are 2 versions of the WindowOps Menu, meant to be bound to different
# things. Here is the "common" part:
DestroyFunc FuncFvwmWindowCommon
AddToFunc FuncFvwmWindowCommon
+ I AddToMenu $0 &Move Move
+ I AddToMenu $0 &Resize Resize
+ I AddToMenu $0 "" Nop
+ I AddToMenu $0 (De)&Iconify Iconify
+ I AddToMenu $0 (un)Stick Stick
+ I AddToMenu $0 (Un)Ma&ximize Maximize
+ I AddToMenu $0 "" Nop
# + I AddToMenu $0 &Delete Delete
+ I AddToMenu $0 &Close Close
+ I AddToMenu $0 "" Nop
+ I AddToMenu $0 Destroy Destroy
+ I AddToMenu $0 "" Nop
# First windowops menu, bound to:
# mouse 2 on root
# Root menu
DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps "Window Ops" Title
FuncFvwmWindowCommon MenuFvwmWindowOps
+ "Re&fresh Window" RefreshWindow
DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify "Really Quit?" Title
+ "" Nop
+ "&_ Really Quit" Quit
+ "" Nop
+ "" Nop
+ "&_ Restart" Restart
+ "" Nop
+ "" Nop
+ "&_ ICEwm" Restart icewm
+ "&_ KDE" Restart startkde
+ "&_ MWM" Restart mwm
+ "&_ OpenBox" Restart openbox
+ "&_ TWM" Restart twm
+ "&_ VTWM" Restart vtwm
######################## Sample Functions ##########################
DestroyFunc FuncFvwmMailXmh
AddToFunc FuncFvwmMailXmh
+ I Next [$0] Iconify false
+ I Next [$0] Focus
+ I None [$0] Exec $0 $1
DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise
+ I Raise
+ M Move
+ D Lower
DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize
+ M Maximize 0 100
+ H Maximize 0 100
+ C Maximize 0 80
+ D Maximize 100 100
DestroyFunc FuncFvwmMoveOrIconify
AddToFunc FuncFvwmMoveOrIconify
+ I Raise
+ M Move
+ D Iconify
DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise
+ I Raise
+ M Resize
+ D Lower
DestroyFunc FuncFvwmPrint
AddToFunc FuncFvwmPrint
+ I Raise
+ I Exec xdpr -id $w
DestroyFunc FuncFvwmPrintReverse
AddToFunc FuncFvwmPrintReverse
+ I Raise
+ I Exec xdpr 1/2 -h -rv -id $w
DestroyFunc FuncFvwmFocusPolicyChange
AddToFunc FuncFvwmFocusPolicyChange
+ I Style * $0
+ I Recapture
# Read config files for modules:
read ConfigFvwmPager
Slackware still includes fvwm2 (i am using it right now) i suggest you use Lesstif instead of motif...
while most fvwm2 users like to customize their system with themes and icons & such i personally decided to go the other direction and make fvwm2 as minimal as possible while keeping features & a menu that is quite usable, my fvwmrc file is small enough i will post it...
Code:
EdgeResistance 100 10
EdgeScroll 100 100
ClickTime 750
DeskTopSize 2x2
MenuStyle * fvwm, Foreground White, Background DarkGreen
MenuStyle * Font -adobe-helvetica-medium-r-*-*-18-*-*-*-*-*-*-*
ColormapFocus FollowsMouse
# default Styles:
# make sure these fonts exist on your system:
Style * Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
Style * IconFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
Style * HilightFore White, HilightBack DarkGreen
Style * BorderWidth 4, HandleWidth 4
Style * Icon Color lightgrey/dimgrey
Style * MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition
Style * FocusFollowsMouse
Style * TileCascadePlacement
#Style FvwmTaskBar BorderWidth 2, HandleWidth 2, NoTitle
# Styles for various Fvwm modules:
Style Fvwm* NoTitle, Sticky, WindowListSkip
# some simple default key bindings:
Key Next A SCM Next[*] Focus
Key Prior A SCM Prev[*] Focus
# some simple default mouse bindings:
# for the root window:
Mouse 3 R A Menu MenuFvwmRoot Nop
Mouse 2 R A WindowList
Mouse 1 R A Menu MenuFvwmWindowOps Nop
# for the title bar buttons:
Mouse 0 1 A Menu MenuFvwmWindowOps Nop
Mouse 0 2 A Menu MenuFvwmWindowOps Nop
# for other parts of the window/borders/icons:
Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 TS A FuncFvwmMoveOrRaise
Mouse 1 I A FuncFvwmMoveOrIconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu MenuFvwmWindowOps2 Nop
Mouse 3 TSIF A RaiseLower
######################## Initialization Functions ############################
AddToFunc StartFunction
+ I Module FvwmAnimate
+ I Module FvwmPager 0 0
AddToFunc InitFunction
+ I exec xsetroot -mod 88 88 -fg DarkGreen -bg Black
######################## Menus ###################
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot "Root Menu" Title
+ "&_ FileMan" Exec exec rox
+ "&_ Iconz!" Exec exec rox --pinboard=PIN
+ "&_ NEdit" Exec exec nedit
+ "&_ System" Exec exec gkrellm
+ "&_ Xterm" Exec exec xterm -bg black -fg white -cr red
+ "" Nop
+ "&_ Graphics" Popup MenuFvwmGraphics
+ "&_ Groovy" Popup MenuFvwmGroovy
+ "&_ Internet" Popup MenufvwmInternet
+ "&_ Utilities" Popup MenuFvwmUtilities
+ "" Nop
+ "&_ Config" Popup MenuFvwmConfig
+ "" Nop
+ "&_ Exit Fvwm" Popup MenuFvwmQuitVerify
DestroyMenu MenuFvwmGraphics
AddToMenu MenuFvwmgraphics "_Graphics_" Title
+ "&_ Colorz!" Exec exec gcolor2
+ "&_ Gimp" Exec exec gimp
+ "&_ GQView" Exec exec gqview
+ "&_ Paint" Exec exec mtpaint
DestroyMenu MenuFvwmGroovy
AddToMenu MenuFvwmgroovy "_Groovy_" Title
+ "&_ Aumix" Exec exec aumix
+ "&_ MPlayer" Exec exec gmplayer
+ "&_ RipperX" Exec exec ripperX
+ "&_ XMMS" Exec exec xmms
DestroyMenu MenuFvwmInternet
AddToMenu MenuFvwmInternet "_Internet_" Title
+ "&_ Email" Exec exec thunderbird
+ "&_ Firefox" Exec exec firefox
+ "&_ Mozilla" Exec exec seamonkey
+ "&_ Opera" Exec exec opera
DestroyMenu MenuFvwmUtilities
AddToMenu MenuFvwmUtilities "_Utilities_" Title
+ "&_ Calculator" Exec exec xcalc -bg powderblue
+ "&_ Calender" Exec exec sunbird
+ "&_ Clippy" Exec exec xclipboard -bg powderblue
+ "&_ OpenOffice" Exec exec soffice -writer
+ "&_ xPDF" Exec exec xpdf
DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig "Configuration" Title
+ "&_ Sloppy Focus" FuncFvwmFocusPolicyChange SloppyFocus
+ "&_ Click To Focus" FuncFvwmFocusPolicyChange ClickToFocus
+ "&_ Focus Follows Mouse" FuncFvwmFocusPolicyChange FocusFollowsMouse
+ "" Nop
+ "&_ Full Paging ON" EdgeScroll 100 100
+ "&_ All Paging OFF" EdgeScroll 0 0
+ "&_ Horizontal Paging Only" EdgeScroll 100 0
+ "&_ Vertical Paging Only" EdgeScroll 0 100
+ "&_ Partial Paging" EdgeScroll 50 50
+ "&_ FullPaging & EdgeWrap" EdgeScroll 100000 100000
+ "" Nop
+ "&_ Animation" Popup MenuFvwmAnimate
+ "&_ RootCursor" Module FvwmForm FvwmForm-RootCursor
# The window Ops menus exhibit a different HotKey style.
# There are 2 versions of the WindowOps Menu, meant to be bound to different
# things. Here is the "common" part:
DestroyFunc FuncFvwmWindowCommon
AddToFunc FuncFvwmWindowCommon
+ I AddToMenu $0 &Move Move
+ I AddToMenu $0 &Resize Resize
+ I AddToMenu $0 "" Nop
+ I AddToMenu $0 (De)&Iconify Iconify
+ I AddToMenu $0 (un)Stick Stick
+ I AddToMenu $0 (Un)Ma&ximize Maximize
+ I AddToMenu $0 "" Nop
# + I AddToMenu $0 &Delete Delete
+ I AddToMenu $0 &Close Close
+ I AddToMenu $0 "" Nop
+ I AddToMenu $0 Destroy Destroy
+ I AddToMenu $0 "" Nop
# First windowops menu, bound to:
# mouse 2 on root
# Root menu
DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps "Window Ops" Title
FuncFvwmWindowCommon MenuFvwmWindowOps
+ "Re&fresh Window" RefreshWindow
DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify "Really Quit?" Title
+ "" Nop
+ "&_ Really Quit" Quit
+ "" Nop
+ "" Nop
+ "&_ Restart" Restart
+ "" Nop
+ "" Nop
+ "&_ ICEwm" Restart icewm
+ "&_ KDE" Restart startkde
+ "&_ MWM" Restart mwm
+ "&_ OpenBox" Restart openbox
+ "&_ TWM" Restart twm
+ "&_ VTWM" Restart vtwm
######################## Sample Functions ##########################
DestroyFunc FuncFvwmMailXmh
AddToFunc FuncFvwmMailXmh
+ I Next [$0] Iconify false
+ I Next [$0] Focus
+ I None [$0] Exec $0 $1
DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise
+ I Raise
+ M Move
+ D Lower
DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize
+ M Maximize 0 100
+ H Maximize 0 100
+ C Maximize 0 80
+ D Maximize 100 100
DestroyFunc FuncFvwmMoveOrIconify
AddToFunc FuncFvwmMoveOrIconify
+ I Raise
+ M Move
+ D Iconify
DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise
+ I Raise
+ M Resize
+ D Lower
DestroyFunc FuncFvwmPrint
AddToFunc FuncFvwmPrint
+ I Raise
+ I Exec xdpr -id $w
DestroyFunc FuncFvwmPrintReverse
AddToFunc FuncFvwmPrintReverse
+ I Raise
+ I Exec xdpr 1/2 -h -rv -id $w
DestroyFunc FuncFvwmFocusPolicyChange
AddToFunc FuncFvwmFocusPolicyChange
+ I Style * $0
+ I Recapture
# Read config files for modules:
read ConfigFvwmPager
i dont know if it works with Cygwin, as far as the .fvwm2fc just copy & paste it to a text file and name it .fvwm2rc and put it in your home directory or ~/.fvwm/.fvwm2rc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.