Hello...
I'm new to Linux
I wanted to change two keys in my keyboard, I installed "Input Remapper" but I'm not been able to change the keys
I wanted to change the key "º" to "~" and vice-versa.
My keyboard layout is in portuguese.
Is it better to use this app or is it better other solution ?
Thanks !
[SOLVED] Key Mapping
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 2
- Posts: 54
- Joined: Tue Jul 05, 2022 11:05 am
[SOLVED] Key Mapping
Last edited by LockBot on Thu Jan 05, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Key Mapping
Run this command in terminal and restart the computer:
Code: Select all
sudo sed -i \
-e '15s|.*|key<BKSL>{[masculine,dead_circumflex,dead_grave,dead_breve]};|' \
-e '18s|.*|key<AC11>{[dead_tilde,ordfeminine,dead_circumflex,dead_caron]};|' \
/usr/share/X11/xkb/symbols/pt && sudo dpkg-reconfigure xkb-data
-
- Level 2
- Posts: 54
- Joined: Tue Jul 05, 2022 11:05 am
Re: Key Mapping
Worked
Thank you very much !
Can you point me a book to start learning what you did ?
Thank you very much !
Can you point me a book to start learning what you did ?
Re: Key Mapping
It is X Keyboard Extension. If you're interested how it works search for "xkb", starting with this website: http://www.x.org/wiki/XKB/
-
- Level 2
- Posts: 54
- Joined: Tue Jul 05, 2022 11:05 am
Re: Key Mapping
I'm sorry, but how do I revert this ? I had to change the keyboard, since I wasn't able to adjust to it, it had many faults, and now the new one is "normal" and it doesn't have this weird layout.magnus7 wrote: ⤴Thu Jul 07, 2022 8:40 am It is X Keyboard Extension. If you're interested how it works search for "xkb", starting with this website: http://www.x.org/wiki/XKB/
Sorry for the trouble.
Re: [SOLVED] Key Mapping
Reinstall
xkb-data
package. Run this command in terminal and restart the computer:Code: Select all
sudo apt-get install --reinstall xkb-data
-
- Level 2
- Posts: 54
- Joined: Tue Jul 05, 2022 11:05 am
Re: [SOLVED] Key Mapping
Done ! Thanks for all the help !magnus7 wrote: ⤴Sun Jul 10, 2022 7:08 am Reinstallxkb-data
package. Run this command in terminal and restart the computer:
Code: Select all
sudo apt-get install --reinstall xkb-data