diff --git a/articles/advanced/keyboard-layout.md b/articles/advanced/keyboard-layout.md index e47df65..ab5f7c0 100755 --- a/articles/advanced/keyboard-layout.md +++ b/articles/advanced/keyboard-layout.md @@ -16,5 +16,19 @@ If it does not fix it, try another option in the keyboard-configuration panel. If you loose control of your keyboard, just reboot your Raspberry Pi and all configuration changes will be reverted. ### Changing keyboard mapping for all Raspberry Pis via the server -Once you have figured out the needed keyboard mapping, open a terminal on the server and enter ```sudo ltsp-chroot dpkg-reconfigure keyboard-configuration```. -Select the required layout and then recompress the operating system with ```ltsp-update-image /opt/ltsp/armhf```. +Once you have figured out the needed keyboard mapping, open a terminal on the server and enter ```sudo ltsp-chroot dpkg-reconfigure keyboard-configuration``` and select the required layout values. + +- Below is an example of settings for Portuguese + - After these changes you will have cedilla (letter รง) support using the ```right-ALT``` and ```,```. + - To enable using the keys ```'``` and ```c``` as you would on the Windows OS with US Internation Keyboard selection, enter the following line to append to the environment file: + - ```echo "GTK_IM_MODULE=cedilla QT_IM_MODULE=cedilla" >> /etc/environment``` + - Still, some applications (e.g. LibreOffice) may still require the ```right-ALT``` + ```,``` sequence. + + ![](/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_01.jpg) + ![](/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_02.jpg) + ![](/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_03.jpg) + ![](/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_04.jpg) + ![](/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_05.jpg) + + +Finally, recompress the operating system with ```ltsp-update-image /opt/ltsp/armhf```. diff --git a/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_01.jpg b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_01.jpg new file mode 100644 index 0000000..96ddf8c Binary files /dev/null and b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_01.jpg differ diff --git a/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_02.jpg b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_02.jpg new file mode 100644 index 0000000..d419bac Binary files /dev/null and b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_02.jpg differ diff --git a/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_03.jpg b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_03.jpg new file mode 100644 index 0000000..7abab79 Binary files /dev/null and b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_03.jpg differ diff --git a/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_04.jpg b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_04.jpg new file mode 100644 index 0000000..476fba3 Binary files /dev/null and b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_04.jpg differ diff --git a/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_05.jpg b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_05.jpg new file mode 100644 index 0000000..4b9a983 Binary files /dev/null and b/assets/images/dpkg-reconfigure/keyboard-configuration/pt.keyboard-configuration_05.jpg differ