Change WP400 default keyboard layout

On the WP400, you can change the keyboard layout by clicking the globe icon on the keyboard.
For french, scroll down (there are some “empty” options), and “français” will appear.

To avoid having to do this after every restart, you can set it as the default.

To do this, change the “LANG” parameter from “en_US.UTF-8” to the corresponding locale in the following files (which correspond to the different screen orientations):

/etc/profile_cap_0,
/etc/profile_cap_ccw,
/etc/profile_cap_cw
/etc/profile_cap_ud

For french (AZERTY) we will use “fr_fr.UTF-8”

To do this with a single command line:

for f in /etc/profile_cap_0 /etc/profile_cap_cw /etc/profile_cap_ccw /etc/profile_cap_ud /etc/profile; do sed -i -e ‘/^export LANG=fr_FR.UTF-8$/d’ -e ‘s/^export LANG=.*/export LANG=“fr_FR.UTF-8”/’ “$f”done

After that, the keyboard layout defaults to AZERTY.

1 Like