Viktor Griph wrote:
> 2009/8/18 Glen Lee Edwards <g...@holiness.ch>:
>   
>> Using FVWM 2.5.26 on debian lenny.  After a period of time, certian
>> functions/features quit working, such as the title bar buttons, the menu
>> won't appear when over a window but will over the root window.  Doing a
>> restart doesn't work, nor does quitting.  I have to do a killall fvwm to
>> restore functionality.  Sometimes fvwm shows up in ps as fvwm2, sometimes as
>> fvwm (less the '2').  I'm not seeing anything in the log file.  Following is
>> my config script and log file.
>>     
> See http://fvwm.org/documentation/faq/#0.1
>   
>> [...]
>>     
>>> # some simple default mouse bindings:
>>> #   for the root window:
>>> Mouse 1 R       A       Menu RootMenu Nop
>>> Mouse 1 A       4       Menu RootMenu Nop
>>>       
> Do these (and the similar) bindings in the opposite order:
>     Mouse 1 A       4       Menu RootMenu Nop
>     Mouse 1 R       A       Menu RootMenu Nop
>   
>>> #   for the title bar buttons:
>>> Mouse 1 1       N       Menu RootMenu Nop
>>> [...]
>>>       
> You may want to use A modifier for functions, but define the bindings
> before any bindings using modifiers on the same button and context.
>   
>>> ## Key Bindings
>>> [...]
>>>
>>> # Format: Key [key name] [context] [modifiers] [command]
>>> Key Menu A N    Menu RootMenu Nop
>>> Key Menu A 3    Menu Window-Ops Nop
>>> Key Menu A 4    Menu Window-Ops Nop
>>> Key Menu A M    Menu Window-Ops Nop
>>> Key Menu A C    WindowList
>>> Key Menu A S    WindowList
>>>       
> Here you probably want IgnoreModifiers, or create your own bindings
> using different permutations of the modifiers you don't use.
>   
>> [...]
>>     
>
> /Viktor
>   
I've been meaning to mail this list about the same problem, but since
someone else has already brought it up, I figured I'd add some info and
see if it helps...

I've had what sounds like the same issue over a couple of builds and a
couple of different PCs, all on Gentoo, currently with FVWM 2.5.27. 
Some builds have lost their menu definitions.  Others have lost button
bindings.  Like the OP, I never see anything in any logs (that I know
about, such as dmesg, messages or Xorg.0.log; I haven't found one for
FVWM).  Also like the OP, a simple re-read of the config file(s) doesn't
fix it, neither does the Restart FVWM command; I have to exit FVWM
(either to a command-line or to g/k/xdm) and then start FVWM over
completely.  I don't have caps lock, num lock or scroll lock on.

The only thing I can add is that it *seems* to happen after I launch my
first KDE app (like KNetwalk, Kopete, K3B), but only sometimes.  And if
the first one doesn't cause it, then it seems none do.  From what I
understand, KDE apps have a few libs and/or programs that need to run in
the background to work properly, and once they're loaded they stay
resident; perhaps there's a conflict of some kind there?  Or any other
ideas about what might be going on, I could be completely on the wrong
track?

I've attached my config as well in the hopes that it may shed some new
light on this.

John Moe
::::::::::::::
.fvwm/bindings
::::::::::::::
Key     c       A       4       exec xterm -bg black -fg white
Key     Delete  A       CM      LockScreen
Key     Down    A       CM      Scroll +0 +100
Key     e       A       4       exec thunar
Key     Escape  A       C       Menu MainMenu
Key     F4      W       M       Close
Key     l       A       4       LockScreen
Key     Left    A       CM      Scroll -100 +0
Key     Right   A       CM      Scroll +100 +0
Key     Super_L A       N       Nop
Key     Up      A       CM      Scroll +0 -100

Mouse   1       1       A       Menu RightClick
Mouse   1       2       A       Close
Mouse   1       3       A       Stick
Mouse   1       4       N       Maximize 100 100
Mouse   1       4       C       Maximize 100 0
Mouse   1       4       M       Maximize 0 100
Mouse   1       5       A       AnimatedMove 0p 100p
Mouse   1       6       A       Iconify
Mouse   1       7       A       AnimatedMove -100p 0p
Mouse   1       8       A       Raise
Mouse   1       0       A       Lower

Mouse   1       I       A       Iconify
Mouse   3       I       A       Menu RightClick

Mouse   1       R       A       Menu MainMenu
Mouse   2       R       A       WindowList
Mouse   3       R       A       Menu RightClick
Mouse   4       R       A       Nop
Mouse   5       R       A       Nop

Mouse   2       T       A       Maximize
Mouse   3       T       A       Menu RightClick

::::::::::::::
.fvwm/colorsets
::::::::::::::
#Colorset N |          Meaning           |           Usage Examples
#-----------+----------------------------+-------------------------------------
#         0 | default                    | feedback windows, FvwmScroll
#         1 | inactive window            | window/icon titles, windows in Pager
#         2 | active window              | window/icon titles, windows in Pager
#         3 | inactive borders           | window borders (may copy 1)
#         4 | active borders             | window borders (may copy 2)
#         5 | inactive menu item         | menus (may have pixmap or gradient)
#         6 | active menu item           | menus (only bg/fg used)
#         7 | greyed menu item           | menus (only fg used)

CleanupColorsets

#Colorset 1 RootTransparent buffer, bg 00/ff/00, fg rgb:00/00/ff
#Colorset 2 RootTransparent buffer, bg ff/00/00, fg rgb:ff/ff/00
#Colorset 3 RootTransparent buffer
#Colorset 4 RootTransparent buffer
Colorset 5 RootTransparent buffer, bg rgb:00/00/00, fg rgb:cc/00/ff, hi 
rgb:70/00/80, sh rgb:30/00/40, Tint black 50
Colorset 6 bg rgb:cc/00/ff, fg rgb:00/00/00, hi rgb:80/80/80, sh rgb:40/40/40
#Colorset 6 RootTransparent buffer, bg rgb:cc/00/ff, fg rgb:00/00/00, hi 
rgb:80/80/80, sh rgb:40/40/40, Tint black 50
Colorset 7 RootTransparent buffer, bg rgb:00/00/00, fg rgb:70/00/80, hi 
rgb:70/00/80, sh rgb:30/00/40, Tint black 50
::::::::::::::
.fvwm/config
::::::::::::::
Read FvwmEvent
Read FvwmPager
Read bindings
Read colorsets
Read functions
Read menus
Read other
Read styles

::::::::::::::
.fvwm/functions
::::::::::::::
DestroyFunc FvwmViewManPage
AddToFunc FvwmViewManPage
+ I exec xterm -bg black -fg white -g 150x50 -n "Manual Page - $0" -T "Manual 
Page - $0" -e man "$0"

DestroyFunc LockScreen
AddToFunc LockScreen
+ I exec xscreensaver-command --lock

DestroyFunc QuadEterm
AddToFunc QuadEterm
+ I exec Eterm --trans --cmod 154 -g 146x38
+ I exec Eterm --trans --cmod 154 -g 146x38
+ I exec Eterm --trans --cmod 154 -g 146x38
+ I exec Eterm --trans --cmod 154 -g 146x38

DestroyFunc QuadXterm
AddToFunc QuadXterm
+ I exec xterm -bg black -fg white -geometry 148x39+0+100
+ I exec xterm -bg black -fg white -geometry 148x39+908+100
+ I exec xterm -bg black -fg white -geometry 148x39+0+642
+ I exec xterm -bg black -fg white -geometry 148x39+908+642

DestroyFunc XfceMenu
AddToFunc XfceMenu
+ I exec xfce4-popup-menu

DestroyFunc InitFunction
AddToFunc InitFunction
+ I Module FvwmEvent
+ I Module FvwmPager
+ I exec artsd
+ I exec /home/jmoe/scripts/random_background.sh
+ I exec gkrellm
+ I exec oclock -geometry 100x100-0+0 -fg "#CC00FF" -bg black -bd "#CC00FF" 
-jewel black
+ I PipeRead "echo exec xeyes -geometry 200x100+`expr $[vp.width] / 2 - 100`+0 
-outline $[fg.cs5]"
+ I exec xscreensaver

DestroyFunc RestartFunction
AddToFunc RestartFunction
+ I Module FvwmBanner
+ I Module FvwmEvent
+ I Module FvwmPager

DestroyFunc StartFunction
AddToFunc StartFunction

DestroyFunc SessionInitFunction
AddToFunc SessionInitFunction

DestroyFunc SessionRestartFunction
AddToFunc SessionRestartFunction

