deserthowler fvwm screenshots & config file

Here is my very basic fvwm desktop. I like it clean.

This is 2.5.18 from the Ubuntu 7.04 repository. It is on a Dell 1420n with Ubuntu preinstalled. Resolution is 1240 x 800. I use this theme on my Sun Ultra and super sparc machines with Debian Etch too. I don’t like icons, screen savers or backgrounds as is obvious.

http://www.geocities.com/ejviolet/FVWM1.jpg
xpenguins, firefox, menubar menu

http://www.geocities.com/ejviolet/FVWM2.jpg
xemacs, xterms, keyboard menu

http://www.geocities.com/ejviolet/FVWM3.jpg
theGimp, graphics window, mouse root menu

[code]################################################

FVWM Configuration by Earl Violet

Oct, 23, 2007

Nov, 23, 2007

################################################

################################

Desktop configuration

################################

DeskTopSize 2x2
EdgeScroll 10 10
EdgeResistance 700 100
EdgeThickness 1
MenuStyle * fvwm, Foreground green, Background white
MenuStyle * Font -adobe-times-bold-r---14-------*

IgnoreModifiers L25
#ignores Numlock

Module FvwmPager 0 3
Style “FvwmPager” Sticky, NoTitle

DesktopName 0 General
DesktopName 1 Net/Inet
DesktopName 2 Projects
DesktopName 3 System

ClickTime 250
MoveThreshold 3
Style * Sloppyfocus, MouseFocusClickRaises
#Focus is the window that the mouse is over. Clicking raises it.
Style “swisswatch” Sticky, NoTitle

##########################

Window title bar

##########################

HilightColor Black Lightgreen
#Characteristics of the active window
Style “*” Color Black/Lightyellow
#Characteristics of the inactive window

###########################

Menu Key bindings

###########################

Keys for menus using Windows and Menu keys

Key Super_L A M Menu MenuFvwmRoot
Key Super_L A C WindowList (CurrentPage)
Key Super_L A S WindowList
Key Menu FSTW M Menu MenuWindowOps
Key Menu A C Menu MenuNavigate

########################

Mouse Bindings

########################

Mouse buttons for menus

Root menus

Mouse 1 R A Menu MenuFvwmRoot
Mouse 3 R A WindowList

Window buttons

Mouse 1 1 N Menu MenuWindowOps1
Mouse 1 4 N Menu MenuWindowOps2
Mouse 2 4 N Menu MenuWindowOps6
Mouse 3 4 N Menu MenuWindowOps7
Mouse 1 2 N Menu MenuWindowOps3
Mouse 2 2 N Menu MenuWindowOps4
Mouse 3 2 N Menu MenuWindowOps5

##################

Menus

##################

Read /etc/X11/fvwm/menudefs.hook Quiet
Read menudefs.hook Quiet

#################################

Mouse Button Window Menus

#################################

Mouse 1 1 Window Menu

DestroyMenu MenuWindowOps1
AddToMenu MenuWindowOps1

  • “&Close” Close
  • “&Destroy” Destroy
  • “&Raise” Raise
  • “&Lower” Lower

Mouse 1 4 Window Menu

DestroyMenu MenuWindowOps2
AddToMenu MenuWindowOps2

  • “(Un)Ma&ximize” Maximize
  • “&Left half” ResizeMove 49 95 0 0
  • “&Right half” ResizeMove 49 95 -0 0
  • “&Browser Size” ResizeMove 95 85 0 -0
  • “&65 Right” ResizeMove 65 keep -0 0

Mouse 2 4 Window Menu

DestroyMenu MenuWindowOps6
AddToMenu MenuWindowOps6

  • “Full &Horizontal” Maximize 100 0
  • “&90 Horizontal” Resize 90 keep
  • “&65 Horizontal” Resize 65 keep
  • “&50 Horizontal” Resize 49 keep

Mouse 3 4 Window Menu

DestroyMenu MenuWindowOps7
AddToMenu MenuWindowOps7

  • “Full &Vertical” Maximize 0 100
  • “&85 Vertical” Resize keep 85
  • “&40 Vertical” Resize keep 40

Mouse 1 2 Window Menu

DestroyMenu MenuWindowOps3
AddToMenu MenuWindowOps3

  • “&0 Upper Left Corner” Move 0 0
  • “&1 Upper Right Corner” Move -0 0
  • “&2 Lower Left Corner” Move 0 -0
  • “&3 Lower Right Corner” Move -0 -0

Mouse 2 2 Window Menu

DestroyMenu MenuWindowOps4
AddToMenu MenuWindowOps4

  • “&General” MoveToDesk 0 0
  • “&Net/Inet” MoveToDesk 0 1
  • “&Projects” MoveToDesk 0 2
  • “&System” MoveToDesk 0 3

Mouse 3 2 Window Menu

DestroyMenu MenuWindowOps5
AddToMenu MenuWindowOps5

  • “&0 Upper Left Page” MoveToPage 0 0
  • “&1 Upper Right Page” MoveToPage 1 0
  • “&2 Lower Left Page” MoveToPage 0 1
  • “&3 Lower Right Page” MoveToPage 1 1

#################

Root Menu

#################

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot “$[gt.Root Menu]” Title

  • “” Nop
  • “&WiFi” Exec exec /opt/wicd/gui.py
  • “&Xterm” Exec exec xterm
  • “X&Emacs21” Exec exec xemacs
  • “&Chat” Exec exec gaim
  • “Web &Browser” Exec exec firefox
  • “” Nop
  • “” Nop
  • “&Programs” Popup MenuFvwmPrograms
  • “” Nop
  • “” Nop
  • “&System” Popup MenuFvwmAdmin
  • “” Nop
  • “” Nop
  • “&Games” Popup MenuFvwmGames
  • “” Nop
  • “” Nop
  • “&Debian Menu” Popup “/Debian”
  • “” Nop
  • “” Nop
  • “&Quit Fvwm” Popup MenuFvwmQuitVerify

Programs Menu

DestroyMenu MenuFvwmPrograms
AddToMenu MenuFvwmPrograms “$[gt.Programs]” Title

  • “&Dictionary” Exec exec /usr/bin/gnome-dictionary
  • “the &GIMP” Exec exec gimp
    #+ “&Istanbul” Exec exec istanbul
  • “K&3B” Exec exec k3b
  • “&Music/Video Player” Exec exec gxine
  • “&LyX” Exec exec lyx
  • “&PDF Reader” Exec exec evince
  • “&Record Desktop” Exec exec gtk-recordMyDesktop
  • “&SpreadSheet” Exec exec /usr/bin/gnumeric
  • “&WordProcessing” Exec exec abiword

System Administration

DestroyMenu MenuFvwmAdmin
AddToMenu MenuFvwmAdmin “$[gt.System Tools]” Title

  • “” Nop

#+ “&Aptitude” Exec exec xterm -T “Aptitude” -e sh -c “/usr/bin/aptitude”

  • “&Ark” Exec exec /usr/bin/ark
  • “&File Manager” Exec exec pcmanfm
  • “&Log viewer” Exec exec /usr/bin/gnome-system-log
  • “&Manage Packages” Exec exec /usr/bin/gksu /usr/sbin/synaptic
  • “M&Tools” Exec exec /usr/bin/MToolsFM
  • “&Network Shares” Exec exec xsmbrowser
  • “&Process monitor” Exec exec qps
  • “&Root terminal” Exec exec gksu /usr/bin/x-terminal-emulator
  • “&Search tool” Exec exec /usr/bin/gnome-search-tool
    #+ “&Touchpad” Exec exec gsynaptics
  • “&Volume control” Exec exec gnome-volume-control

Quit Menu

DestroyMenu MenuFvwmQuitVerify

  • “” Nop
    AddToMenu MenuFvwmQuitVerify “$[gt.Really Quit Fvwm?]” Title
  • “&Yes, Really Quit” Quit
  • “&Restert” Restart

#####################

Navigate Menu

#####################

DestroyMenu MenuNavigate
AddToMenu MenuNavigate “$[gt.Navigate To]” Title

  • “” Nop
  • “&0.$[gt.General Upper Left]” GotoDeskAndPage 0 0 0
  • “&1.$[gt.General Upper Right]” GotoDeskAndPage 0 1 0
  • “&2.$[gt.General Lower Left]” GotoDeskAndPage 0 0 1
  • “&3.$[gt.General Lower Right]” GotoDeskAndPage 0 1 1
  • “” Nop
  • “&4.$[gt.Net/Inet Upper Left]” GotoDeskAndPage 1 0 0
  • “&5.$[gt.Net/Inet Upper Right]” GotoDeskAndPage 1 1 0
  • “&6.$[gt.Net/Inet Lower Left]” GotoDeskAndPage 1 0 1
  • “&7.$[gt.Net/Inet Lower Right]” GotoDeskAndPage 1 1 1
  • “” Nop
  • “&8.$[gt.Projects Upper Left]” GotoDeskAndPage 2 0 0
  • “&9.$[gt.Projects Upper Right]” GotoDeskAndPage 2 1 0
  • “&A.$[gt.Projects Lower Left]” GotoDeskAndPage 2 0 1
  • “&B.$[gt.Projects Lower Right]” GotoDeskAndPage 2 1 1
  • “” Nop
  • “&C.$[gt.System Upper Left]” GotoDeskAndPage 3 0 0
  • “&D.$[gt.System Upper Right]” GotoDeskAndPage 3 1 0
  • “&E.$[gt.System Lower Left]” GotoDeskAndPage 3 0 1
  • “&F.$[gt.System Lower Right]” GotoDeskAndPage 3 1 1

##############################

Window Operations Menu

##############################

Window Operations Menu

DestroyMenu MenuWindowOps
AddToMenu MenuWindowOps “$[gt.Window Operations]” Title

  • “” Nop
  • “&Raise” Raise
  • “&Lower” Lower
  • “&Close” Close
  • “&Destroy” Destroy
  • “” Nop
  • “” Nop
  • “(Un)Ma&ximize” Maximize
  • “&Vertical Size” Popup MenuFvwmVert
  • “&Horizontal Size” Popup MenuFvwmHoriz
  • “&Move to Corner” Popup MenuFvwmCor
  • “&Page Desktop Movement” Popup MenuFvwmWindowMove

Vertical Size

DestroyMenu MenuFvwmVert
AddToMenu MenuFvwmVert “$[gt.Vertical Size]” Title

  • “Full &Vertical” Maximize 0 100
  • “&85 Vertical” Resize keep 85
  • “&40 Vertical” Resize keep 40

Horizontal Size

DestroyMenu MenuFvwmHoriz
AddToMenu MenuFvwmHoriz “$[gt.Horizontal Size]” Title

  • “Full &Horizontal” Maximize 100 0
  • “&90 Horizontal” Resize 90 keep
  • “&65 Horizontal” Resize 65 keep
  • “&50 Horizontal” Resize 49 keep

Move to Corner

DestroyMenu MenuFvwmCor
AddToMenu MenuFvwmCor “$[gt.Move to Corner]” Title

  • “&0 Move Upper Left” Move 0 0
  • “&1 Move Upper Right” Move -0 0
  • “&2 Move Lower Left” Move 0 -0
  • “&3 Move Lower Right” Move -0 -0

Window Movement Menu

DestroyMenu MenuFvwmWindowMove
AddToMenu MenuFvwmWindowMove “$[gt.Move Window To]” Title

  • “” Nop
  • “&General” MoveToDesk 0 0
  • “&Net/Inet” MoveToDesk 0 1
  • “&Projects” MoveToDesk 0 2
  • “&System” MoveToDesk 0 3
  • “” Nop
  • “&0 Upper Left Page” MoveToPage 0 0
  • “&1 Upper Right Page” MoveToPage 1 0
  • “&2 Lower Left Page” MoveToPage 0 1
  • “&3 Lower Right Page” MoveToPage 1 1

Games

DestroyMenu MenuFvwmGames
AddToMenu MenuFvwmGames “$[gt.Games]” Title

  • “” Nop
  • “&FreeCell” Exec exec /usr/games/sol --variation freecell
  • “&Mahjongg” Exec exec /usr/games/mahjongg
  • “&Patience” Exec exec /usr/games/sol
  • “&SameGnome” Exec exec /usr/games/same-gnome
  • “&Tetris” Exec exec /usr/games/gnometris
  • “&XPenguins” Popup MenuFvwmXPenguins

XPenguins

DestroyMenu MenuFvwmXPenguins
AddToMenu MenuFvwmXPenguins “$[gt.XPenguins]” Title

  • “&Begin” Exec exec /usr/bin/xpenguins
  • “&End” Exec exec /usr/bin/xpenguins-stop

####################################################

Desktop programs started at initialization

####################################################

DestroyFunc StartFunction
AddToFunc InitFunction

  • I Module FvwmPager * *

DestroyFunc InitFunction
AddToFunc InitFunction

  • I Exec swisswatch

  • I Exec /opt/wicd/gui.py

  • I Exec xterm

  • I Exec xemacs
    [/code]

Any suggestions for improvement will be considered and noted.

Earl

Given the above snippet, you want to read:

viewtopic.php?f=40&t=1505

– Thomas Adam

I read the link and went through the man pages several times and came up with the following. I think this is where you were leading me, Thomas. Thank you.

Still some more to do but it works and I’m quite happy with the functionality. Those who say Linux has no good computer games should download fvwm and play. :laughing:

Earl

[code]DestroyFunc StartFunction
AddToFunc StartFunction

  • I Test (Init) Module FvwmPager 0 3
  • I Wait FvwmPager
  • I Test (Init) Exec swisswatch
  • I Test (Init) Exec xterm
  • I Test (Init) Exec /opt/wicd/gui.py
  • I Test (Init) Exec xemacs[/code]