//
you're reading...
aminesoft, ubuntu

How to enable/disable Ctrl+Alt+Backspace in Ubuntu 9.10 (Karmic)


lightbulbCtrl+Alt+Backspace (i.e. the shortcut which was used to restart the X server) has to be enabled in a different way with respect to previous releases of Ubuntu.

This is due to the fact that “DontZap” is no longer an option in the X server and has become an option in XKB instead.

Using GNOME

* Get to the System->Preferences->Keyboard menu.

* Select the “Layouts” tab and click on the “Layout Options” button.

* Then select “Key sequence to kill the X server” and enable “Control + Alt + Backspace”.

Using KDE

* Launch “systemsettings”

* Select “Regional & Language”.

* Select “Keyboard Layout”.

* Click on “Enable keyboard layouts” (in the Layout tab).

* Select the “Advanced” tab. Then select “Key sequence to kill the X server” and enable “Control + Alt + Backspace”.

Using the command line

You can type the following command to enable Zapping immediately.

setxkbmap -option terminate:ctrl_alt_bksp

If you’re happy with the new behaviour you can add that command to your ~/.xinitrc in order to make the change permanent.

Using HAL

You can add the following line in /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi (inside the <match key=”info.capabilities” contains=”input.keys”> section):

<merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>

Advertisements

About abdessemed mohamed amine

DZ-SECURITY

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: