Making Linux Simple!
Dontzap: Get CTRL+ALT+Backspace to kill x server in Ubuntu 9.04
One thing that I started missing in Ubuntu for a while was the combination key CTRL+ALT+Backspace to kill the X server. I know the reason for the same was to ensure that naive users don’t lose data/their work by accidentally hitting CTRL+ALT+Backspace on their Ubuntu machine. I am not going to get into the debate of whether it was a right move or not, but all I know is someone like me misses it desperately. And I was looking to find a way to enable it. You can enable CTRL+ALT+Backspace to kill X server using DontZap. You can also set it manually without using DontZAP and by edititing your Xorg.conf file. We are not going to cover that method here.
Installing DontZap
We first need to install DontZAP. Drop to terminal by hitting ALT+F2 and typing “gnome-terminal“.

Type the following command to install DontZAP.
sudo apt-get install dontzap

Now we need to enable the CTRL+ALT+Backspace functionality type the following command.
sudo dontzap --disable
If you want to disable the CTRL+ALT+Backspace functionality to kill X Server, use the following command at the terminal.
sudo dontzap --enable
Once you have enabled this command, you’ll have to log out and log back in to have the X Org recognize the behaviour.
PS: If you do not understand the implication of this please do not use this tutorial.
Related posts:
| Print article | This entry was posted by Vivek on August 5, 2009 at 11:16 am, and is filed under Featured, How-to, Linux, Ubuntu. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No trackbacks yet.
Comments are closed.





















about 1 year ago
esiste una combinazione di default su ubuntu 9.04
(
forse conviene rilanciare questo post da
http://ubuntuforums.org/archive/index.php/t-1125591.html
)
amano
April 21st, 2009, 10:34 AM
If that happens to you, just file a bug that PrintScr should kill X as well.
On my laptop AltGR+PrintScr+K does this correctly. If it doesn’t for you, filing a bug will certainly help.
about 1 year ago
and also, system-administration-authorizations can modified it. (on ubuntu 9.04)
about 3 months ago
In 10.04, you can enable this without dontzap: http://www.ubuntu.com/getubuntu/releasenotes/10...