::::::::::::::
.fvwm/FvwmEvent
::::::::::::::
#*FvwmEvent:            Cmd builtin-rplay
#*FvwmEvent:            Cmd exec esdplay %s
*FvwmEvent:             Cmd "Exec artsplay"
*FvwmEvent:             StartDelay      10
*FvwmEvent:             Delay           1
*FvwmEvent:             startup         /usr/share/sounds/fvwm/gong.au
*FvwmEvent:             add_window      /usr/share/sounds/fvwm/wipe.au
*FvwmEvent:             destroy_window  /usr/share/sounds/fvwm/pook.au
*FvwmEvent:             iconify         /usr/share/sounds/fvwm/clong.au
*FvwmEvent:             deiconify       /usr/share/sounds/fvwm/clong.au
*FvwmEvent:             windowshade     /usr/share/sounds/fvwm/slide.au
*FvwmEvent:             dewindowshade   /usr/share/sounds/fvwm/slide.au
*FvwmEvent:             new_page        /usr/share/sounds/fvwm/slide.au
*FvwmEvent:             new_desk        /usr/share/sounds/fvwm/slide.au
::::::::::::::
.fvwm/FvwmPager
::::::::::::::
*FvwmPager: Back        #000000
*FvwmPager: Fore        #808080
*FvwmPager: Geometry    100x100-0-0
*FvwmPager: Hilight     #800080
*FvwmPager: Label       0 Desktop
*FvwmPager: UseSkipList
*FvwmPager: WindowColors        #000000 #404040 #000000 #808080
::::::::::::::
.fvwm/menus
::::::::::::::
DestroyMenu Accessories
AddToMenu Accessories
+ "nVidia Settings"     exec nvidia-settings
+ "Oclock"              exec oclock
+ "Xcalc"               exec xcalc
+ "Xclipboard"          exec xclipboard
+ "Xclock"              exec xclock
+ "Xedit"               exec xedit
+ "Xeyes"               exec xeyes
+ "Xfontsel"            exec xfontsel
+ "Xmag"                exec xmag
+ "Xman"                exec xman
+ "XV"                  exec xv

DestroyMenu Administration
AddToMenu Administration
+ "CUPS"                exec firefox http://localhost:631
+ "Edit ~/.fvwm"        Popup EditFvwm
+ "Read ~/.fvwm"        Popup ReadFvwm
+ "Edit ~/.xinitrc"     exec gvim ~/.xinitrc -geometry 223x59+0+100
+ "Edit /etc/bashrc"    exec gvim /etc/bashrc -geometry 223x59+0+100
+ "Edit /etc/profile"   exec gvim /etc/profile -geometry 223x59+0+100
+ "Edit /etc/vimrc"     exec gvim /etc/vimrc -geometry 223x59+0+100
+ "Porthole"            exec porthole
+ "System Load"         exec xload
+ ""                    Nop
+ "Mount"               Popup Mount
+ "Unmount"             Popup Unmount

DestroyMenu Applications
AddToMenu Applications
+ "AbiWord"             exec abiword
+ "Adobe Reader"        exec acroread
+ "Gnumeric"            exec gnumeric
+ "GVIM"                exec gvim
+ "Open Office"         exec ooffice

DestroyMenu Development
AddToMenu Development
+ "Distcc Monitor GUI"  exec distccmon-gui
+ "MySQL Admin"         exec mysql-administrator
+ "MySQL Browser"       exec mysql-query-browser
+ "QT Assistant"        exec assistant
+ "QT Creator"          exec qtcreator
+ "QT Designer"         exec designer
+ "QT Linguist"         exec linguist

DestroyMenu EditFvwm
AddToMenu EditFvwm
+ "Edit bindings (gvim)"        exec gvim ~/.fvwm/bindings -geometry 
223x59+0+100
+ "Edit colorsets (gvim)"       exec gvim ~/.fvwm/colorsets -geometry 
223x59+0+100
+ "Edit config (gvim)"          exec gvim ~/.fvwm/config -geometry 223x59+0+100
+ "Edit functions (gvim)"       exec gvim ~/.fvwm/functions -geometry 
223x59+0+100
+ "Edit FvwmEvent (gvim)"       exec gvim ~/.fvwm/FvwmEvent -geometry 
223x59+0+100
+ "Edit FvwmPager (gvim)"       exec gvim ~/.fvwm/FvwmPager -geometry 
223x59+0+100
+ "Edit menus (gvim)"           exec gvim ~/.fvwm/menus -geometry 223x59+0+100
+ "Edit other (gvim)"           exec gvim ~/.fvwm/other -geometry 223x59+0+100
+ "Edit styles (gvim)"          exec gvim ~/.fvwm/styles -geometry 223x59+0+100
+ "Edit bindings (mousepad)"    exec mousepad ~/.fvwm/bindings -geometry 
223x59+0+100
+ "Edit colorsets (mousepad)"   exec mousepad ~/.fvwm/colorsets -geometry 
223x59+0+100
+ "Edit config (mousepad)"      exec mousepad ~/.fvwm/config -geometry 
223x59+0+100
+ "Edit functions (mousepad)"   exec mousepad ~/.fvwm/functions -geometry 
223x59+0+100
+ "Edit FvwmEvent (mousepad)"   exec mousepad ~/.fvwm/FvwmEvent -geometry 
223x59+0+100
+ "Edit FvwmPager (mousepad)"   exec mousepad ~/.fvwm/FvwmPager -geometry 
223x59+0+100
+ "Edit menus (mousepad)"       exec mousepad ~/.fvwm/menus -geometry 
223x59+0+100
+ "Edit other (mousepad)"       exec mousepad ~/.fvwm/other -geometry 
223x59+0+100
+ "Edit styles (mousepad)"      exec mousepad ~/.fvwm/styles -geometry 
223x59+0+100

