Bug 18076

Summary: Patch implementing ZapWarning
Product: xorg Reporter: Luc Verhaegen <libv>
Component: Server/GeneralAssignee: Luc Verhaegen <libv>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: eich, mat, sndirsch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Implement ZapWarning
none
zap_warning_xserver.diff none

Description Luc Verhaegen 2008-10-15 10:03:29 UTC
Created attachment 19669 [details] [review]
Implement ZapWarning

This patch implements the ZapWarning feature, as shipped with opensuse 11.0.

Press zap once, beep loudly over pc-speaker.
Press again within two seconds, x server dies as normal.

Only enabled when the option zapwarning is set in xorg.conf.

This code is kept as non-intrusive as possible.

Requires a fixed keyboard driver (already pushed).
Comment 1 Stefan Dirsch 2008-11-22 14:54:24 UTC
Luc, please finally push your patch. Thanks.
Comment 2 Stefan Dirsch 2009-03-20 04:57:19 UTC
Created attachment 24081 [details] [review]
zap_warning_xserver.diff

Updated patch against xorg-server 1.6. Hope I didn't break it.
Comment 3 Stefan Dirsch 2010-04-03 03:33:20 UTC
I believe that patch is obsolete meanwhile. Zapping can now be enabled/disabled during runtime. It's now an xkb option:

Enable  Zapping: setxkbmap -option terminate:ctrl_alt_bksp
Disable Zapping: setxkbmap -option ""

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.