Bonjour a tous,
Cela faisait un moment que je cherchais pour modifier le comportement du "Shift" sous Xfce4.10, de manière à lui donner le comportement d'une machine à écrire ou le comportement de windows.
Petite explication, on verrouille les majuscules avec le "Caps-Lock", et pour le retour en minuscule on se sert soit de "Caps-Lock", soit de "Shift".
Pour obtenir ce résultat, il nous faut editer le fichier /etc/default/keyboard.
J'utilise gedit, mais vous pouvez utiliser n'importe quel éditeur de texte.
gksudo gedit /etc/default/keyboard
avant modification
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT="oss"
XKBOPTIONS=""
# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
après modification
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT="oss"
XKBOPTIONS="shift:breaks_caps"
# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
comme vous pouvez le constater la différence est minime, juste l'ajout de
shift:breaks_caps qui signifie
shift => interomp caps lock