DestroyMenu Esetroot
AddToMenu Esetroot
+ "argyle.xpm"          exec Esetroot ~/images/argyle.xpm
+ "circuit.xpm"         exec Esetroot ~/images/circuit.xpm
+ "circuit2.xpm"        exec Esetroot ~/images/circuit2.xpm
+ "csxdesktop.jpg"      exec Esetroot ~/images/cxsdesktop-1920x1200.jpg
+ "csxgroup.jpg"        exec Esetroot ~/images/cxsgroup-1920x1200.jpg 
+ "csxsymbol.jpg"       exec Esetroot ~/images/cxssymbol-1920x1200.jpg
+ "lines.xpm"           exec Esetroot ~/images/lines.xpm
+ "mesh.xpm"            exec Esetroot ~/images/mesh.xpm
+ "mesh2.xpm"           exec Esetroot ~/images/mesh2.xpm
+ "noise.xpm"           exec Esetroot ~/images/noise.xpm
+ "plaid.xpm"           exec Esetroot ~/images/plaid.xpm
+ "stars.xpm"           exec Esetroot ~/images/stars.xpm
+ "tribal.xpm"          exec Esetroot ~/images/tribal.xpm
+ "vnvnation2.jpg"      exec Esetroot ~/images/vnvnation2-1920x1200.jpg
+ "vnvnation3.jpg"      exec Esetroot ~/images/vnvnation3-1920x1200.jpg
+ "waves.xpm"           exec Esetroot ~/images/waves.xpm

DestroyMenu FvwmManPages
AddToMenu FvwmManPages
+ "fvwm"                FvwmViewManPage fvwm
+ "xpmroot"             FvwmViewManPage xpmroot
+ ""                    Nop
+ "FvwmAnimate"         FvwmViewManPage FvwmAnimate
+ "FvwmAuto"            FvwmViewManPage FvwmAuto
+ "FvwmBacker"          FvwmViewManPage FvwmBacker
+ "FvwmBanner"          FvwmViewManPage FvwmBanner
+ "FvwmButtons"         FvwmViewManPage FvwmButtons
+ "FvwmCommand"         FvwmViewManPage FvwmCommand
+ "FvwmConsole"         FvwmViewManPage FvwmConsole
+ "FvwmConsoleC.pl"     FvwmViewManPage FvwmConsoleC.pl
+ "FvwmCpp"             FvwmViewManPage FvwmCpp
+ "FvwmDebug"           FvwmViewManPage FvwmDebug
+ "FvwmDragwell"        FvwmViewManPage FvwmDragWell
+ "FvwmEvent"           FvwmViewManPage FvwmEvent
+ "FvwmForm"            FvwmViewManPage FvwmForm
+ "FvwmGtk"             FvwmViewManPage FvwmGtk
+ "FvwmGtkDebug"        FvwmViewManPage FvwmGtkDebug
+ "FvwmIconBox"         FvwmViewManPage FvwmIconBox
+ "FvwmIconMan"         FvwmViewManPage FvwmIconMan
+ "FvwmIdent"           FvwmViewManPage FvwmIdent
+ "FvwmM4"              FvwmViewManPage FvwmM4
+ "FvwmPager"           FvwmViewManPage FvwmPager
+ "FvwmPerl"            FvwmViewManPage FvwmPerl
+ "FvwmProxy"           FvwmViewManPage FvwmProxy
+ "FvwmRearrange"       FvwmViewManPage FvwmRearrange
+ "FvwmSave"            FvwmViewManPage FvwmSave
+ "FvwmSaveDesk"        FvwmViewManPage FvwmSaveDesk
+ "FvwmScript"          FvwmViewManPage FvwmScript
+ "FvwmScroll"          FvwmViewManPage FvwmScroll
+ "FvwmTabs"            FvwmViewManPage FvwmTabs
+ "FvwmTaskBar"         FvwmViewManPage FvwmTaskBar
+ "FvwmTheme"           FvwmViewManPage FvwmTheme
+ "FvwmWharf"           FvwmViewManPage FvwmWharf
+ "FvwmWinList"         FvwmViewManPage FvwmWinList
+ "FvwmWindowMenu"      FvwmViewManPage FvwmWindowMenu
+ ""                    Nop
+ "fvwm-config"         FvwmViewManPage fvwm-config
+ "fvwm-perllib"        FvwmViewManPage fvwm-perllib
+ "fvwm-root"           FvwmViewManPage fvwm-root
+ "fvwm-bug"            FvwmViewManPage fvwm-bug
+ "fvwm-convert-2.4"    FvwmViewManPage fvwm-convert-2.4
+ ""                    Nop
+ "fvwm-menu-desktop"   FvwmViewManPage fvwm-menu-desktop
+ "fvwm-menu-directory" FvwmViewManPage fvwm-menu-directory
+ "fvwm-menu-headlines" FvwmViewManPage fvwm-menu-headlines
+ "fvwm-menu-xlock"     FvwmViewManPage fvwm-menu-xlock

