Basic FVWM config

Here’s a basic config I did this week out of boredom][/img]

And a larger image:

I based it on the Fvwm config from scratch right in these forums.

I only keep my most used applications in the button bar: Firefox, rxvt and leafpad. The exit button exits on mouse 1 and restarts on mouse 3. Everything else I either launch from the built in fvwm menu or an xterm.

At the bottom of the screen is a taskbar like iconman.

My config is haphazard. I just added stuff as I went along. It could use more work but it is functional as is so I probably wont tinker with it much.

[code]DestroyFunc StartFunction
AddToFunc Startfunction

  • I Exec exec xsetroot -solid steelblue4

DeskTopSize 1x1

Button config

DestroyModuleConfig FvwmButtons-Panel: *

*FvwmButtons-Panel: (1x1 Icon ‘/usr/home/woomia/firefox.png’,
Action(Mouse 1) ‘exec exec firefox3’

*FvwmButtons-Panel: (1x1 Icon ‘/usr/home/woomia/XTerm.png’,
Action(Mouse 1) ‘exec exec rxvt’

*FvwmButtons-Panel: (1x1 Icon ‘/usr/home/woomia/leafpad.png’,
Action(Mouse 1) ‘exec exec leafpad’

*FvwmButtons-Panel: (1x1 Icon ‘/usr/home/woomia/exit.png’,
Action(Mouse 1) ‘quit’,
Action (Mouse 3) ‘restart’

AddToFunc StartFunction

  • I Module FvwmButtons FvwmButtons-Panel

style “FvwmButtons-Panel”
BorderWidth 0,
handlewidth 0,

Style “*” BorderWidth 2, HandleWidth 2
*FvwmButtons-Panel: Columns 1

Mouse Bindings

Mouse 1 1 N Close
Mouse 1 4 N Iconify
Mouse 1 2 N Maximize

Module FvwmIconMan FvwmIconMan-Taskbar

*FvwmIconMan-Taskbar: Action Mouse 1 N sendcommand EWMHActivateWindowFunc
*FvwmIconMan-Taskbar: ManagerGeometry 1190x1+0-0
*FvwmIconMan-Taskbar: Resolution Desk
*FvwmIconMan-Taskbar: PlainButton Up
*FvwmIconMan-Taskbar: Sort none

style FvwmIconMan-Taskbar TileCascadePlacement

Style FvwmIconMan-Taskbar NoTitle
Borderwidth 0,
HandleWidth 0.
Style FvwmButtons-Panel WindowListSkip
Style FvwmIconMan WindowListSkip

Style * NoIcon

Now, widgets. Hmmmmm widgets.

Style “" UseDecor DefaultDecor
Style FvwmIconMan-Taskbar !handles
Style "
” Borderwidth 4, HandleWidth 4
Style “*” HilightFore white, HilightBack #c06070

DestroyDecor DefaultDecor
AddToDecor DefaultDecor

  • ButtonStyle 1 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
  • ButtonStyle 4 4 50x75@1 25x25@1 75x25@1 50x75@0
  • ButtonStyle 2 4 50x25@1 75x75@0 25x75@0 50x25@1

WindowFont -adobe-helvetica-bold-r---12-------*


Hi, Very good config, those icons look cool