Bug 160675 - intercept kill X shortcut and add coutdown timer (major)
Summary: intercept kill X shortcut and add coutdown timer (major)
Status: RESOLVED INTENTIONAL
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 21:53 UTC by Maciej Pilichowski
Modified: 2008-04-11 22:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.