Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Portuguese keyboard example #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions articles/advanced/keyboard-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -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```.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.