Posts tagged ‘Karmic Koala’

How to re-enable Ctrl+Alt+BackSpace in Ubuntu

In my last post I wrote about what to do when when Linux hangs or completely freezes. In the same post I mentioned that the key command [Ctrl]+[Alt]+[BackSpace] was switched to [Alt]+[PrtSc]+[K] in Ubuntu. This is was done because of the fact that DontZap is no longer an option in the X server and has become an option in XKB instead. This guide is meant for old Ubuntu users and those that have migrated to Ubuntu from other Linux distros.

Before we begin you should note that all these methods will re-enable the [Ctrl]+[Alt]+[BackSpace] key command, but not disable the new [Alt]+[PrtSc]+[K].

These methods should work for Ubuntu 9.10 and 10.04 (and hopefully for the future versions of Ubuntu).

The Easy GUI Way

GNOME

  1. First go to: System > Preferences >Keyboard menu
  2. Then select the Layouts tab and click on the Layout Options button
  3. Then find and select Key sequence to kill the X server and then select Control + Alt + Backspace
  4. And yey! You can now use [Ctrl]+[Alt]+[BackSpace] to kill the X server!

KDE

  1. Open System Settings
  2. Select  Regional & Language
  3. Then select Keyboard Layout
  4. Click on Enable keyboard layouts (in the Layout tab).
  5. Select the Advanced tab
  6. Then find and select Key sequence to kill the X server and then select Control + Alt + Backspace
  7. And now you too should be able to kill the X server with [Ctrl]+[Alt]+[BackSpace] :D

The Terminal Way

Requires installation of a program

  1. Install the “dontzap” package:
    sudo apt-get install dontzap
  2. Type to enable [Ctrl]+[Alt]+[BackSpace]:
    sudo dontzap --disable
  3. And type this if you find out that you want to disable it later:
    sudo dontzap --enable

Does not require an installation (but it is kind of scary)

  1. Open the terminal and type:
    sudo gksudo gedit /etc/X11/xorg.conf
  2. Then add these lines to your xorg.conf file, and then save.
    Section "ServerFlags"
    Option "DontZap" "false"
    EndSection
  3. Then log out (and then in again) from your account (or restart) to enable the changes

Do you know other methods to re-enable [Ctrl]+[Alt]+[BackSpace]? Please tell in a comment ^^

Advertisements

09/06/2010 at 19:37 Leave a comment


Licensed Under:

Creative Commons LicenseExcept where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Tux and GNU are published under the GNU General Public License.

Subscribe

Categories


%d bloggers like this: