[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: configuration de clavier...



>>>>> "Frédéric" == Frédéric Petit <Frederic.Petit@univ-mlv.fr> writes:

  Frédéric> Par contre, il n'en va pas de même sous X. Je cherche par
  Frédéric> exemple à redéfinir les touches associées à la touche
  Frédéric> Control. Par exemple, bon, c'est un faux exemple, je
  Frédéric> voudrais redéfinir Ctrl-A.

Je te suggère de regarder di côté des ressources X
(~/.Xresources). Par exemple : 

*VT100.Translations: #override\
    Shift Ctrl <KeyPress> Up: scroll-back(1,page)\n\
    Shift Ctrl <KeyPress> Down: scroll-forw(1,page)\n\
    Ctrl <KeyPress> Up: scroll-back(2,line)\n\
    Ctrl <KeyPress> Down: scroll-forw(2,line)\n\
    Ctrl <KeyPress> Home: scroll-back(10,line)\n\
    Ctrl <KeyPress> End: scroll-forw(10,line)

Et "man xterm" pour la liste des "actions" valides.

-- 
Laurent Martelli
martelli@iie.cnam.fr                        http://www.linuxfan.com/~laurent



Reply to: