Re: Supprimer les raccourcis pour revenir en terminal ou killer X
Le Tue 6/07/2004, Jean-Michel OLTRA disait
>
> bonjour,
>
>
> Le mardi 06 juillet 2004, laurent a écrit...
>
>
> > Sous Sarge, j'aimerai pouvoir empécher de killer X par le raccourci ctrl
> > + alt + bck space si c'est possible ?
> > Dans le même style, est il possible d'empècher de revenir en mode
> > terminal par ctrl - alt - Fn lorsque X est lancé ?
>
> Je suppose que tu peux le faire en redéfinissant la keymap, avec
> xmodmap.
>
> `xmodmap -pke` t'indiquera quelles sont les définitions de keycodes à
> modifier. Jamais essayé.
>
> En revanche je ne sais pas si on peut le faire au niveau global, sans
> qu'un utilisateur puisse redéfinir une nouvelle keymap.
man XF86Config-4:
section Sever Flags
Option "DontVTSwitch" "boolean"
This disallows the use of the Ctrl+Alt+Fn sequence
(where Fn
refers to one of the numbered function keys). That
sequence is
normally used to switch to another 'virtual terminalcq
on oper-
ating systems that have this feature. When this
option is
enabled, that key sequence has no special meaning and
is passed
to clients. Default: off.
Option "DontZap" "boolean"
This disallows the use of the Ctrl+Alt+Backspace
sequence. That
sequence is normally used to terminate the X server.
When this
option is enabled, that key sequence has no special
meaning and
is passed to clients. Default: off.
Option "DontZoom" "boolean"
This disallows the use of the
Ctrl+Alt+Keypad-Plus and
Ctrl+Alt+Keypad-Minus sequences. These sequences allows
you to
switch between video modes. When this option is
enabled, those
key sequences have no special meaning and are passed to
clients.
Default: off.
Ça devrait répondre à la question.
--
Erwan
Reply to: