Tiny Core Base > CorePlus

[Solved] How to change keyboard layout?

(1/2) > >>

john110:
Hello, I want to change my keyboard layout to a french azerty one.
I'm sorry If this question has already been asked before, but I read the FAQ and search on the forum and I really don't understand how to do it. I'm a complete noob, so excuse me If I ask you to to ELI5 me some points.

Thank you a lot for your help

Rich:
Hi john110
Welcome to the forum.

Load  kmaps.tcz.
You must be in the console to change the keyboard. If you are in the GUI, click on the  Exit  icon and select  Exit to Prompt.
Then execute the following command:

--- Code: ---sudo loadkmap < /usr/share/kmap/azerty/fr-latin9.kmap
startx
--- End code ---
If the keyboard is to your liking, click on the  Editor  icon and add the following line to your  /opt/bootsync.sh  file:

--- Code: ---loadkmap < /usr/share/kmap/azerty/fr-latin9.kmap
--- End code ---

If you don't like  fr-latin9  you can try fr-latin1.

john110:
Hello rich,

Thank you for your help and the warm welcome.

After leaving the terminal and trying to type some text on the editor for testing purposes, I notice that I can't type some characters that I could type in the terminal. For example, "{}[]|" These characters can be typed by pressing "Alt gr" + "4"/"5" and so on.

Secondly, even in the terminal I couldn't type these characters by pressing "Ctrl" + "Alt" (but I could by pressing alt + gr).

Any fix for this?

john110:

--- Quote from: Rich on July 15, 2020, 01:07:54 PM ---
If the keyboard is to your liking, click on the  Editor  icon and add the following line to your  /opt/bootsync.sh  file:

--- Code: ---loadkmap < /usr/share/kmap/azerty/fr-latin9.kmap
--- End code ---

--- End quote ---

After fixing my keyboard issues (on my own) and being able to type my characters, I wanted to make this setting persistent by modifying the bootsync.sh file but I get:

"Error writing to file '/opt/bootsync.sh':
Permission denied"

Any idea on what I should do?

Rich:
Hi john110

--- Quote from: john110 on July 16, 2020, 05:46:38 AM --- ... After fixing my keyboard issues (on my own) and being able to type my characters,  ...
--- End quote ---
Were there problems with my instructions? If so, please elaborate so I can fix them for the next person that runs into this issue.


--- Quote --- ... I wanted to make this setting persistent by modifying the bootsync.sh file but I get:

"Error writing to file '/opt/bootsync.sh':
Permission denied" ...
--- End quote ---
Try this:

--- Code: ---sudo chown tc:staff /opt/bootsync.sh
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version