Re: control-alt-del para desligar a máquina
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
> 2009/5/17 Fred Maranhão <fred.maranhao@gmail.com>
On 17-05-2009 21:03, Rafael Gimenes Leite wrote:
>> mexendo no /etc/inittab eu consigo fazer com que a combinação
>> ctrl+alt+del desligue a máquina a partir do console.
>>
>> Entretanto, no X o ctrl+alt+del não faz nada. Onde posso mexer para
>> que o ctrl+alt+del desligue a máquina em qualquer ambiente (e sem
>> fazer perguntas)?
>
> tenta fazer isso
>
> *4)* Change the X11 config to ignore ctrl-alt-del. I discovered this by
> checking the man page for XF86Config. See the part about 'DontZap'.
>
> Find where your X11 config file is (probably something like
> /etc/X11/XF86Config) and find the ServerFlags section which starts with:
>
> *Section "ServerFlags"*
>
> And add the DontZap option before the "EndSection":
>
> * Option "DontZap" "true"*
>
> Restart X11 one last time, and then finally your computer should ignore
> ctrl-alt-del.
Isso funciona? Tenho a impressão que o DontZap é pra
Ctrl+Alt+Backspace. Parece que pra mudar o Ctrl+Alt+Delete
depende do Gerenciador de Janelas.
No GNOME parece que é necessário mexer em
Sistema > Preferências > Atalhos de teclado
Algumas referências apontam pra um arquivo ctrl-alt-del
em /etc/event.d mas eu não sei se isso ainda funciona.
Abraço,
- --
Felipe Augusto van de Wiel (faw)
"Debian. Freedom to code. Code to freedom!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkoRZy4ACgkQCjAO0JDlykarMwCeIvnLBDg8hGZEFah8JHSBPnw0
s2IAnjUWsPG2uDPCz71+LWWB33vwRVoy
=BQ6n
-----END PGP SIGNATURE-----
Reply to: