Quelle que soit la disposition de clavier choisie, il manque souvent certains caractères importants :
- les majuscules avec accents (È, É, ...)
- la cédille sur la majuscule (Ç)
- les a et e dans l'o (æ, œ)
- l'apostrophe française (’)
- des caractères espagnols (ñ, ¡, ¿, ...)
Du coup, j'ai choisi une disposition de clavier personnelle.
Je choisis AZERTY grâce à "setxkbmap" puis je modifie cette disposition grâce à "xmodmap" :
$ setxkbmap -layout "fr"
$ xmodmap ~/.xmodmaprc
Voici mon fichier ~/.xmodmaprc :
! ~/.xmodmaprc
! keycode <keycode> = <key> <left_shift+key> <right_shift+key> <right_shift+left_shift+key> <altgr+key> <altgr+left_shift+key>
! use the "xev" command and type a key to get the keycode value
! use the "dumpkeys -l" command to get the list of keysym values
! use the "xmodmap ~/.xmodmaprc" command to load this new configuration
clear shift
add shift = Shift_L
add mod3 = Scroll_Lock
! Spanish keys
keycode 24 = a A aacute Aacute agrave Agrave
keycode 26 = e E eacute Eacute egrave Egrave
keycode 30 = u U uacute Uacute ugrave Ugrave
keycode 31 = i I iacute Iacute igrave Igrave
keycode 32 = o O oacute Oacute ograve Ograve
keycode 57 = n N ntilde Ntilde ntilde Ntilde
keycode 58 = comma question questiondown questiondown questiondown questiondown
keycode 61 = exclam section exclamdown exclamdown exclamdown exclamdown
! Other keys
keycode 35 = dollar sterling EuroSign EuroSign EuroSign EuroSign
keycode 94 = less greater guillemotleft guillemotright guillemotleft guillemotright
keycode 49 = twosuperior asciitilde ae AE oe OE
keycode 59 = semicolon period ellipsis ellipsis ellipsis ellipsis
keycode 54 = c C copyright cent ccedilla Ccedilla
keycode 13 = apostrophe 4 apostrophe 4 braceleft rightsinglequotemark
! Maps the Mode key to the Alt key
! keycode 64 = Mode_switch
! Maps the Mode key to the Alt Gr key
! keycode 108 = Mode_switch
! Maps the Mode key to the Right Shift key
keycode 62 = Mode_switch
# Personnelle
Posté par YuGiOhJCJ . En réponse au sondage Ma disposition de clavier préférée. Évalué à 1. Dernière modification le 18 juillet 2015 à 11:29.
Quelle que soit la disposition de clavier choisie, il manque souvent certains caractères importants :
- les majuscules avec accents (È, É, ...)
- la cédille sur la majuscule (Ç)
- les a et e dans l'o (æ, œ)
- l'apostrophe française (’)
- des caractères espagnols (ñ, ¡, ¿, ...)
Du coup, j'ai choisi une disposition de clavier personnelle.
Je choisis AZERTY grâce à "setxkbmap" puis je modifie cette disposition grâce à "xmodmap" :
Voici mon fichier ~/.xmodmaprc :
Bonne personnalisation :)