DestroyMenu FvwmSystem
AddToMenu FvwmSystem
+ "FvwmBanner"          Module FvwmBanner
+ "FvwmConsole"         Module FvwmConsole
+ "FvwmTaskBar"         Module FvwmTaskBar

DestroyMenu Games
AddToMenu Games
+ "Alien Arena"         exec alienarena
+ "Battle Of Wesnoth"   exec wesnoth
+ "Chromium"            exec chromium
+ "Frozen Bubble"       exec frozen-bubble
+ "Neverwinter Nights"  exec nwn
+ "Open Arena"          exec openarena
+ "KQ"                  exec kq
+ "Xscreensaver - demo" exec xscreensaver-command -demo

DestroyMenu Gnome
AddToMenu Gnome
+ "Archive Manager"     exec file-roller
+ "Calculator"          exec gcalctool
+ "Character Map"       exec gucharmap
+ "Games"               Popup GnomeGames
+ "Office"              Popup GnomeOffice
+ "Passwords and Encryption Keys"       exec seahorse
+ "Take Screenshot"     exec gnome-screenshot
+ "Text Editor"         exec gedit

DestroyMenu GnomeGames
AddToMenu GnomeGames
+ "AisleRiot Solitaire" exec sol
+ "Blackjack"           exec blackjack
+ "Chess"               exec chess
+ "Gnome-Sudoku"        exec gnome-sudoku
+ "Gnomine"             exec gnomine
+ "Gnotravex"           exec gnotravex
+ "Gnotski"             exec gnotski
+ "Mahjongg"            exec mahjongg

DestroyMenu GnomeOffice
AddToMenu GnomeOffice
+ "Evolution"           exec evolution

DestroyMenu Internet
AddToMenu Internet
+ "Dillo"               exec dillo
+ "Google Earth"        exec googleearth
+ "Mozilla Firefox"     exec firefox
+ "Opera"               exec opera
+ "Seamonkey"           exec seamonkey -height 1100 -width 1820
+ "Wireshark"           exec wireshark
+ "Vuze"                exec vuze
+ "Zenmap"              exec zenmap

DestroyMenu KDE
AddToMenu KDE
+ "Development"         Popup KDEDevelopment
+ "Games"               Popup KDEGames
+ "Internet"            Popup KDEInternet
+ "Multimedia"          Popup KDEMultimedia
+ "Office"              Popup KDEOffice
+ "System"              Popup KDESystem
+ "Utilities"           Popup KDEUtilities

DestroyMenu KDEDevelopment
AddToMenu KDEDevelopment
+ "KDevelop"            exec kdevelop
+ "Quanta"              exec quanta

DestroyMenu KDEGames
AddToMenu KDEGames
+ "Atlantik"            exec atlantik
+ "Kasteroids"          exec kasteriods
+ "Katomic"             exec katomic
+ "Kbackgammon"         exec kbackgammon
+ "Kbattleship"         exec kbattleship
+ "Kblackbox"           exec kblackbox
+ "Kbounce"             exec kbounce
+ "Kenolaba"            exec kenolaba
+ "Kfouleggs"           exec kfouleggs
+ "Kgoldrunner"         exec kgoldrunner
+ "Kjumpingcube"        exec kjumpingcube
+ "Klickety"            exec klickety
+ "Klines"              exec klines
+ "Kmahjongg"           exec kmahjongg
+ "Kmines"              exec kmines
+ "Knetwalk"            exec knetwalk
+ "Kolf"                exec kolf
+ "Konquest"            exec konquest
+ "Kpat"                exec kpat
+ "Kpoker"              exec kpoker
+ "Kreversi"            exec kreversi
+ "Ksame"               exec ksame
+ "Kshisen"             exec kshisen
+ "Ksirtet"             exec ksirtet
+ "Ksmiletris"          exec ksmiletris
+ "Ksnakerace"          exec ksnakerace
+ "Ksokoban"            exec ksokoban
+ "Kspaceduel"          exec kspaceduel
+ "Ktron"               exec ktron
+ "Ktuberling"          exec ktuberling
+ "Kwin4"               exec kwin4
+ "Lskat"               exec lskat

DestroyMenu KDEInternet
AddToMenu KDEInternet
+ "Kmail"               exec kmail
+ "Konqueror"           exec konqueror
+ "Kopete"              exec kopete
+ "Krdc"                exec krdc
+ "Ktorrent"            exec ktorrent
+ "Kwifimanager"        exec kwifimanager

