[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#32923: fvwm2: F-Keys and Menu



Package: fvwm2
Version: 2.0.46-BETA-3
Severity: wishlist

I propose to add the description of the respective function keys to the
"Window Ops" Menu (the menu that apears when you klick on the left upper
corner of a window). The reason for this is manyfold:

- One doesn't have any refernce of what a key combination produces.
  One can only go by trial and error to find out what a key does (or one can
  look it up in /etc/X11/fvwm2/system.fvwm2rc, but hey, why need to open
  that file every time?).
- Since the key-combinations are counterintuitive (for me intuitive is what
  windows has), one often forgets them. When manipulating the window with the
  mouse, this way one gets to see the key-bindings and is better able to
  remember them.

An indication of how few people use the bindings is maybe the fact that a few
of the bindings don't even work or don't have any effect (at least here):
Alt-F5 (CirculateUp), Alt-F4 (CirculateDown), Alt-F2 (MainWindow).

So this is a proposition, it is a small change of /etc/X11/fvwm2/system.fvwm2rc
that makes the binding diplay in the Window-Ops window:
An indication of how few people use the bindings is maybe the fact that a few
of the bindings don't even work or don't have any effect (at least here):
Alt-F5 (CirculateUp), Alt-F4 (CirculateDown), Alt-F2 (MainWindow).

So this is a proposition, it is a small change of /etc/X11/fvwm2/system.fvwm2rc
that makes the binding diplay in the Window-Ops window:

AddToMenu Window-Ops
+ "A-F1  : Window Ops"                  Title
+ "A-F2  : MainMenu"                    /Debian
+ "A-F3  : Lower"                       Lower
+ "A-F4  : WindowList"                  WindowList
+ "A-F5  : CirculateUp"                 CirculateUp
+ "A-F6  : CirculateDown"               CirculateDown
+ "A-F7  : Move"                        Move
+ "A-F8  : Resize"                      Resize
+ "A-F9  : (De)Iconify"                 Iconify
+ "A-F10: (Un)Maximize to screen"       Maximize 100 100
+ "         : (Un)Maximize vertical"    Maximize 0 100
+ "         : (Un)Maximize horizontal"  Maximize 100 0
+ "         : Raise"                    Raise
+ "         : (Un)Stick"                Stick        
+ "         : (Un)Shade"                WindowShade
+ ""                                    Nop
+ "         : ScrollBar"                Module FvwmScroll 2 2
+ ""                                    Nop
+ "         : Destroy"                  Destroy
+ "         : Close"                    Close

I am further proposing to adapt the key-bindings to the recently published
X11-key binding proposition - sorry - I don't have the URL handy - you can
find it somewhere on comp.os.linux.announce.

Greets,
*
t


-- System Information
Debian Release: 2.0
Kernel Version: Linux poe 2.0.34 #2 Thu Jul 9 10:57:48 EST 1998 i686 unknown

Versions of the packages fvwm2 depends on:
ii  libc6           2.0.7.19981211 GNU Libc: shared libraries
ii  xlib6g          3.3.2.3-2      shared libraries required by X clients
ii  xpm4g           3.4j-0.6       X Pixmap libraries (for libc6) - runtime

--- Begin /etc/X11/fvwm2/system.fvwm2rc (modified conffile)
Read /etc/X11/fvwm2/pre.hook
Read .fvwm2/pre.hook
DeskTopSize 3x2
EdgeScroll 0 0
EdgeResistance 0 100
DestroyDecor default-decor
AddToDecor default-decor
+ HilightColor white steelblue
+ WindowFont -adobe-helvetica-bold-r-*-*-12-*
+ ButtonStyle Reset
+ ButtonStyle 2 Vector 16 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
+ ButtonStyle 4 Vector 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
+ ButtonStyle 6 Vector 2 80x76@0 20x76@1
Style "default-style" UseDecor default-decor, Color black/darkgrey
Style "*" UseStyle default-style
Style "*" BorderWidth 6
Style "*" HandleWidth 6
Style "*" MWMBorder
Style "*" MWMDecor
Style "*" DecorateTransient
Style "*" SmartPlacement
Style "*" RandomPlacement
Style "*" IconBox 0 0 50 -1
Style "Fvwm*" NoTitle
Style "Fvwm*" WindowListSkip
Style "Fvwm*" CirculateSkip
Style "FvwmButtons" Sticky
Style "FvwmIconMan" Sticky
Style "FvwmPager"   Sticky, StaysOnTop, Handles, HandleWidth 5
Style "FvwmIdent" Title
Style "FvwmIdent" WindowListHit
Style "FvwmIdent" CirculateHit
Style "emacs"	Icon gnu-animal.xpm
Style "xterm"	Icon xterm-linux.xpm
Style "ghostview"  Icon gv.xpm
Style "Gnuplot"	Icon graphs.xpm
Style "xcalc"	Icon xcalc.xpm
Style "xbiff"	Icon mail1.xpm
Style "xman"	Icon xman.xpm
Style "xmag"	Icon mag_glass.xpm
Style "Mosaic"     Icon Mosaic.xpm
Style "xpaint"     Icon xpaint.xpm
Style "Manual Page" Icon xman.xpm
Style "xedit"      Icon textedit.xpm
Style "*"	Icon default.xbm
Style "pppcosts"	NoTitle, Sticky, StaysOnTop
Style "clock"		NoTitle, Sticky, StaysOnTop
DestroyMenu InitFunction
AddToFunc InitFunction
+ "I" Exec setup-background
Read /etc/X11/fvwm2/init.hook
Read /etc/X11/fvwm2/init-restart.hook
Read .fvwm2/init.hook
Read .fvwm2/init-restart.hook
DestroyMenu RestartFunction
AddToFunc RestartFunction
Read /etc/X11/fvwm2/restart.hook
Read /etc/X11/fvwm2/init-restart.hook
Read .fvwm2/restart.hook
Read .fvwm2/init-restart.hook
MenuStyle black grey white -adobe-helvetica-bold-r-*-*-12-* mwm
AddToMenu /Debian
+ "Main Menu" Title
Read /etc/X11/fvwm2/main-menu-pre.hook
Read .fvwm2/main-menu-pre.hook
Read /etc/X11/fvwm2/menudefs.hook
Read .fvwm2/menudefs.hook
Read /etc/X11/fvwm2/main-menu.hook
Read .fvwm2/main-menu.hook
AddToMenu /Debian
+	""			Nop
+	"Exit Fvwm"		Popup Quit-Verify
DestroyMenu Window-Ops
AddToMenu Window-Ops
+ "A-F1  : Window Ops"			Title		
+ "A-F2  : MainMenu"			/Debian
+ "A-F3  : Lower"			Lower 
+ "A-F4  : WindowList"			WindowList
+ "A-F5  : CirculateUp"			CirculateUp
+ "A-F6  : CirculateDown"		CirculateDown
+ "A-F7  : Move"			Move
+ "A-F8  : Resize"			Resize
+ "A-F9  : (De)Iconify"			Iconify
+ "A-F10: (Un)Maximize to screen" 	Maximize 100 100
+ "         : (Un)Maximize vertical"	Maximize 0 100
+ "         : (Un)Maximize horizontal"	Maximize 100 0
+ "         : Raise"			Raise
+ "         : (Un)Stick"		Stick		
+ "         : (Un)Shade"		WindowShade
+ ""					Nop
+ "         : ScrollBar"		Module FvwmScroll 2 2
+ ""					Nop
+ "         : Destroy"			Destroy
+ "         : Close"			Close	 
DestroyMenu Quit-Verify
AddToMenu Quit-Verify
+ "Restart Fvwm"	Restart fvwm2
+ ""			Nop
+ "Really quit"		Quit	
Mouse 1	R A Menu /Debian
Mouse 2	R A Menu Window-Ops
Mouse 3	R A WindowList
Mouse 0 T A move-and-raise-or-raiselower
Mouse 0 W M move-and-raise-or-raiselower
Mouse 0 F A resize-or-raiselower
Mouse 0 S A resize-or-raiselower
Mouse 0 I A move-or-winmenu-or-deiconify
Mouse 0 1 A Popup Window-Ops
Mouse 0 2 A Close
Mouse 0 4 A Maximize 0 100
Mouse 0 6 A Iconify
Key Tab		A	M	Next [CurrentPage !iconic] focus-and-raise
Key Tab		A	MS	Prev [CurrentPage !iconic] focus-and-raise
Key Tab		A	CM	Next [CurrentPage] deiconify-and-focus
Key Tab		A	CMS	Prev [CurrentPage] deiconify-and-focus
Key Left	A	M	Scroll -100 0
Key Up		A	M	Scroll +0 -100
Key Right	A	M	Scroll +100 +0
Key Down	A	M	Scroll +0 +100
Key F1		A	M	Popup Window-Ops
Key F2		A	M	Popup /Debian
Key F3		A	M	Lower
Key F4		A	M	WindowList
Key F5		A	M	CirculateUp
Key F6		A	M	CirculateDown
Key F7		A	M	Move
Key F8		A	M	Resize
Key F9		A	M	Iconify
Key F10 	A	M	Maximize
DestroyFunc move-or-winmenu-or-deiconify
AddToFunc   move-or-winmenu-or-deiconify
+ "M" Move
+ "C" Popup Window-Ops
+ "D" Iconify
DestroyFunc deiconify-and-focus
AddToFunc   deiconify-and-focus "I" Iconify -1
+ "I" Focus
DestroyFunc deiconify-and-raise
AddToFunc   deiconify-and-raise "I" Iconify -1
+ "I" Raise
DestroyFunc focus-and-raise
AddToFunc   focus-and-raise "I" Focus
+			    "I" Raise
DestroyFunc move-or-raiselower	
AddToFunc   move-or-raiselower	
+ "M" Move
+ "C" RaiseLower
DestroyFunc move-and-raise-or-raiselower	
AddToFunc   move-and-raise-or-raiselower	
+ "M" Move
+ "M" Raise
+ "C" RaiseLower
DestroyFunc move-or-raiselower-or-maximize-vertical
AddToFunc   move-or-raiselower-or-maximize-vertical
+ "M" Move
+ "C" RaiseLower
+ "D" Maximize 0 100
DestroyFunc resize-or-raiselower	
AddToFunc   resize-or-raiselower	
+ "M" Resize
+ "C" RaiseLower
*DebianFvwmButtonsFore White
*DebianFvwmButtonsBack DarkSlateGrey
*DebianFvwmButtonsGeometry 430x100-0-0
*DebianFvwmButtonsRows 1
*DebianFvwmButtons(Title Help, Icon xman.xpm, Action 'Exec "Xman" xman &')
*DebianFvwmButtons(Title xterm, Icon xterm.xpm, Action 'Exec "XTerm" xterm &')
*DebianFvwmButtons(Title emacs, Icon gnu-animal.xpm, Action 'Exec "Emacs" emacs &')
*DebianFvwmButtons(2x1, Swallow(UseOld,NoKill) "FvwmPager")
*FvwmPagerBack SlateGrey
*FvwmPagerFore Black
*FvwmPagerFont none
*FvwmPagerHilight SlateBlue4
*FvwmPagerGeometry -1-1
*FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-*
*FvwmPagerDeskTopScale 32
Read /etc/X11/fvwm2/post.hook
Read .fvwm2/post.hook
Module FvwmPager 0 0
exec clock --digital -geometry 110x35-100-0
exec xterm -bg grey -fg black +sb -geometry 56x2-222-0 -e pppcosts -T

--- End /etc/X11/fvwm2/system.fvwm2rc


Reply to: