Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "Cestino/DontZap"
Differenze tra le versioni 6 e 27 (in 21 versioni)
Versione 6 del 13/09/2009 14.04.27
Dimensione: 4823
Autore: LeoIannacone
Commento:
Versione 27 del 11/11/2021 11.06.21
Dimensione: 1895
Autore: wilecoyote
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
## page was renamed from AmbienteGrafico/DontZap
## page was renamed from DontZap
Linea 3: Linea 5:
[[BR]]
[[Indice]]
<<BR>>
<<Indice>>
<<BR>>
<<Informazioni(forum="http://forum.ubuntu-it.org/viewtopic.php?t=317744"; rilasci="10.10 10.04")>>

Linea 6: Linea 12:
In questa guida verranno illustrati vari modi per abilitare la combinazione di tasti '''Cotrol + Alt + Backspace''', molto utile per effettuare un veloce arresto di sessione.
Linea 8: Linea 13:
##The DontZap option in the /etc/X11/xorg.conf file enables or disables the CTRL-ALT-BACKSPACE shortcut to restart the X-server. In previous Ubuntu releases, this shortcut was enabled by default, however this will change starting with 9.04 "Jaunty", as a number of users have complained about accidentally restarting their X-Server. In questa guida verranno illustrati vari modi per abilitare la combinazione di tasti '''Control + Alt + Backspace''', molto utile per effettuare un veloce arresto di sessione.
Linea 10: Linea 15:
##= Aside: sticky keys =
Linea 12: Linea 16:
##It may be worth mentioning that the Accessibility shortcuts (for both KDE and Gnome) are enabled by holding the shift-key for 8 seconds.
##(This is easy to do if, say, selecting multiple items with the mouse). As a result, it's easy to inadvertently enable "Sticky Keys". Now, if you press Ctrl and then release it, and a bit later, you press Alt-Bksp (the shortcut to delete a whole word), then Boom! Bye-bye X-session :-(
= In GNOME =
Linea 15: Linea 18:
##Also, unlike Ctrl-Alt-Del, the Ctrl-Alt-Bksp shortcut is not trapped. It's instant death (without confirmation) for the X-server, and too bad about your unsaved files. That's why DontZap is a good default.

##For anyone missing the ability to kill the X-server in emergency, may I point out Alt-SysRq-R, followed by Ctrl-Alt-F1 (the first puts the keyboard back into Raw mode, i.e. outside the control of the X-server; the latter switches Virtual Terminal.) Or you can use Alt-SysRq-K to kill the current session.

= Ubuntu 9.10 «Karmic Koala» o successive =

== In GNOME ==

 0. Selezionare '''''Sistema -> Preferenze -> Tastiera'''''

 0. Selezionare la scheda '''Disposizioni''' e fare clic su '''Opzioni disposizione'''
 0. Selezionare '''''Sistema → Preferenze → Tastiera'''''
 0. Selezionare la scheda '''Disposizioni''' e fare clic su '''Opzioni'''
Linea 29: Linea 22:
== In KDE == = In KDE =
Linea 31: Linea 24:
 0. Selezionare '''''Menu Kde -> Applicazioni -> Impostazioni -> Impostazioni di sistema'''''
 0. Selezionare '''''Menu Kde Applicazioni Impostazioni Impostazioni di sistema'''''
Linea 34: Linea 26:
 
Linea 36: Linea 27:
Linea 38: Linea 28:
Linea 41: Linea 30:
== Da riga di comando == = Da riga di comando =
Linea 43: Linea 32:
Digitare da [:AmministrazioneSistema/RigaDiComando:riga di comando]:
{{{
Digitare in una finestra di [[AmministrazioneSistema/RigaDiComando|terminale]] il seguente comando: {{{
Linea 48: Linea 36:
Per abilitare questo comportamento in modo permanente, inserire il comando precendete nel file `~/.xinitrc`.


== Utilizzando HAL ==

Aprire con un [:Ufficio/EditorDiTesto:editor di testo] con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file `/usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi`.

Cercare la riga:
{{{
<match key="info.capabilities" contains="input.keys">
Per abilitare questo comportamento in modo permanente, inserire il comando precedente nel file `~/.xinitrc`: {{{
echo setxkbmap -option terminate:ctrl_alt_bksp >> ~/.xinitrc
Linea 60: Linea 40:
E aggiungere subito dopo:
{{{
<merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
}}}
= Disabilitare la combinazione di tasti =
Linea 65: Linea 42:
= Ubuntu 9.04 «Jaunty Jackalope» = Per disabilitare la combinazione di tasti '''Control + Alt + Backspace''' è sufficiente eseguire il percorso inverso e successivamente terminare la sessione o riavviare il sistema.
Linea 67: Linea 44:
Aprire con un [:Ufficio/EditorDiTesto:editor di testo] con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file `/etc/X11/xorg.conf` e inserire alla fine le seguenti righe:

{{{
Section "ServerFlags"
        Option "DontZap" "false"
EndSection
}}}

Successivamente terminare la sessione o riavviare il computer.


== Disabilire la combinazione di tasti ==

Per disabilitare la combinazione di tasti '''Control + Alt + Backspace''' è sufficiente eliminare le righe aggiunte qui sopra, o modificarle in questo modo:

{{{
Section "ServerFlags"
        Option "DontZap" "true"
EndSection
}}}

Successivamente terminare la sessione o riavviare il computer.

= Aside: sticky keys =

It may be worth mentioning that the Accessibility shortcuts (for both KDE and Gnome) are enabled by holding the shift-key for 8 seconds.
(This is easy to do if, say, selecting multiple items with the mouse). As a result, it's easy to inadvertently enable "Sticky Keys". Now, if you press Ctrl and then release it, and a bit later, you press Alt-Bksp (the shortcut to delete a whole word), then Boom! Bye-bye X-session :-(

Also, unlike Ctrl-Alt-Del, the Ctrl-Alt-Bksp shortcut is not trapped. It's instant death (without confirmation) for the X-server, and too bad about your unsaved files. That's why DontZap is a good default.

For anyone missing the ability to kill the X-server in emergency, may I point out Alt-SysRq-R, followed by Ctrl-Alt-F1 (the first puts the keyboard back into Raw mode, i.e. outside the control of the X-server; the latter switches Virtual Terminal.) Or you can use Alt-SysRq-K to kill the current session.

= Ulteriori risorse =
 * [[https://wiki.ubuntu.com/X/Config/DontZap|Documento originale]]
Linea 101: Linea 47:
CategoryInTraduzione CategoryGrafica CategoryDaRevisionare



Problemi in questa pagina? Segnalali in questa discussione

Introduzione

In questa guida verranno illustrati vari modi per abilitare la combinazione di tasti Control + Alt + Backspace, molto utile per effettuare un veloce arresto di sessione.

In GNOME

  1. Selezionare Sistema → Preferenze → Tastiera

  2. Selezionare la scheda Disposizioni e fare clic su Opzioni

  3. Fare clic su Sequenza di tasti per terminare il server X e abilitare l'opzione Control + Alt + Backspace

In KDE

  1. Selezionare Menu Kde → Applicazioni → Impostazioni → Impostazioni di sistema

  2. Selezionare Lingua e Paese

  3. Selezionare Mappatura della tastiera

  4. Nella scheda Disposizione fare clic su Abilitare mappature della tastiera

  5. Selezionare la scheda Avanzate, fare clic su Sequenza di tasti per terminare il server X e abilitare Control + Alt + Backspace

Da riga di comando

Digitare in una finestra di terminale il seguente comando:

setxkbmap -option terminate:ctrl_alt_bksp

Per abilitare questo comportamento in modo permanente, inserire il comando precedente nel file ~/.xinitrc:

echo setxkbmap -option terminate:ctrl_alt_bksp >> ~/.xinitrc

Disabilitare la combinazione di tasti

Per disabilitare la combinazione di tasti Control + Alt + Backspace è sufficiente eseguire il percorso inverso e successivamente terminare la sessione o riavviare il sistema.

Ulteriori risorse


CategoryGrafica CategoryDaRevisionare