DestroyMenu KDEMultimedia
AddToMenu KDEMultimedia
+ "Amarok"              exec amarok
+ "K3B"                 exec k3b
+ "kAudioCreator"       exec kaudiocreator
+ "Kaffeine"            exec kaffeine
+ "KMplayer"            exec kmplayer
+ "Noatun"              exec noatun

DestroyMenu KDEOffice
AddToMenu KDEOffice
+ "Karbon14"            exec karbon
+ "KChart"              exec kchart
+ "KChmViewer"          exec kchmviewer
+ "Kexi"                exec kexi
+ "KFormula"            exec kformula
+ "Kivio"               exec kivio
+ "KPresenter"          exec kpresenter
+ "KRita"               exec krita
+ "KSpread"             exec kspread
+ "Kugar"               exec kugar
+ "KWord"               exec kword

DestroyMenu KDESystem
AddToMenu KDESystem
+ "Kicker"              exec kicker
+ "Kinfocenter"         exec kinfocenter
+ "Kpackage"            exec kpackage
+ "Kprinter"            exec kdesu kprinter
+ "Krfb"                exec krfb
+ "Kuser"               exec kdesu kuser

DestroyMenu KDEUtilities
AddToMenu KDEUtilities
+ "Kate"                exec kate
+ "Kcalc"               exec kcalc
+ "Kedit"               exec kedit
+ "Konsole"             exec kconsole
+ "Kwrite"              exec kwrite

DestroyMenu MainMenu
AddToMenu MainMenu 
+ "Main Menu"           Title
+ "Accessories"         Popup Accessories
+ "Administration"      Popup Administration
+ "Applications"        Popup Applications
+ "Development"         Popup Development
+ "Games"               Popup Games
+ "Gnome"               Popup Gnome
+ "Internet"            Popup Internet
+ "KDE"                 Popup KDE
+ "Multimedia"          Popup Multimedia
+ "Startup"             Popup Startup
+ "Terminals"           Popup Terminals
+ "XFCE4"               Popup XFCE
+ ""                    Nop
+ "Fvwm System"         Popup FvwmSystem
+ "Fvwm Man Pages"      Popup FvwmManPages
+ ""                    Nop
+ "Lock screen"         exec xscreensaver-command -lock
+ ""                    Nop
+ "Shutdown"            Popup Shutdown

DestroyMenu MoveToScreen
AddToMenu MoveToScreen
+ "Col Row"             Title
+ "  0    0"            MoveToPage 0 0
+ "  1    0"            MoveToPage 1 0
+ "  2    0"            MoveToPage 2 0
+ "  0    1"            MoveToPage 0 1
+ "  1    1"            MoveToPage 1 1
+ "  2    1"            MoveToPage 2 1
+ "  0    2"            MoveToPage 0 2
+ "  1    2"            MoveToPage 1 2
+ "  2    2"            MoveToPage 2 2

DestroyMenu Mount
AddToMenu Mount
+ "CD-ROM"              exec mount /dev/cdrom /media/cdrom
+ "DVD"                 exec mount /dev/dvd /media/dvd
+ "MMC"                 exec mount /dev/mmcblk0p1 /media/mmc
+ "USB"                 exec mount /dev/sdb1 /media/usb
+ "USB (ntfs-3g)"       exec sudo mount -t ntfs-3g /dev/sdb1 /media/usb

DestroyMenu Multimedia
AddToMenu Multimedia
+ "Camerama"            exec camerama
+ "Cheese"              exec cheese
+ "DVD::Rip"            exec dvdrip
+ "GIMP"                exec gimp
+ "SMplayer"            exec smplayer
+ "VLC"                 exec vlc

DestroyMenu ReadFvwm
AddToMenu ReadFvwm
+ "Read bindings"       Read bindings
+ "Read colorsets"      Read colorsets
+ "Read config"         Read config
+ "Read functions"      Read functions
+ "Read FvwmEvent"      Read FvwmEvent
+ "Read FvwmPager"      Read FvwmPager
+ "Read menus"          Read menus
+ "Read other"          Read other
+ "Read styles"         Read styles

DestroyMenu RightClick
AddToMenu RightClick
+ "Move"                Move
+ "Move To..."          Popup MoveToScreen
+ "Resize"              Resize
+ "Raise"               Raise
+ "Lower"               Lower
+ "(De)Iconify"         Iconify
+ "(Un)Stick"           Stick
+ "(Un)Maximize"        Maximize
+ ""                    Nop
+ "Refresh"             Refresh
+ ""                    Nop
+ "Close"               Close
+ "Delete"              Delete
+ "Destroy"             Destroy

DestroyMenu Shutdown
AddToMenu Shutdown
+ "Restart FVWM"        Restart
+ "Quit FVWM"           Quit
+ "Reboot System"       exec sudo reboot
+ "Shutdown System"     exec sudo halt

DestroyMenu Startup
AddToMenu Startup
+ "Esetroot"            Popup Esetroot
+ "GKrellM"             exec gkrellm
+ "Oclock"              exec oclock -geometry 100x100-0+0 -fg "#CC00FF" -bg 
black -bd "#CC00FF" -jewel black
+ "Random background"   exec /home/jmoe/scripts/random_background.sh
+ "Xeyes"               PipeRead "echo exec xeyes -geometry 200x100+`expr 
$[vp.width] / 2 - 100`+0 -outline $[fg.cs5]"
+ "Xscreensaver"        exec xscreensaver

DestroyMenu Terminals
AddToMenu Terminals
+ "Eterm (small)"       exec Eterm --trans --cmod 154
+ "Eterm (medium)"      exec Eterm --trans --cmod 154 -g 100x30
+ "Eterm (large)"       exec Eterm --trans --cmod 154 -g 297x80+0+100
+ "Eterm (quad)"        QuadEterm
+ "RXVT  (small)"       exec rxvt -bg black -fg white
+ "RXVT  (medium)"      exec rxvt -bg black -fg white -g 147x39
+ "RXVT  (large)"       exec rxvt -bg black -fg white -g 297x81
+ "Xterm (small)"       exec xterm +tb -bg black -fg white
+ "Xterm (medium)"      exec xterm +tb -bg black -fg white -g 147x39
+ "Xterm (large)"       exec xterm +tb -bg black -fg white -g 299x81
+ "Xterm (quad)"        QuadXterm

DestroyMenu Unmount
AddToMenu Unmount
+ "CD-ROM"              exec umount /dev/cdrom
+ "DVD"                 exec umount /dev/dvd
+ "MMC"                 exec umount /dev/mmcblk0p1
+ "USB"                 exec umount /dev/sdb1
+ "USB (ntfs-3g)"       exec sudo umount /dev/sdb1

DestroyMenu XFCE
AddToMenu XFCE
+ "Accessories"         Popup XFCE-Accessories
+ "XFCE Settings Manager"       exec xfce-setting-show
+ "About XFCE"          exec xfce4-about
+ "Run Program"         exec xfrun4
+ "Thunar"              exec thunar
+ "XFCE Help"           exec xfhelp4

DestroyMenu XFCE-Accessories
AddToMenu XFCE-Accessories
+ "Appfinder"           exec xfce4-appfinder
+ "Mousepad"            exec mousepad
+ "Print Dialog"        exec xfprint4
+ "Print Manager"       exec xfprint4-manager
+ "Root Terminal"       exec gksu xfterm4
+ "XFCE4 Popup Menu"    exec xfce4-popup-menu
+ "XFCE Terminal"       exec xfterm4
::::::::::::::
.fvwm/other
::::::::::::::
DesktopSize 3x3
EwmhBaseStruts          0 100 100 0
SnapAttraction          10 SameType Screen

ImagePath       /etc/skel/.fvwm-classic/images
ImagePath       +:/usr/share/icons/fvwm
ImagePath       +:/usr/share/pixmaps

::::::::::::::
.fvwm/styles
::::::::::::::
#BorderStyle    Active          Colorset        4
#BorderStyle    Inactive        Colorset        3

ButtonStyle 1 - Clear MwmDecorMenu
ButtonStyle 1 ActiveDown        Pixmap menu-active-down.xpm
ButtonStyle 1 ActiveUp          Pixmap menu-active-up.xpm
ButtonStyle 1 Inactive          Pixmap menu-inactive.xpm
ButtonStyle 2 - Clear
ButtonStyle 2 ActiveDown        Pixmap close-active-down.xpm
ButtonStyle 2 ActiveUp          Pixmap close-active-up.xpm
ButtonStyle 2 Inactive          Pixmap close-inactive.xpm
ButtonStyle 3 - Clear MwmDecorStick
ButtonStyle 3 ActiveDown        Pixmap stick-active-down.xpm
ButtonStyle 3 ActiveUp          Pixmap stick-active-up.xpm
ButtonStyle 3 Inactive          Pixmap stick-inactive.xpm
ButtonStyle 3 ToggledActiveUp   Pixmap stick-active-toggled.xpm
ButtonStyle 3 ToggledInactiveUp Pixmap stick-inactive-toggled.xpm
ButtonStyle 4 - Clear MwmDecorMax
ButtonStyle 4 ActiveDown        Pixmap max-active-down.xpm
ButtonStyle 4 ActiveUp          Pixmap max-active-up.xpm
ButtonStyle 4 Inactive          Pixmap max-inactive.xpm
ButtonStyle 4 ToggledActiveDown Pixmap max-active-toggled-down.xpm
ButtonStyle 4 ToggledActiveUp   Pixmap max-active-toggled-up.xpm
ButtonStyle 4 ToggledInactiveUp Pixmap max-inactive-toggled.xpm
ButtonStyle 5 - Clear
ButtonStyle 5 ActiveDown        Pixmap topleft-active-down.xpm
ButtonStyle 5 ActiveUp          Pixmap topleft-active-up.xpm
ButtonStyle 5 Inactive          Pixmap topleft-inactive.xpm
ButtonStyle 6 - MwmDecorMin
ButtonStyle 6 ActiveDown        Pixmap min-active-down.xpm
ButtonStyle 6 ActiveUp          Pixmap min-active-up.xpm
ButtonStyle 6 Inactive          Pixmap min-inactive.xpm
ButtonStyle 7 - Clear
ButtonStyle 7 ActiveDown        Pixmap topright-active-down.xpm
ButtonStyle 7 ActiveUp          Pixmap topright-active-up.xpm
ButtonStyle 7 Inactive          Pixmap topright-inactive.xpm
ButtonStyle 8 - Clear
ButtonStyle 8 ActiveDown        Pixmap raise-active-down.xpm
ButtonStyle 8 ActiveUp          Pixmap raise-active-up.xpm
ButtonStyle 8 Inactive          Pixmap raise-inactive.xpm
ButtonStyle 0 - Clear
ButtonStyle 0 ActiveDown        Pixmap lower-active-down.xpm
ButtonStyle 0 ActiveUp          Pixmap lower-active-up.xpm
ButtonStyle 0 Inactive          Pixmap lower-inactive.xpm
ButtonStyle All -- UseTitleStyle Flat

CursorStyle     DEFAULT crosshairs.xpm
CursorStyle     MENU    crosshairs.xpm
CursorStyle     MOVE    move.xpm
CursorStyle     RESIZE  resize.xpm
CursorStyle     ROOT    crosshairs.xpm
CursorStyle     SYS     arrow.xpm
CursorStyle     TITLE   arrow.xpm

MenuStyle       *       ActiveColorset  6
#MenuStyle      *       ActiveFore      "#000000"
MenuStyle       *       Animation
#MenuStyle      *       Background      "#000000"
MenuStyle       *       BorderWidth     2
MenuStyle       *       Font            
"-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1"
#MenuStyle      *       Foreground      "#CC00FF"
#MenuStyle      *       Greyed          "#4400AA"
MenuStyle       *       GreyedColorset  7
MenuStyle       *       HilightBack
MenuStyle       *       MenuColorset    5
MenuStyle       *       PopupOffset     0 90
MenuStyle       *       TitleColorset   5
MenuStyle       *       TitleFont       
"-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1"
MenuStyle       *       TrianglesSolid
MenuStyle       *       TrianglesUseFore

OpaqueMoveSize unlimited

Style   *       BackColor "#000000"
Style   *       BorderWidth 3
#Style  *       Colorset 2
Style   *       DecorateTransient
Style   *       Font "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1"
Style   *       ForeColor "#CC00FF"
Style   *       HandleWidth 3
Style   *       HilightBack "#CC00FF"
Style   *       HilightFore "#000000"
Style   *       LowerTransient
Style   *       MwmButtons
Style   *       MwmDecor
Style   *       ParentalRelativity
Style   *       RaiseTransient
Style   *       ResizeOpaque

Style   FvwmBanner      !Borders, CirculateSkip, !Handles, StaysOnBottom, 
Sticky, !Title, WindowListSkip
Style   FvwmPager       !Borders, CirculateSkip, !Handles, StaysOnBottom, 
Sticky, !Title, WindowListSkip
Style   FvwmTaskBar     !Borders, CirculateSkip, !Handles, StaysOnBottom, 
Sticky, !Title, WindowListSkip
Style   ?clock          !Borders, CirculateSkip, !Handles, StaysOnBottom, 
Sticky, !Title, WindowListSkip
Style   gkrellm         !Borders, CirculateSkip, !Handles, StaysOnBottom, 
Sticky, !Title, WindowListSkip
Style   xeyes           !Borders, CirculateSkip, !Handles, StaysOnBottom, 
Sticky, !Title, WindowListSkip

TitleStyle      -- flat
#TitleStyle     Active Colorset 2 -- flat
#TitleStyle     Inactive Colorset 1 -- flat
#TitleStyle     Active MultiPixmap Buttons back-active.xpm LeftMain blank.xpm 
UnderText back-active.xpm RightMain blank.xpm -- flat
#TitleStyle     Inactive MultiPixmap Buttons back-inactive.xpm LeftMain 
blank.xpm UnderText back-inactive.xpm RightMain blank.xpm -- flat

Reply via email to