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

Répondre à