How can I enable Ctrl+Alt+Backspace? The Next CEO of Stack OverflowHow do I enable...
How to write the block matrix in LaTex?
How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?
What is the difference between "behavior" and "behaviour"?
What does "Its cash flow is deeply negative" mean?
Is it okay to store user locations?
Why didn't Khan get resurrected in the Genesis Explosion?
How do we know the LHC results are robust?
What does this shorthand mean?
Why does C# sound extremely flat when saxophone is tuned to G?
Opposite of a diet
Why do professional authors make "consistency" mistakes? And how to avoid them?
Increase performance creating Mandelbrot set in python
How do scammers retract money, while you can’t?
Visit to the USA with ESTA approved before trip to Iran
How easy is it to start Magic from scratch?
What is the purpose of the Evocation wizard's Potent Cantrip feature?
The King's new dress
% symbol leads to superlong (forever?) compilations
Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?
Why doesn't a table tennis ball float on the surface? How do we calculate buoyancy here?
Science fiction (dystopian) short story set after WWIII
If I blow insulation everywhere in my attic except the door trap, will heat escape through it?
How can I get through very long and very dry, but also very useful technical documents when learning a new tool?
What happens if you roll doubles 3 times then land on "Go to jail?"
How can I enable Ctrl+Alt+Backspace?
The Next CEO of Stack OverflowHow do I enable Ctrl-Alt-Backspace to kill the X server?How to kill X server using a key combination?ctrl + alt + backspace does not workCAPS LOCK to CONTROL remap is reset after screen lockHow to restart X server with the old key combination (ctrl -alt - backspace) in 14.04Preseed values for keyboard-configurationWhat is the equivalent of 'Control-Alt-Delete'?Restart Only GUI Session Or Restart Only Operating System?How do you protect Ubuntu login?How to set keyboard combination to kill the X server?How do I disable Ctrl+Alt+Left/Right?How can I *disable* Ctrl+Alt+Backspace?Ubuntu Gnome: Can't make changing keyboard layout to crtl+shiftHow to restart X server with the old key combination (ctrl -alt - backspace) in 14.04Ubuntu standard keyboard shortcuts work only in English layoutHow to enable ALT Gr key as ALT R for Emacs on Ubuntu 16.04?Ctrl + Alt + Delete doesn't bring up Log out screenctrl+alt+l still logging out after disabling in Ubuntu Keyboard ShortcutsDisable the “restart” option in Ctrl Alt Delete menuUbuntu 18.04.1 not recognizing Ctrl + Alt
Ctrl+Alt+← can usually be set to restart X, however I can't find the option to allow this (it is disabled by default).
I have looked in System->Preferences->Keyboard
and System->Preferences->Keyboard Shortcuts
but I can't find an option to enable it.
Where can I change this setting?
keyboard shortcut-keys
add a comment |
Ctrl+Alt+← can usually be set to restart X, however I can't find the option to allow this (it is disabled by default).
I have looked in System->Preferences->Keyboard
and System->Preferences->Keyboard Shortcuts
but I can't find an option to enable it.
Where can I change this setting?
keyboard shortcut-keys
How can I do it in 14.04? I can't see a Layouts tab.
– Nickolai Leschov
Aug 9 '15 at 2:01
TL;DR:sudo dpkg-reconfigure keyboard-configuration
– Ulysse BN
Mar 12 '17 at 17:45
add a comment |
Ctrl+Alt+← can usually be set to restart X, however I can't find the option to allow this (it is disabled by default).
I have looked in System->Preferences->Keyboard
and System->Preferences->Keyboard Shortcuts
but I can't find an option to enable it.
Where can I change this setting?
keyboard shortcut-keys
Ctrl+Alt+← can usually be set to restart X, however I can't find the option to allow this (it is disabled by default).
I have looked in System->Preferences->Keyboard
and System->Preferences->Keyboard Shortcuts
but I can't find an option to enable it.
Where can I change this setting?
keyboard shortcut-keys
keyboard shortcut-keys
edited Oct 29 '13 at 17:09
Jorge Castro
37.1k106422617
37.1k106422617
asked Oct 31 '10 at 21:03
dv3500eadv3500ea
29.1k1290144
29.1k1290144
How can I do it in 14.04? I can't see a Layouts tab.
– Nickolai Leschov
Aug 9 '15 at 2:01
TL;DR:sudo dpkg-reconfigure keyboard-configuration
– Ulysse BN
Mar 12 '17 at 17:45
add a comment |
How can I do it in 14.04? I can't see a Layouts tab.
– Nickolai Leschov
Aug 9 '15 at 2:01
TL;DR:sudo dpkg-reconfigure keyboard-configuration
– Ulysse BN
Mar 12 '17 at 17:45
How can I do it in 14.04? I can't see a Layouts tab.
– Nickolai Leschov
Aug 9 '15 at 2:01
How can I do it in 14.04? I can't see a Layouts tab.
– Nickolai Leschov
Aug 9 '15 at 2:01
TL;DR:
sudo dpkg-reconfigure keyboard-configuration
– Ulysse BN
Mar 12 '17 at 17:45
TL;DR:
sudo dpkg-reconfigure keyboard-configuration
– Ulysse BN
Mar 12 '17 at 17:45
add a comment |
8 Answers
8
active
oldest
votes
For Unity (13.04 to 17.04):
You want: System->Preferences->Keyboard
Then click the Layouts tab, the Options button, and expand Key sequence to kill the X server, before finally selecting the checkbox.
To enable it via the command line install dontzap
sudo apt-get install dontzap
And in a terminal
sudo dontzap --enable
To disable the shortcut:
sudo dontzap --disable
1
Thedontzap
package is not included in Ubuntu 11.10.
– Stefan Lasiewski
Nov 19 '11 at 16:59
For me, it appears to be disabled inSystem->Preferences->Keyboard
but in fact it's still active, destructive and "out there".dontzap
doesn't seem to be "active" (as in actively developed) either, and it seems counterintuitive to have to install it in order to disable this key-combo. Any other ways to really and fully disable it?
– nutty about natty
Jul 9 '13 at 9:20
ps: I think this is a bug. Some time ago, I enabled it cuz I thought it was kinda cool - not knowing that it was a one-way-street (no disabling functionality built-in). pps: I'm onprecise
.
– nutty about natty
Jul 9 '13 at 9:23
TheSystem->Preferences->Keyboard
works also for Ubuntu 14.04 with MATE desktop.
– sdaau
Dec 6 '17 at 22:23
add a comment |
This was tested on 13.10+, type the following on the terminal:
sudo dpkg-reconfigure keyboard-configuration
You will see the keyboard configuration. Press ENTER 5 times to skip all keyboard related options except for the Kill X part. When you get to the Kill X option which looks like this:
Select YES and press enter. Wait a bit while everything configures and after that you should have the ability to CTRL+ALT+BCKSPC right on the current session. After saving any work you have pending, try it yourself.
Perfect to solve any visual issues or annoying apps.
4
This is probably the only solution here (short of using the control panel, I mean) that maintain the setting across keyboard layout switch.
– Rmano
May 12 '14 at 15:45
4
this solution deserves upvote!
– Antony
Sep 12 '14 at 20:19
1
Works on Ubuntu 14.04 LTS.
– zvezda
Feb 17 '16 at 3:26
6
Works on Ubuntu 16.04 LTS
– Angsuman Chakraborty
Nov 17 '16 at 10:40
For some reason I had to reboot to make this take effect with KDM on Kubuntu 14.04 (despite I tried doingsudo stop kdm; sudo start kdm
until I rebooted). After reboot it does work as expected.
– Ruslan
May 25 '17 at 7:12
|
show 1 more comment
For 13.10 and newer:
If you are looking for a solution which is independent of Gnome/KDE/Fluxbox or any Desktop Environment or Window Manager, try the following X Window System command. I need this because my Unity desktop is not loading (but X works fine), therefore there is no logout button.
From https://wiki.ubuntu.com/X/Config/DontZap#Using_the_command_line
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.
Also, according to the Ubuntu 10.04 LTS (Lucid Lynx), this has replaced the old DontZap
feature from older versions of the X Window System.
In addition, the Ctrl+Alt+Backspace option is now configured as an X
keymap (XKB) option, replacing the X server "DontZap" option and
allowing per-user configuration of this setting.
This is explained further in the Xorg X11R7.5 Release Notes which, among other details, say:
Users who wish to have this functionality available by default may
enable it via the XKB configuration option “terminate:ctrl_alt_bksp”.
2
@Jorge Castro @Stefan Lasiewski Thanks for your advice. One-time option with setxkbmap works, but adding it to~/.xinitrc
on 13.10 doesn't do anything. Probably,~/.xinitrc
isn't used anymore on the latest Ubuntu? How do I enable Zapping permanently, then?
– Nickolai Leschov
Dec 23 '13 at 12:41
@Nickolai Leschov. I had the same problem. In 13.10, try the method using the dconf-editor described in the answer by chaskes.
– Aibara
Dec 26 '13 at 21:38
add a comment |
You can also use dconf-editor
. This option will make the setting persistent across sessions.
sudo apt-get install dconf-editor
After starting the dconf-editor
, navigate to org >> gnome >> desktop >> input-sources
Add the options that you need in xkb-options
. The option strings are surrounded by single quotes and separated by commas. Be careful not to delete the brackets on the ends.
To enable ctrl+alt+backspace to kill the X-session, add 'terminate:ctrl_alt_bksp'
You can use this method to enter most of the traditional xkb options that are no longer available in System Settings >> Text Entry. The exceptions are the settings for switching the keyboard layouts, which currently do not work because of a bug.
For a list of the options and the syntax, use man 7 xkeyboard-config
in a terminal.
To run the commands equivalent to using dconf-editor
from a terminal, you use
gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']"
Note the single quotes around the value, the square brackets around that, the double quotes around the whole thing. In other words, just like in dconf-editor
.
Note that this will delete your other settings in xkb-options, if you have any.
You can get the existing settings with
gsettings get org.gnome.desktop.input-sources xkb-options
If you don't change these values very often, it might be simplest to combine existing settings with the new one by hand and the run gsettings set
.
It can also be done all at once on the command line. I've put it in a short script here to make it easier to read.
#!/bin/bash
options=$(echo $(gsettings get org.gnome.desktop.input-sources xkb-options)|sed 's/]//g')", 'terminate:ctrl_alt_bksp']"
gsettings set org.gnome.desktop.input-sources xkb-options "$options"
The 2nd line gets the current values and concatenates the terminate...
option. The sed command strips the right square bracket from the current values.
Note that while the argument string to the gsettings get
command in the terminal needs double quotes around the value
"['val', 'val2']"
the argument string when run in a script should not have the double quotes.
['val', 'val2']
Thanks for the solution. Is there a way to issue this as a command on a command-line?
– Nickolai Leschov
Dec 27 '13 at 13:39
It's not the same thing. The solution by Lasiewski only works one time, until reboot. He doesn't know a way tho make it permanent.
– Nickolai Leschov
Dec 27 '13 at 15:01
It doesn't work.source ~/.profile
makes it work, but logout/login resets it.
– Nickolai Leschov
Dec 27 '13 at 15:31
let us continue this discussion in chat
– Nickolai Leschov
Dec 27 '13 at 15:35
@NickolaiLeschov I added a new command line solution
– chaskes
Dec 27 '13 at 18:09
add a comment |
It was changed to Alt+Prt Scr+k.
I can't remember exactly when it was but it was supposed to stop accidental usage.
The idea being those who know they need it will be able to find the new key combination easily enough.
And I think someone at the time suggested it would be easier to remember as it is alternative screen kill. I am not sure that is the case.
The functionality is still there but under a different key combination.
2
Just to mention "Alt + Prt Scr" is marked on most keyboards as "SysRq" (System request) to help you easily remember this.
– 8128
Oct 31 '10 at 21:20
1
Thanks for your answer. As it happens, this doesn't work on my laptop. Bothprt sc
andsys rq
needfn
to be pressed and cause gnome-screenshot to open; many times if I hold it down for too long.
– dv3500ea
Oct 31 '10 at 21:44
14
-1. Alt + PrtScr + k or (SysRq + k) is a magic SysRq key combination that kills all processes on the current virtual console. It can be used to kill the X server, however it isn't the replacement for Ctrl + Alt + Bksp. In Ubuntu 9.04 Ctrl + Alt + Bksp got disabled (not removed) by default and could be enabled by setting a X server flag ('DontZap'), and as of Ubuntu 9.10 it's like described by fluteflute.
– htorque
Oct 31 '10 at 21:58
5
Found the release notes. The Ubuntu answer to this question is on this page wiki.ubuntu.com/LucidLynx/ReleaseNotes about half way down.
– Richard Holloway
Oct 31 '10 at 22:17
add a comment |
(This is for Gnome Ubuntu, but I suppose it is the same for Unity --- please someone confirm this).
You should install gnome-tweak-tool
(if not installed already) and run it. You will find the option you are looking for under "Typing":
If you feel more confortable with dconf-editor
(or you do not want to install gnome-tweak-tool
), you can open dconf-editor
, navigate to org.gnome.desktop.input-sources
, and then add the word "terminate:ctrl_alt_bksp" to the xkb-options
property.
Note that the other properties in the list will be probably different for your keyboard.
1
Thank you....Gnome Tweak does work in Unity, however, it is very hard to see as the white background that should be behind the right box with the list and menu options is transparent so it shows whatever is behind it(setting a white background would be a workaround but it is still usable....) The Dconf editor works as well and might be the better choice for readability but is a bit harder to use.....
– TrailRider
May 7 '14 at 23:02
add a comment |
You can still get back Ctrl+ Alt+Backspace shortcut to restart X by opening a terminal and copy paste the following:
sudo dpkg-reconfigure keyboard-configuration
This answer was already given by Luis Alvarado above, including more detailed instructions.
– alanaktion
Feb 5 '15 at 3:38
add a comment |
This didn't appear to change anything at all and didn't activate the key combination.
In Kubuntu (KDE, plasma-framework version 5.23 on Kubuntu 16.04 Xenial) I found the option under K > System Settings > Input Devices > Keyboard > Advanced. Open the menu item "key sequence to kill X server" and check the only option "Ctrl + Alt + Backspace", apply.
Using strace
I can see that this adds a line to /home/$USER/.config/kxkbrc which reads: Options=terminate:ctrl_alt_bksp
.
The setxkbmap
rule did work though and places a line reading terminate:ctrl_alt_bksp = +terminate(ctrl_alt_bksp)
in the /usr/share/X11/xkb/rules/evdev file.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f10622%2fhow-can-i-enable-ctrlaltbackspace%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
8 Answers
8
active
oldest
votes
8 Answers
8
active
oldest
votes
active
oldest
votes
active
oldest
votes
For Unity (13.04 to 17.04):
You want: System->Preferences->Keyboard
Then click the Layouts tab, the Options button, and expand Key sequence to kill the X server, before finally selecting the checkbox.
To enable it via the command line install dontzap
sudo apt-get install dontzap
And in a terminal
sudo dontzap --enable
To disable the shortcut:
sudo dontzap --disable
1
Thedontzap
package is not included in Ubuntu 11.10.
– Stefan Lasiewski
Nov 19 '11 at 16:59
For me, it appears to be disabled inSystem->Preferences->Keyboard
but in fact it's still active, destructive and "out there".dontzap
doesn't seem to be "active" (as in actively developed) either, and it seems counterintuitive to have to install it in order to disable this key-combo. Any other ways to really and fully disable it?
– nutty about natty
Jul 9 '13 at 9:20
ps: I think this is a bug. Some time ago, I enabled it cuz I thought it was kinda cool - not knowing that it was a one-way-street (no disabling functionality built-in). pps: I'm onprecise
.
– nutty about natty
Jul 9 '13 at 9:23
TheSystem->Preferences->Keyboard
works also for Ubuntu 14.04 with MATE desktop.
– sdaau
Dec 6 '17 at 22:23
add a comment |
For Unity (13.04 to 17.04):
You want: System->Preferences->Keyboard
Then click the Layouts tab, the Options button, and expand Key sequence to kill the X server, before finally selecting the checkbox.
To enable it via the command line install dontzap
sudo apt-get install dontzap
And in a terminal
sudo dontzap --enable
To disable the shortcut:
sudo dontzap --disable
1
Thedontzap
package is not included in Ubuntu 11.10.
– Stefan Lasiewski
Nov 19 '11 at 16:59
For me, it appears to be disabled inSystem->Preferences->Keyboard
but in fact it's still active, destructive and "out there".dontzap
doesn't seem to be "active" (as in actively developed) either, and it seems counterintuitive to have to install it in order to disable this key-combo. Any other ways to really and fully disable it?
– nutty about natty
Jul 9 '13 at 9:20
ps: I think this is a bug. Some time ago, I enabled it cuz I thought it was kinda cool - not knowing that it was a one-way-street (no disabling functionality built-in). pps: I'm onprecise
.
– nutty about natty
Jul 9 '13 at 9:23
TheSystem->Preferences->Keyboard
works also for Ubuntu 14.04 with MATE desktop.
– sdaau
Dec 6 '17 at 22:23
add a comment |
For Unity (13.04 to 17.04):
You want: System->Preferences->Keyboard
Then click the Layouts tab, the Options button, and expand Key sequence to kill the X server, before finally selecting the checkbox.
To enable it via the command line install dontzap
sudo apt-get install dontzap
And in a terminal
sudo dontzap --enable
To disable the shortcut:
sudo dontzap --disable
For Unity (13.04 to 17.04):
You want: System->Preferences->Keyboard
Then click the Layouts tab, the Options button, and expand Key sequence to kill the X server, before finally selecting the checkbox.
To enable it via the command line install dontzap
sudo apt-get install dontzap
And in a terminal
sudo dontzap --enable
To disable the shortcut:
sudo dontzap --disable
edited 4 mins ago
Pablo Bianchi
3,03521536
3,03521536
answered Oct 31 '10 at 21:07
81288128
24.9k21101138
24.9k21101138
1
Thedontzap
package is not included in Ubuntu 11.10.
– Stefan Lasiewski
Nov 19 '11 at 16:59
For me, it appears to be disabled inSystem->Preferences->Keyboard
but in fact it's still active, destructive and "out there".dontzap
doesn't seem to be "active" (as in actively developed) either, and it seems counterintuitive to have to install it in order to disable this key-combo. Any other ways to really and fully disable it?
– nutty about natty
Jul 9 '13 at 9:20
ps: I think this is a bug. Some time ago, I enabled it cuz I thought it was kinda cool - not knowing that it was a one-way-street (no disabling functionality built-in). pps: I'm onprecise
.
– nutty about natty
Jul 9 '13 at 9:23
TheSystem->Preferences->Keyboard
works also for Ubuntu 14.04 with MATE desktop.
– sdaau
Dec 6 '17 at 22:23
add a comment |
1
Thedontzap
package is not included in Ubuntu 11.10.
– Stefan Lasiewski
Nov 19 '11 at 16:59
For me, it appears to be disabled inSystem->Preferences->Keyboard
but in fact it's still active, destructive and "out there".dontzap
doesn't seem to be "active" (as in actively developed) either, and it seems counterintuitive to have to install it in order to disable this key-combo. Any other ways to really and fully disable it?
– nutty about natty
Jul 9 '13 at 9:20
ps: I think this is a bug. Some time ago, I enabled it cuz I thought it was kinda cool - not knowing that it was a one-way-street (no disabling functionality built-in). pps: I'm onprecise
.
– nutty about natty
Jul 9 '13 at 9:23
TheSystem->Preferences->Keyboard
works also for Ubuntu 14.04 with MATE desktop.
– sdaau
Dec 6 '17 at 22:23
1
1
The
dontzap
package is not included in Ubuntu 11.10.– Stefan Lasiewski
Nov 19 '11 at 16:59
The
dontzap
package is not included in Ubuntu 11.10.– Stefan Lasiewski
Nov 19 '11 at 16:59
For me, it appears to be disabled in
System->Preferences->Keyboard
but in fact it's still active, destructive and "out there". dontzap
doesn't seem to be "active" (as in actively developed) either, and it seems counterintuitive to have to install it in order to disable this key-combo. Any other ways to really and fully disable it?– nutty about natty
Jul 9 '13 at 9:20
For me, it appears to be disabled in
System->Preferences->Keyboard
but in fact it's still active, destructive and "out there". dontzap
doesn't seem to be "active" (as in actively developed) either, and it seems counterintuitive to have to install it in order to disable this key-combo. Any other ways to really and fully disable it?– nutty about natty
Jul 9 '13 at 9:20
ps: I think this is a bug. Some time ago, I enabled it cuz I thought it was kinda cool - not knowing that it was a one-way-street (no disabling functionality built-in). pps: I'm on
precise
.– nutty about natty
Jul 9 '13 at 9:23
ps: I think this is a bug. Some time ago, I enabled it cuz I thought it was kinda cool - not knowing that it was a one-way-street (no disabling functionality built-in). pps: I'm on
precise
.– nutty about natty
Jul 9 '13 at 9:23
The
System->Preferences->Keyboard
works also for Ubuntu 14.04 with MATE desktop.– sdaau
Dec 6 '17 at 22:23
The
System->Preferences->Keyboard
works also for Ubuntu 14.04 with MATE desktop.– sdaau
Dec 6 '17 at 22:23
add a comment |
This was tested on 13.10+, type the following on the terminal:
sudo dpkg-reconfigure keyboard-configuration
You will see the keyboard configuration. Press ENTER 5 times to skip all keyboard related options except for the Kill X part. When you get to the Kill X option which looks like this:
Select YES and press enter. Wait a bit while everything configures and after that you should have the ability to CTRL+ALT+BCKSPC right on the current session. After saving any work you have pending, try it yourself.
Perfect to solve any visual issues or annoying apps.
4
This is probably the only solution here (short of using the control panel, I mean) that maintain the setting across keyboard layout switch.
– Rmano
May 12 '14 at 15:45
4
this solution deserves upvote!
– Antony
Sep 12 '14 at 20:19
1
Works on Ubuntu 14.04 LTS.
– zvezda
Feb 17 '16 at 3:26
6
Works on Ubuntu 16.04 LTS
– Angsuman Chakraborty
Nov 17 '16 at 10:40
For some reason I had to reboot to make this take effect with KDM on Kubuntu 14.04 (despite I tried doingsudo stop kdm; sudo start kdm
until I rebooted). After reboot it does work as expected.
– Ruslan
May 25 '17 at 7:12
|
show 1 more comment
This was tested on 13.10+, type the following on the terminal:
sudo dpkg-reconfigure keyboard-configuration
You will see the keyboard configuration. Press ENTER 5 times to skip all keyboard related options except for the Kill X part. When you get to the Kill X option which looks like this:
Select YES and press enter. Wait a bit while everything configures and after that you should have the ability to CTRL+ALT+BCKSPC right on the current session. After saving any work you have pending, try it yourself.
Perfect to solve any visual issues or annoying apps.
4
This is probably the only solution here (short of using the control panel, I mean) that maintain the setting across keyboard layout switch.
– Rmano
May 12 '14 at 15:45
4
this solution deserves upvote!
– Antony
Sep 12 '14 at 20:19
1
Works on Ubuntu 14.04 LTS.
– zvezda
Feb 17 '16 at 3:26
6
Works on Ubuntu 16.04 LTS
– Angsuman Chakraborty
Nov 17 '16 at 10:40
For some reason I had to reboot to make this take effect with KDM on Kubuntu 14.04 (despite I tried doingsudo stop kdm; sudo start kdm
until I rebooted). After reboot it does work as expected.
– Ruslan
May 25 '17 at 7:12
|
show 1 more comment
This was tested on 13.10+, type the following on the terminal:
sudo dpkg-reconfigure keyboard-configuration
You will see the keyboard configuration. Press ENTER 5 times to skip all keyboard related options except for the Kill X part. When you get to the Kill X option which looks like this:
Select YES and press enter. Wait a bit while everything configures and after that you should have the ability to CTRL+ALT+BCKSPC right on the current session. After saving any work you have pending, try it yourself.
Perfect to solve any visual issues or annoying apps.
This was tested on 13.10+, type the following on the terminal:
sudo dpkg-reconfigure keyboard-configuration
You will see the keyboard configuration. Press ENTER 5 times to skip all keyboard related options except for the Kill X part. When you get to the Kill X option which looks like this:
Select YES and press enter. Wait a bit while everything configures and after that you should have the ability to CTRL+ALT+BCKSPC right on the current session. After saving any work you have pending, try it yourself.
Perfect to solve any visual issues or annoying apps.
answered Apr 11 '14 at 15:24
Luis Alvarado♦Luis Alvarado
147k139486655
147k139486655
4
This is probably the only solution here (short of using the control panel, I mean) that maintain the setting across keyboard layout switch.
– Rmano
May 12 '14 at 15:45
4
this solution deserves upvote!
– Antony
Sep 12 '14 at 20:19
1
Works on Ubuntu 14.04 LTS.
– zvezda
Feb 17 '16 at 3:26
6
Works on Ubuntu 16.04 LTS
– Angsuman Chakraborty
Nov 17 '16 at 10:40
For some reason I had to reboot to make this take effect with KDM on Kubuntu 14.04 (despite I tried doingsudo stop kdm; sudo start kdm
until I rebooted). After reboot it does work as expected.
– Ruslan
May 25 '17 at 7:12
|
show 1 more comment
4
This is probably the only solution here (short of using the control panel, I mean) that maintain the setting across keyboard layout switch.
– Rmano
May 12 '14 at 15:45
4
this solution deserves upvote!
– Antony
Sep 12 '14 at 20:19
1
Works on Ubuntu 14.04 LTS.
– zvezda
Feb 17 '16 at 3:26
6
Works on Ubuntu 16.04 LTS
– Angsuman Chakraborty
Nov 17 '16 at 10:40
For some reason I had to reboot to make this take effect with KDM on Kubuntu 14.04 (despite I tried doingsudo stop kdm; sudo start kdm
until I rebooted). After reboot it does work as expected.
– Ruslan
May 25 '17 at 7:12
4
4
This is probably the only solution here (short of using the control panel, I mean) that maintain the setting across keyboard layout switch.
– Rmano
May 12 '14 at 15:45
This is probably the only solution here (short of using the control panel, I mean) that maintain the setting across keyboard layout switch.
– Rmano
May 12 '14 at 15:45
4
4
this solution deserves upvote!
– Antony
Sep 12 '14 at 20:19
this solution deserves upvote!
– Antony
Sep 12 '14 at 20:19
1
1
Works on Ubuntu 14.04 LTS.
– zvezda
Feb 17 '16 at 3:26
Works on Ubuntu 14.04 LTS.
– zvezda
Feb 17 '16 at 3:26
6
6
Works on Ubuntu 16.04 LTS
– Angsuman Chakraborty
Nov 17 '16 at 10:40
Works on Ubuntu 16.04 LTS
– Angsuman Chakraborty
Nov 17 '16 at 10:40
For some reason I had to reboot to make this take effect with KDM on Kubuntu 14.04 (despite I tried doing
sudo stop kdm; sudo start kdm
until I rebooted). After reboot it does work as expected.– Ruslan
May 25 '17 at 7:12
For some reason I had to reboot to make this take effect with KDM on Kubuntu 14.04 (despite I tried doing
sudo stop kdm; sudo start kdm
until I rebooted). After reboot it does work as expected.– Ruslan
May 25 '17 at 7:12
|
show 1 more comment
For 13.10 and newer:
If you are looking for a solution which is independent of Gnome/KDE/Fluxbox or any Desktop Environment or Window Manager, try the following X Window System command. I need this because my Unity desktop is not loading (but X works fine), therefore there is no logout button.
From https://wiki.ubuntu.com/X/Config/DontZap#Using_the_command_line
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.
Also, according to the Ubuntu 10.04 LTS (Lucid Lynx), this has replaced the old DontZap
feature from older versions of the X Window System.
In addition, the Ctrl+Alt+Backspace option is now configured as an X
keymap (XKB) option, replacing the X server "DontZap" option and
allowing per-user configuration of this setting.
This is explained further in the Xorg X11R7.5 Release Notes which, among other details, say:
Users who wish to have this functionality available by default may
enable it via the XKB configuration option “terminate:ctrl_alt_bksp”.
2
@Jorge Castro @Stefan Lasiewski Thanks for your advice. One-time option with setxkbmap works, but adding it to~/.xinitrc
on 13.10 doesn't do anything. Probably,~/.xinitrc
isn't used anymore on the latest Ubuntu? How do I enable Zapping permanently, then?
– Nickolai Leschov
Dec 23 '13 at 12:41
@Nickolai Leschov. I had the same problem. In 13.10, try the method using the dconf-editor described in the answer by chaskes.
– Aibara
Dec 26 '13 at 21:38
add a comment |
For 13.10 and newer:
If you are looking for a solution which is independent of Gnome/KDE/Fluxbox or any Desktop Environment or Window Manager, try the following X Window System command. I need this because my Unity desktop is not loading (but X works fine), therefore there is no logout button.
From https://wiki.ubuntu.com/X/Config/DontZap#Using_the_command_line
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.
Also, according to the Ubuntu 10.04 LTS (Lucid Lynx), this has replaced the old DontZap
feature from older versions of the X Window System.
In addition, the Ctrl+Alt+Backspace option is now configured as an X
keymap (XKB) option, replacing the X server "DontZap" option and
allowing per-user configuration of this setting.
This is explained further in the Xorg X11R7.5 Release Notes which, among other details, say:
Users who wish to have this functionality available by default may
enable it via the XKB configuration option “terminate:ctrl_alt_bksp”.
2
@Jorge Castro @Stefan Lasiewski Thanks for your advice. One-time option with setxkbmap works, but adding it to~/.xinitrc
on 13.10 doesn't do anything. Probably,~/.xinitrc
isn't used anymore on the latest Ubuntu? How do I enable Zapping permanently, then?
– Nickolai Leschov
Dec 23 '13 at 12:41
@Nickolai Leschov. I had the same problem. In 13.10, try the method using the dconf-editor described in the answer by chaskes.
– Aibara
Dec 26 '13 at 21:38
add a comment |
For 13.10 and newer:
If you are looking for a solution which is independent of Gnome/KDE/Fluxbox or any Desktop Environment or Window Manager, try the following X Window System command. I need this because my Unity desktop is not loading (but X works fine), therefore there is no logout button.
From https://wiki.ubuntu.com/X/Config/DontZap#Using_the_command_line
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.
Also, according to the Ubuntu 10.04 LTS (Lucid Lynx), this has replaced the old DontZap
feature from older versions of the X Window System.
In addition, the Ctrl+Alt+Backspace option is now configured as an X
keymap (XKB) option, replacing the X server "DontZap" option and
allowing per-user configuration of this setting.
This is explained further in the Xorg X11R7.5 Release Notes which, among other details, say:
Users who wish to have this functionality available by default may
enable it via the XKB configuration option “terminate:ctrl_alt_bksp”.
For 13.10 and newer:
If you are looking for a solution which is independent of Gnome/KDE/Fluxbox or any Desktop Environment or Window Manager, try the following X Window System command. I need this because my Unity desktop is not loading (but X works fine), therefore there is no logout button.
From https://wiki.ubuntu.com/X/Config/DontZap#Using_the_command_line
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.
Also, according to the Ubuntu 10.04 LTS (Lucid Lynx), this has replaced the old DontZap
feature from older versions of the X Window System.
In addition, the Ctrl+Alt+Backspace option is now configured as an X
keymap (XKB) option, replacing the X server "DontZap" option and
allowing per-user configuration of this setting.
This is explained further in the Xorg X11R7.5 Release Notes which, among other details, say:
Users who wish to have this functionality available by default may
enable it via the XKB configuration option “terminate:ctrl_alt_bksp”.
edited Jun 29 '18 at 19:14
Codito ergo sum
1,5043825
1,5043825
answered Nov 21 '11 at 18:52
Stefan LasiewskiStefan Lasiewski
2,47252032
2,47252032
2
@Jorge Castro @Stefan Lasiewski Thanks for your advice. One-time option with setxkbmap works, but adding it to~/.xinitrc
on 13.10 doesn't do anything. Probably,~/.xinitrc
isn't used anymore on the latest Ubuntu? How do I enable Zapping permanently, then?
– Nickolai Leschov
Dec 23 '13 at 12:41
@Nickolai Leschov. I had the same problem. In 13.10, try the method using the dconf-editor described in the answer by chaskes.
– Aibara
Dec 26 '13 at 21:38
add a comment |
2
@Jorge Castro @Stefan Lasiewski Thanks for your advice. One-time option with setxkbmap works, but adding it to~/.xinitrc
on 13.10 doesn't do anything. Probably,~/.xinitrc
isn't used anymore on the latest Ubuntu? How do I enable Zapping permanently, then?
– Nickolai Leschov
Dec 23 '13 at 12:41
@Nickolai Leschov. I had the same problem. In 13.10, try the method using the dconf-editor described in the answer by chaskes.
– Aibara
Dec 26 '13 at 21:38
2
2
@Jorge Castro @Stefan Lasiewski Thanks for your advice. One-time option with setxkbmap works, but adding it to
~/.xinitrc
on 13.10 doesn't do anything. Probably, ~/.xinitrc
isn't used anymore on the latest Ubuntu? How do I enable Zapping permanently, then?– Nickolai Leschov
Dec 23 '13 at 12:41
@Jorge Castro @Stefan Lasiewski Thanks for your advice. One-time option with setxkbmap works, but adding it to
~/.xinitrc
on 13.10 doesn't do anything. Probably, ~/.xinitrc
isn't used anymore on the latest Ubuntu? How do I enable Zapping permanently, then?– Nickolai Leschov
Dec 23 '13 at 12:41
@Nickolai Leschov. I had the same problem. In 13.10, try the method using the dconf-editor described in the answer by chaskes.
– Aibara
Dec 26 '13 at 21:38
@Nickolai Leschov. I had the same problem. In 13.10, try the method using the dconf-editor described in the answer by chaskes.
– Aibara
Dec 26 '13 at 21:38
add a comment |
You can also use dconf-editor
. This option will make the setting persistent across sessions.
sudo apt-get install dconf-editor
After starting the dconf-editor
, navigate to org >> gnome >> desktop >> input-sources
Add the options that you need in xkb-options
. The option strings are surrounded by single quotes and separated by commas. Be careful not to delete the brackets on the ends.
To enable ctrl+alt+backspace to kill the X-session, add 'terminate:ctrl_alt_bksp'
You can use this method to enter most of the traditional xkb options that are no longer available in System Settings >> Text Entry. The exceptions are the settings for switching the keyboard layouts, which currently do not work because of a bug.
For a list of the options and the syntax, use man 7 xkeyboard-config
in a terminal.
To run the commands equivalent to using dconf-editor
from a terminal, you use
gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']"
Note the single quotes around the value, the square brackets around that, the double quotes around the whole thing. In other words, just like in dconf-editor
.
Note that this will delete your other settings in xkb-options, if you have any.
You can get the existing settings with
gsettings get org.gnome.desktop.input-sources xkb-options
If you don't change these values very often, it might be simplest to combine existing settings with the new one by hand and the run gsettings set
.
It can also be done all at once on the command line. I've put it in a short script here to make it easier to read.
#!/bin/bash
options=$(echo $(gsettings get org.gnome.desktop.input-sources xkb-options)|sed 's/]//g')", 'terminate:ctrl_alt_bksp']"
gsettings set org.gnome.desktop.input-sources xkb-options "$options"
The 2nd line gets the current values and concatenates the terminate...
option. The sed command strips the right square bracket from the current values.
Note that while the argument string to the gsettings get
command in the terminal needs double quotes around the value
"['val', 'val2']"
the argument string when run in a script should not have the double quotes.
['val', 'val2']
Thanks for the solution. Is there a way to issue this as a command on a command-line?
– Nickolai Leschov
Dec 27 '13 at 13:39
It's not the same thing. The solution by Lasiewski only works one time, until reboot. He doesn't know a way tho make it permanent.
– Nickolai Leschov
Dec 27 '13 at 15:01
It doesn't work.source ~/.profile
makes it work, but logout/login resets it.
– Nickolai Leschov
Dec 27 '13 at 15:31
let us continue this discussion in chat
– Nickolai Leschov
Dec 27 '13 at 15:35
@NickolaiLeschov I added a new command line solution
– chaskes
Dec 27 '13 at 18:09
add a comment |
You can also use dconf-editor
. This option will make the setting persistent across sessions.
sudo apt-get install dconf-editor
After starting the dconf-editor
, navigate to org >> gnome >> desktop >> input-sources
Add the options that you need in xkb-options
. The option strings are surrounded by single quotes and separated by commas. Be careful not to delete the brackets on the ends.
To enable ctrl+alt+backspace to kill the X-session, add 'terminate:ctrl_alt_bksp'
You can use this method to enter most of the traditional xkb options that are no longer available in System Settings >> Text Entry. The exceptions are the settings for switching the keyboard layouts, which currently do not work because of a bug.
For a list of the options and the syntax, use man 7 xkeyboard-config
in a terminal.
To run the commands equivalent to using dconf-editor
from a terminal, you use
gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']"
Note the single quotes around the value, the square brackets around that, the double quotes around the whole thing. In other words, just like in dconf-editor
.
Note that this will delete your other settings in xkb-options, if you have any.
You can get the existing settings with
gsettings get org.gnome.desktop.input-sources xkb-options
If you don't change these values very often, it might be simplest to combine existing settings with the new one by hand and the run gsettings set
.
It can also be done all at once on the command line. I've put it in a short script here to make it easier to read.
#!/bin/bash
options=$(echo $(gsettings get org.gnome.desktop.input-sources xkb-options)|sed 's/]//g')", 'terminate:ctrl_alt_bksp']"
gsettings set org.gnome.desktop.input-sources xkb-options "$options"
The 2nd line gets the current values and concatenates the terminate...
option. The sed command strips the right square bracket from the current values.
Note that while the argument string to the gsettings get
command in the terminal needs double quotes around the value
"['val', 'val2']"
the argument string when run in a script should not have the double quotes.
['val', 'val2']
Thanks for the solution. Is there a way to issue this as a command on a command-line?
– Nickolai Leschov
Dec 27 '13 at 13:39
It's not the same thing. The solution by Lasiewski only works one time, until reboot. He doesn't know a way tho make it permanent.
– Nickolai Leschov
Dec 27 '13 at 15:01
It doesn't work.source ~/.profile
makes it work, but logout/login resets it.
– Nickolai Leschov
Dec 27 '13 at 15:31
let us continue this discussion in chat
– Nickolai Leschov
Dec 27 '13 at 15:35
@NickolaiLeschov I added a new command line solution
– chaskes
Dec 27 '13 at 18:09
add a comment |
You can also use dconf-editor
. This option will make the setting persistent across sessions.
sudo apt-get install dconf-editor
After starting the dconf-editor
, navigate to org >> gnome >> desktop >> input-sources
Add the options that you need in xkb-options
. The option strings are surrounded by single quotes and separated by commas. Be careful not to delete the brackets on the ends.
To enable ctrl+alt+backspace to kill the X-session, add 'terminate:ctrl_alt_bksp'
You can use this method to enter most of the traditional xkb options that are no longer available in System Settings >> Text Entry. The exceptions are the settings for switching the keyboard layouts, which currently do not work because of a bug.
For a list of the options and the syntax, use man 7 xkeyboard-config
in a terminal.
To run the commands equivalent to using dconf-editor
from a terminal, you use
gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']"
Note the single quotes around the value, the square brackets around that, the double quotes around the whole thing. In other words, just like in dconf-editor
.
Note that this will delete your other settings in xkb-options, if you have any.
You can get the existing settings with
gsettings get org.gnome.desktop.input-sources xkb-options
If you don't change these values very often, it might be simplest to combine existing settings with the new one by hand and the run gsettings set
.
It can also be done all at once on the command line. I've put it in a short script here to make it easier to read.
#!/bin/bash
options=$(echo $(gsettings get org.gnome.desktop.input-sources xkb-options)|sed 's/]//g')", 'terminate:ctrl_alt_bksp']"
gsettings set org.gnome.desktop.input-sources xkb-options "$options"
The 2nd line gets the current values and concatenates the terminate...
option. The sed command strips the right square bracket from the current values.
Note that while the argument string to the gsettings get
command in the terminal needs double quotes around the value
"['val', 'val2']"
the argument string when run in a script should not have the double quotes.
['val', 'val2']
You can also use dconf-editor
. This option will make the setting persistent across sessions.
sudo apt-get install dconf-editor
After starting the dconf-editor
, navigate to org >> gnome >> desktop >> input-sources
Add the options that you need in xkb-options
. The option strings are surrounded by single quotes and separated by commas. Be careful not to delete the brackets on the ends.
To enable ctrl+alt+backspace to kill the X-session, add 'terminate:ctrl_alt_bksp'
You can use this method to enter most of the traditional xkb options that are no longer available in System Settings >> Text Entry. The exceptions are the settings for switching the keyboard layouts, which currently do not work because of a bug.
For a list of the options and the syntax, use man 7 xkeyboard-config
in a terminal.
To run the commands equivalent to using dconf-editor
from a terminal, you use
gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']"
Note the single quotes around the value, the square brackets around that, the double quotes around the whole thing. In other words, just like in dconf-editor
.
Note that this will delete your other settings in xkb-options, if you have any.
You can get the existing settings with
gsettings get org.gnome.desktop.input-sources xkb-options
If you don't change these values very often, it might be simplest to combine existing settings with the new one by hand and the run gsettings set
.
It can also be done all at once on the command line. I've put it in a short script here to make it easier to read.
#!/bin/bash
options=$(echo $(gsettings get org.gnome.desktop.input-sources xkb-options)|sed 's/]//g')", 'terminate:ctrl_alt_bksp']"
gsettings set org.gnome.desktop.input-sources xkb-options "$options"
The 2nd line gets the current values and concatenates the terminate...
option. The sed command strips the right square bracket from the current values.
Note that while the argument string to the gsettings get
command in the terminal needs double quotes around the value
"['val', 'val2']"
the argument string when run in a script should not have the double quotes.
['val', 'val2']
edited Dec 27 '13 at 18:37
answered Oct 29 '13 at 17:27
chaskeschaskes
13.3k74359
13.3k74359
Thanks for the solution. Is there a way to issue this as a command on a command-line?
– Nickolai Leschov
Dec 27 '13 at 13:39
It's not the same thing. The solution by Lasiewski only works one time, until reboot. He doesn't know a way tho make it permanent.
– Nickolai Leschov
Dec 27 '13 at 15:01
It doesn't work.source ~/.profile
makes it work, but logout/login resets it.
– Nickolai Leschov
Dec 27 '13 at 15:31
let us continue this discussion in chat
– Nickolai Leschov
Dec 27 '13 at 15:35
@NickolaiLeschov I added a new command line solution
– chaskes
Dec 27 '13 at 18:09
add a comment |
Thanks for the solution. Is there a way to issue this as a command on a command-line?
– Nickolai Leschov
Dec 27 '13 at 13:39
It's not the same thing. The solution by Lasiewski only works one time, until reboot. He doesn't know a way tho make it permanent.
– Nickolai Leschov
Dec 27 '13 at 15:01
It doesn't work.source ~/.profile
makes it work, but logout/login resets it.
– Nickolai Leschov
Dec 27 '13 at 15:31
let us continue this discussion in chat
– Nickolai Leschov
Dec 27 '13 at 15:35
@NickolaiLeschov I added a new command line solution
– chaskes
Dec 27 '13 at 18:09
Thanks for the solution. Is there a way to issue this as a command on a command-line?
– Nickolai Leschov
Dec 27 '13 at 13:39
Thanks for the solution. Is there a way to issue this as a command on a command-line?
– Nickolai Leschov
Dec 27 '13 at 13:39
It's not the same thing. The solution by Lasiewski only works one time, until reboot. He doesn't know a way tho make it permanent.
– Nickolai Leschov
Dec 27 '13 at 15:01
It's not the same thing. The solution by Lasiewski only works one time, until reboot. He doesn't know a way tho make it permanent.
– Nickolai Leschov
Dec 27 '13 at 15:01
It doesn't work.
source ~/.profile
makes it work, but logout/login resets it.– Nickolai Leschov
Dec 27 '13 at 15:31
It doesn't work.
source ~/.profile
makes it work, but logout/login resets it.– Nickolai Leschov
Dec 27 '13 at 15:31
let us continue this discussion in chat
– Nickolai Leschov
Dec 27 '13 at 15:35
let us continue this discussion in chat
– Nickolai Leschov
Dec 27 '13 at 15:35
@NickolaiLeschov I added a new command line solution
– chaskes
Dec 27 '13 at 18:09
@NickolaiLeschov I added a new command line solution
– chaskes
Dec 27 '13 at 18:09
add a comment |
It was changed to Alt+Prt Scr+k.
I can't remember exactly when it was but it was supposed to stop accidental usage.
The idea being those who know they need it will be able to find the new key combination easily enough.
And I think someone at the time suggested it would be easier to remember as it is alternative screen kill. I am not sure that is the case.
The functionality is still there but under a different key combination.
2
Just to mention "Alt + Prt Scr" is marked on most keyboards as "SysRq" (System request) to help you easily remember this.
– 8128
Oct 31 '10 at 21:20
1
Thanks for your answer. As it happens, this doesn't work on my laptop. Bothprt sc
andsys rq
needfn
to be pressed and cause gnome-screenshot to open; many times if I hold it down for too long.
– dv3500ea
Oct 31 '10 at 21:44
14
-1. Alt + PrtScr + k or (SysRq + k) is a magic SysRq key combination that kills all processes on the current virtual console. It can be used to kill the X server, however it isn't the replacement for Ctrl + Alt + Bksp. In Ubuntu 9.04 Ctrl + Alt + Bksp got disabled (not removed) by default and could be enabled by setting a X server flag ('DontZap'), and as of Ubuntu 9.10 it's like described by fluteflute.
– htorque
Oct 31 '10 at 21:58
5
Found the release notes. The Ubuntu answer to this question is on this page wiki.ubuntu.com/LucidLynx/ReleaseNotes about half way down.
– Richard Holloway
Oct 31 '10 at 22:17
add a comment |
It was changed to Alt+Prt Scr+k.
I can't remember exactly when it was but it was supposed to stop accidental usage.
The idea being those who know they need it will be able to find the new key combination easily enough.
And I think someone at the time suggested it would be easier to remember as it is alternative screen kill. I am not sure that is the case.
The functionality is still there but under a different key combination.
2
Just to mention "Alt + Prt Scr" is marked on most keyboards as "SysRq" (System request) to help you easily remember this.
– 8128
Oct 31 '10 at 21:20
1
Thanks for your answer. As it happens, this doesn't work on my laptop. Bothprt sc
andsys rq
needfn
to be pressed and cause gnome-screenshot to open; many times if I hold it down for too long.
– dv3500ea
Oct 31 '10 at 21:44
14
-1. Alt + PrtScr + k or (SysRq + k) is a magic SysRq key combination that kills all processes on the current virtual console. It can be used to kill the X server, however it isn't the replacement for Ctrl + Alt + Bksp. In Ubuntu 9.04 Ctrl + Alt + Bksp got disabled (not removed) by default and could be enabled by setting a X server flag ('DontZap'), and as of Ubuntu 9.10 it's like described by fluteflute.
– htorque
Oct 31 '10 at 21:58
5
Found the release notes. The Ubuntu answer to this question is on this page wiki.ubuntu.com/LucidLynx/ReleaseNotes about half way down.
– Richard Holloway
Oct 31 '10 at 22:17
add a comment |
It was changed to Alt+Prt Scr+k.
I can't remember exactly when it was but it was supposed to stop accidental usage.
The idea being those who know they need it will be able to find the new key combination easily enough.
And I think someone at the time suggested it would be easier to remember as it is alternative screen kill. I am not sure that is the case.
The functionality is still there but under a different key combination.
It was changed to Alt+Prt Scr+k.
I can't remember exactly when it was but it was supposed to stop accidental usage.
The idea being those who know they need it will be able to find the new key combination easily enough.
And I think someone at the time suggested it would be easier to remember as it is alternative screen kill. I am not sure that is the case.
The functionality is still there but under a different key combination.
edited Feb 18 '11 at 8:40
8128
24.9k21101138
24.9k21101138
answered Oct 31 '10 at 21:18
Richard HollowayRichard Holloway
21k54252
21k54252
2
Just to mention "Alt + Prt Scr" is marked on most keyboards as "SysRq" (System request) to help you easily remember this.
– 8128
Oct 31 '10 at 21:20
1
Thanks for your answer. As it happens, this doesn't work on my laptop. Bothprt sc
andsys rq
needfn
to be pressed and cause gnome-screenshot to open; many times if I hold it down for too long.
– dv3500ea
Oct 31 '10 at 21:44
14
-1. Alt + PrtScr + k or (SysRq + k) is a magic SysRq key combination that kills all processes on the current virtual console. It can be used to kill the X server, however it isn't the replacement for Ctrl + Alt + Bksp. In Ubuntu 9.04 Ctrl + Alt + Bksp got disabled (not removed) by default and could be enabled by setting a X server flag ('DontZap'), and as of Ubuntu 9.10 it's like described by fluteflute.
– htorque
Oct 31 '10 at 21:58
5
Found the release notes. The Ubuntu answer to this question is on this page wiki.ubuntu.com/LucidLynx/ReleaseNotes about half way down.
– Richard Holloway
Oct 31 '10 at 22:17
add a comment |
2
Just to mention "Alt + Prt Scr" is marked on most keyboards as "SysRq" (System request) to help you easily remember this.
– 8128
Oct 31 '10 at 21:20
1
Thanks for your answer. As it happens, this doesn't work on my laptop. Bothprt sc
andsys rq
needfn
to be pressed and cause gnome-screenshot to open; many times if I hold it down for too long.
– dv3500ea
Oct 31 '10 at 21:44
14
-1. Alt + PrtScr + k or (SysRq + k) is a magic SysRq key combination that kills all processes on the current virtual console. It can be used to kill the X server, however it isn't the replacement for Ctrl + Alt + Bksp. In Ubuntu 9.04 Ctrl + Alt + Bksp got disabled (not removed) by default and could be enabled by setting a X server flag ('DontZap'), and as of Ubuntu 9.10 it's like described by fluteflute.
– htorque
Oct 31 '10 at 21:58
5
Found the release notes. The Ubuntu answer to this question is on this page wiki.ubuntu.com/LucidLynx/ReleaseNotes about half way down.
– Richard Holloway
Oct 31 '10 at 22:17
2
2
Just to mention "Alt + Prt Scr" is marked on most keyboards as "SysRq" (System request) to help you easily remember this.
– 8128
Oct 31 '10 at 21:20
Just to mention "Alt + Prt Scr" is marked on most keyboards as "SysRq" (System request) to help you easily remember this.
– 8128
Oct 31 '10 at 21:20
1
1
Thanks for your answer. As it happens, this doesn't work on my laptop. Both
prt sc
and sys rq
need fn
to be pressed and cause gnome-screenshot to open; many times if I hold it down for too long.– dv3500ea
Oct 31 '10 at 21:44
Thanks for your answer. As it happens, this doesn't work on my laptop. Both
prt sc
and sys rq
need fn
to be pressed and cause gnome-screenshot to open; many times if I hold it down for too long.– dv3500ea
Oct 31 '10 at 21:44
14
14
-1. Alt + PrtScr + k or (SysRq + k) is a magic SysRq key combination that kills all processes on the current virtual console. It can be used to kill the X server, however it isn't the replacement for Ctrl + Alt + Bksp. In Ubuntu 9.04 Ctrl + Alt + Bksp got disabled (not removed) by default and could be enabled by setting a X server flag ('DontZap'), and as of Ubuntu 9.10 it's like described by fluteflute.
– htorque
Oct 31 '10 at 21:58
-1. Alt + PrtScr + k or (SysRq + k) is a magic SysRq key combination that kills all processes on the current virtual console. It can be used to kill the X server, however it isn't the replacement for Ctrl + Alt + Bksp. In Ubuntu 9.04 Ctrl + Alt + Bksp got disabled (not removed) by default and could be enabled by setting a X server flag ('DontZap'), and as of Ubuntu 9.10 it's like described by fluteflute.
– htorque
Oct 31 '10 at 21:58
5
5
Found the release notes. The Ubuntu answer to this question is on this page wiki.ubuntu.com/LucidLynx/ReleaseNotes about half way down.
– Richard Holloway
Oct 31 '10 at 22:17
Found the release notes. The Ubuntu answer to this question is on this page wiki.ubuntu.com/LucidLynx/ReleaseNotes about half way down.
– Richard Holloway
Oct 31 '10 at 22:17
add a comment |
(This is for Gnome Ubuntu, but I suppose it is the same for Unity --- please someone confirm this).
You should install gnome-tweak-tool
(if not installed already) and run it. You will find the option you are looking for under "Typing":
If you feel more confortable with dconf-editor
(or you do not want to install gnome-tweak-tool
), you can open dconf-editor
, navigate to org.gnome.desktop.input-sources
, and then add the word "terminate:ctrl_alt_bksp" to the xkb-options
property.
Note that the other properties in the list will be probably different for your keyboard.
1
Thank you....Gnome Tweak does work in Unity, however, it is very hard to see as the white background that should be behind the right box with the list and menu options is transparent so it shows whatever is behind it(setting a white background would be a workaround but it is still usable....) The Dconf editor works as well and might be the better choice for readability but is a bit harder to use.....
– TrailRider
May 7 '14 at 23:02
add a comment |
(This is for Gnome Ubuntu, but I suppose it is the same for Unity --- please someone confirm this).
You should install gnome-tweak-tool
(if not installed already) and run it. You will find the option you are looking for under "Typing":
If you feel more confortable with dconf-editor
(or you do not want to install gnome-tweak-tool
), you can open dconf-editor
, navigate to org.gnome.desktop.input-sources
, and then add the word "terminate:ctrl_alt_bksp" to the xkb-options
property.
Note that the other properties in the list will be probably different for your keyboard.
1
Thank you....Gnome Tweak does work in Unity, however, it is very hard to see as the white background that should be behind the right box with the list and menu options is transparent so it shows whatever is behind it(setting a white background would be a workaround but it is still usable....) The Dconf editor works as well and might be the better choice for readability but is a bit harder to use.....
– TrailRider
May 7 '14 at 23:02
add a comment |
(This is for Gnome Ubuntu, but I suppose it is the same for Unity --- please someone confirm this).
You should install gnome-tweak-tool
(if not installed already) and run it. You will find the option you are looking for under "Typing":
If you feel more confortable with dconf-editor
(or you do not want to install gnome-tweak-tool
), you can open dconf-editor
, navigate to org.gnome.desktop.input-sources
, and then add the word "terminate:ctrl_alt_bksp" to the xkb-options
property.
Note that the other properties in the list will be probably different for your keyboard.
(This is for Gnome Ubuntu, but I suppose it is the same for Unity --- please someone confirm this).
You should install gnome-tweak-tool
(if not installed already) and run it. You will find the option you are looking for under "Typing":
If you feel more confortable with dconf-editor
(or you do not want to install gnome-tweak-tool
), you can open dconf-editor
, navigate to org.gnome.desktop.input-sources
, and then add the word "terminate:ctrl_alt_bksp" to the xkb-options
property.
Note that the other properties in the list will be probably different for your keyboard.
edited May 7 '14 at 22:14
answered May 7 '14 at 21:59
RmanoRmano
25.5k881147
25.5k881147
1
Thank you....Gnome Tweak does work in Unity, however, it is very hard to see as the white background that should be behind the right box with the list and menu options is transparent so it shows whatever is behind it(setting a white background would be a workaround but it is still usable....) The Dconf editor works as well and might be the better choice for readability but is a bit harder to use.....
– TrailRider
May 7 '14 at 23:02
add a comment |
1
Thank you....Gnome Tweak does work in Unity, however, it is very hard to see as the white background that should be behind the right box with the list and menu options is transparent so it shows whatever is behind it(setting a white background would be a workaround but it is still usable....) The Dconf editor works as well and might be the better choice for readability but is a bit harder to use.....
– TrailRider
May 7 '14 at 23:02
1
1
Thank you....Gnome Tweak does work in Unity, however, it is very hard to see as the white background that should be behind the right box with the list and menu options is transparent so it shows whatever is behind it(setting a white background would be a workaround but it is still usable....) The Dconf editor works as well and might be the better choice for readability but is a bit harder to use.....
– TrailRider
May 7 '14 at 23:02
Thank you....Gnome Tweak does work in Unity, however, it is very hard to see as the white background that should be behind the right box with the list and menu options is transparent so it shows whatever is behind it(setting a white background would be a workaround but it is still usable....) The Dconf editor works as well and might be the better choice for readability but is a bit harder to use.....
– TrailRider
May 7 '14 at 23:02
add a comment |
You can still get back Ctrl+ Alt+Backspace shortcut to restart X by opening a terminal and copy paste the following:
sudo dpkg-reconfigure keyboard-configuration
This answer was already given by Luis Alvarado above, including more detailed instructions.
– alanaktion
Feb 5 '15 at 3:38
add a comment |
You can still get back Ctrl+ Alt+Backspace shortcut to restart X by opening a terminal and copy paste the following:
sudo dpkg-reconfigure keyboard-configuration
This answer was already given by Luis Alvarado above, including more detailed instructions.
– alanaktion
Feb 5 '15 at 3:38
add a comment |
You can still get back Ctrl+ Alt+Backspace shortcut to restart X by opening a terminal and copy paste the following:
sudo dpkg-reconfigure keyboard-configuration
You can still get back Ctrl+ Alt+Backspace shortcut to restart X by opening a terminal and copy paste the following:
sudo dpkg-reconfigure keyboard-configuration
edited May 12 '14 at 15:14
Seth♦
35k27112166
35k27112166
answered May 7 '14 at 21:51
Mr_ChmodMr_Chmod
129112
129112
This answer was already given by Luis Alvarado above, including more detailed instructions.
– alanaktion
Feb 5 '15 at 3:38
add a comment |
This answer was already given by Luis Alvarado above, including more detailed instructions.
– alanaktion
Feb 5 '15 at 3:38
This answer was already given by Luis Alvarado above, including more detailed instructions.
– alanaktion
Feb 5 '15 at 3:38
This answer was already given by Luis Alvarado above, including more detailed instructions.
– alanaktion
Feb 5 '15 at 3:38
add a comment |
This didn't appear to change anything at all and didn't activate the key combination.
In Kubuntu (KDE, plasma-framework version 5.23 on Kubuntu 16.04 Xenial) I found the option under K > System Settings > Input Devices > Keyboard > Advanced. Open the menu item "key sequence to kill X server" and check the only option "Ctrl + Alt + Backspace", apply.
Using strace
I can see that this adds a line to /home/$USER/.config/kxkbrc which reads: Options=terminate:ctrl_alt_bksp
.
The setxkbmap
rule did work though and places a line reading terminate:ctrl_alt_bksp = +terminate(ctrl_alt_bksp)
in the /usr/share/X11/xkb/rules/evdev file.
add a comment |
This didn't appear to change anything at all and didn't activate the key combination.
In Kubuntu (KDE, plasma-framework version 5.23 on Kubuntu 16.04 Xenial) I found the option under K > System Settings > Input Devices > Keyboard > Advanced. Open the menu item "key sequence to kill X server" and check the only option "Ctrl + Alt + Backspace", apply.
Using strace
I can see that this adds a line to /home/$USER/.config/kxkbrc which reads: Options=terminate:ctrl_alt_bksp
.
The setxkbmap
rule did work though and places a line reading terminate:ctrl_alt_bksp = +terminate(ctrl_alt_bksp)
in the /usr/share/X11/xkb/rules/evdev file.
add a comment |
This didn't appear to change anything at all and didn't activate the key combination.
In Kubuntu (KDE, plasma-framework version 5.23 on Kubuntu 16.04 Xenial) I found the option under K > System Settings > Input Devices > Keyboard > Advanced. Open the menu item "key sequence to kill X server" and check the only option "Ctrl + Alt + Backspace", apply.
Using strace
I can see that this adds a line to /home/$USER/.config/kxkbrc which reads: Options=terminate:ctrl_alt_bksp
.
The setxkbmap
rule did work though and places a line reading terminate:ctrl_alt_bksp = +terminate(ctrl_alt_bksp)
in the /usr/share/X11/xkb/rules/evdev file.
This didn't appear to change anything at all and didn't activate the key combination.
In Kubuntu (KDE, plasma-framework version 5.23 on Kubuntu 16.04 Xenial) I found the option under K > System Settings > Input Devices > Keyboard > Advanced. Open the menu item "key sequence to kill X server" and check the only option "Ctrl + Alt + Backspace", apply.
Using strace
I can see that this adds a line to /home/$USER/.config/kxkbrc which reads: Options=terminate:ctrl_alt_bksp
.
The setxkbmap
rule did work though and places a line reading terminate:ctrl_alt_bksp = +terminate(ctrl_alt_bksp)
in the /usr/share/X11/xkb/rules/evdev file.
edited Aug 4 '16 at 21:38
answered Aug 4 '16 at 20:57
pbhjpbhj
1,368923
1,368923
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f10622%2fhow-can-i-enable-ctrlaltbackspace%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How can I do it in 14.04? I can't see a Layouts tab.
– Nickolai Leschov
Aug 9 '15 at 2:01
TL;DR:
sudo dpkg-reconfigure keyboard-configuration
– Ulysse BN
Mar 12 '17 at 17:45