Bug 160675

Summary: intercept kill X shortcut and add coutdown timer (major)
Product: [I don't know] kde Reporter: Maciej Pilichowski <bluedzins>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: zahl
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maciej Pilichowski 2008-04-10 21:53:17 UTC
Version:            (using KDE 3.5.9)
Installed from:    SuSE RPMs

X kill shortcut just kills everyting immediately while running KDE. Maybe it is ok with some bare X WM but with KDE I would expect to see some dialog with countdown timer:
X is going to be restarted in 20 seconds...
[ cancel ] [ OK ]

After all mistakes happen, and this shortcut (*) can be pressed by mistake -- user can loose all his/her work, not nice.

I am setting wish, but it is really a bug -- data loss is a serious matter, no other event (ctrl+alt+delete, soft power off button) behaves like this.

Btw. does KDE provide way to configure it?
Comment 1 A. Spehr 2008-04-11 22:11:15 UTC
If we do that, you won't be able to kill the X server if KDE hangs.
I doubt we can actually trap the keystrokes.
But you can disable that shortcut in /etc/X11/xorg.conf
Option "DontZap" "True" in the ServerFlags section
Comment 2 Maciej Pilichowski 2008-04-11 22:20:51 UTC
Thank your for the answer. True about KDE, pity.