escape from Wait command

hi,

the documentation says

I’m using the Wait command inside my fvwm 2.5.12 configuration. My problem is that any key pressed by the user during ‘Wait’ leads to an immediate Quit of fvwm. There are no key bindings defined for such a behaviour. I’m not able to execute the whole Ctrl-Alt-Escape sequence since pressing Ctrl already quits fvwm^^
Finally i always end up on the login screen.

I want to prevent the user from pressing a key accidentally and ending up on the login screen…

any ideas?

kind regards,
PaintMan

Sounds to me like you’ve something else happening. The documentation is correct. Your FVWM version is several revsions old (use 2.5.26 – see if the problem is still there), and you’ve not actually provided your config. So other than a philosophical discussion about what you’re seeing, how do you think anyone can help you?

– Thomas Adam

here is my current config:

#general configuration

# a value of 0 completely disables mouse edge scrolling, even while dragging a window
EdgeThickness 0

DeskTopSize 2x1

ClickTime 750
ColormapFocus FollowsMouse
IgnoreModifiers L2
OpaqueMoveSize 100


#paths specific to fvwm2

ModulePath /usr/X11R6/lib/X11/fvwm2
ImagePath /usr/X11R6/share/icons/xpm/hicolor/all:/usr/X11R6/share/icons/xpm/locolor/all:/usr/X11R6/lib/X11/fvwm2/pixmaps:/usr/share/wallpapers


#colors

# 0 = Default colors
# 1 = Inactive windows
# 2 = Active windows
# 3 = Inactive menu entry and menu background
# 4 = Active menu entry
# 5 = greyed out menu entry (only bg used)
# 6 = module foreground and background)
# 7 = hilight colors
*FvwmTheme: Colorset 0 fg black, bg rgb:6f/a1/dc
*FvwmTheme: Colorset 1 fg black, bg rgb:a1/b2/c8
*FvwmTheme: Colorset 2 fg black, bg rgb:70/a2/dd
*FvwmTheme: Colorset 3 fg black, bg rgb:c8/d3/e5, VGradient 100 dtcolor5 rgb:c8/d3/e5
*FvwmTheme: Colorset 4 fg black, bg rgb:91/ae/d6
*FvwmTheme: Colorset 5 fg rgb:d2/bf/a8, bg rgb:b4/aa/94
*FvwmTheme: Colorset 6 fg black, bg rgb:b4/aa/94, VGradient 100 dtcolor5 rgb:b4/aa/94
*FvwmTheme: Colorset 7 fg black, bg rgb:94/ab/bf

# run FvwmTheme before anything else is done
ModuleSynchronous Timeout 5 FvwmTheme
#
# general setup
#

# window placement
Style * MinOverlapPlacement 

Style * Colorset 1
Style * HilightColorset 2
MenuStyle * MenuColorset 3
MenuStyle * ActiveColorset 4
MenuStyle * GreyedColorset 5

XORvalue 255

#fonts
DefaultFont 		"StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=10;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1"
WindowFont      	"StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:style=bold:size=10;-misc-fixed-bold-r-normal-*-13-*-*-*-*-*-iso10646-1"
IconFont        	"StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=8;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1"


#fvwm system functions

DestroyFunc StartFunction
AddToFunc StartFunction
 + I Module FvwmButtons
 + I Exec exec konqueror
 + I Wait konqueror

DestroyFunc ExitFunction
AddToFunc ExitFunction
 +	"I"	Exec xsetroot
 +	"I"	Exec xsetroot


#fvwm window modifier functions

AddToFunc MoveOrRaise
+                         "C"       Raise
+                         "M"      Raise
+                         "M"      Move
+                         "D" Lower
AddToFunc ResizeOrRaise
+                          "C"       Raise
+                          "M"      Raise
+                          "M"      Resize
+                          "D" Lower
AddToFunc MaximizeFunc
+                          "M"      Maximize   0 100
+                          "C"       Maximize   0  80
+                          "D" Maximize 100 100
AddToFunc MoveOrIconify
+                          "I"   Raise
+                          "M"      Raise
+                          "M"      Move
+                          "D" Iconify


#buttonbar menu

AddToMenu windowops "Window menu (Shift-Alt-Space)"	Title
 + "Mo&ve                  (Alt-F5) "	Move
 + "Resi&ze                (Alt-F6) "	Resize
 + "&Iconify               (Alt-F4) "	Iconify
 + "&Maximize/Normal (Shift-Alt-F3) "	Maximize
 + "(Un)St&ick       (Shift-Alt-F4) "	Stick
 +    ""  Nop 
 + "Window &list          (Alt-F11) "	WindowList
 +    ""  Nop 
 + "&Close                 (Alt-F9) "	Delete
 + "&Kill                 (Alt-F11) "	Destroy

AddToFunc barthiswmpopupfunc
 +	"I"	Popup THISWM_MENU_popup

AddToFunc barrebootfunc
 +	"I"	Exec sudo /sbin/reboot
 
AddToFunc barpowerofffunc
 +	"I"	Exec sudo /sbin/poweroff

*FvwmButtonsFont        "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=9;-*-*-medium-*-semicondensed-*-12-*-*-*-*-*-iso10646-1"
*FvwmButtonsBack	rgb:91/ae/d6
*FvwmButtonsGeometry	350x100+0+0
*FvwmButtonsRows	1
*FvwmButtons: (Swallow FvwmXclock 'Exec xclock -name "FvwmXclock" -geometry +0+0 -padding 1 -bg rgb:91/ae/d6 &')

*FvwmButtons Reboot Function barrebootfunc
*FvwmButtons Shutdown Function barpowerofffunc

#style options for modules and programs in fvwm2

BorderStyle Inactive -- HiddenHandles NoInset
Style	"*"	BackColor Grey
Style	"*"	ForeColor DimGrey
Style	"*"	SloppyFocus
Style	"*"	DecorateTransient
Style	"*"	IconBox +55 +85 +130 +480
Style	"*"	StickyIcon
Style	"*"	SmartPlacement, RandomPlacement, ActivePlacement
Style	"*"	NoPPosition
Style	"FvwmWinList"	NoTitle, WindowListSkip
Style	"FvwmButtons"	NoTitle, Sticky, WindowListSkip
Style	"IconManModule"	NoTitle, Sticky, NoHandles, Icon toolbox.xpm

Style	"xeyes"	        SmartPlacement, RandomPlacement
Style	"xclock"	SmartPlacement, RandomPlacement

# see bug #36189
Style   "AcroRead"      SmartPlacement, RandomPlacement
# see bug #36188
# Style   "OpenOffice*"   NoPPosition, RandomPlacement, EWMHIgnoreStrutHints, EWMHMaximizeIgnoreWorkingArea, EWMHPlacementIgnoreWorkingArea, IgnoreGravity

*FvwmBackerDesk 0 -solid steelblue
*FvwmBackerDesk 1 -solid midnightblue
*FvwmBackerDesk 2 -solid yellow
*FvwmBackerDesk 3 -solid cadetblue2
*FvwmBackerDesk 5 -solid cadetblue3
*FvwmBackerDesk 6 -solid cadetblue4

*FvwmIdentBack	MidnightBlue
*FvwmIdentFore	Yellow
*FvwmIdentFont  "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=10;-misc-fixed-medium-r-normal--13-*-*-*-*-*-iso10646-1"
*FvwmNoClutter 3600	Iconify 1
*FvwmNoClutter 86400	Delete
*NoClutterModule 172800

*FvwmWinListBack	Grey
*FvwmWinListFore	Black
*FvwmWinListFocusBack	Black
*FvwmWinListFocusFore	Grey
*FvwmWinListIconBack	LightGrey
*FvwmWinListIconFore	DimGrey
*FvwmWinListFont        "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=11;-misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-1"
*FvwmWinListAction	Click1 Iconify -1,Focus
*FvwmWinListAction	Click2 Iconify
*FvwmWinListAction	Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListGeometry	+0-1
*FvwmWinListUseSkipList
*FvwmWinListUseIconNames



# Key bindings

# Shift-Alt-F1
Key	F1	A	SM	Restart fvwm2

# Shift-Alt-l (Logout)
Key	l	A	SM	Quit

Key	x	A	SCM	Exec xterm

Key	1	A	SCM	GoToPage 0 0
Key	2	A	SCM	GoToPage 1 0
Key	i	A	SCM	FvwmIdent

Key	Escape	A	MC	-
Key	Escape	A	S	EscapeFunc


# Mouse bindings

Mouse	1	R	A	Nop
Mouse	2	R	A	Nop
Mouse	3	R	A	Nop

Mouse	1	SF	A	Function "ResizeOrRaise"
Mouse	1	T	A	Function "MoveOrRaise"

Mouse	1	I	A	Iconify
Mouse	2	I	A	Iconify
Mouse	3	TSIF	A	RaiseLower

Mouse	1	1	A	Menu	windowops	Delete
Mouse	2	1	A	Menu	windowops	Destroy
Mouse	3	1	A	Menu	windowops	Nop
Mouse	1	2	A	Maximize 0 100
Mouse	2	2	A	Maximize 100 100
Mouse	3	2	A	Maximize 100 0
Mouse	0	4	A	Iconify
Mouse	1	3	A	Stick

i cannot update my FVWM version since i am bound to a specific OS.

my start function is quite simple:

[code]DestroyFunc StartFunction
AddToFunc StartFunction

  • I Module FvwmButtons
  • I Exec exec konqueror
  • I Wait konqueror[/code]

if i press any while the konqueror is loading FVWM quits immediatly.
unfortunately i don’t know what to do…

kind regards,
PaintMan