mirto
6 March 2025 12:19
1
Hi all,
sorry for the stupid question; but I’m facing a strange behaviour.
I have an italian qwerty keyboard and everything work correctly in KDE Plasma: konsole application sees the correct characters using bash or zsh.
Strangely activating the console (CTRL+ALT+F3) the only key I cannot type is the dash (-).
The key is the one near the right shift. This key types dash (-) and with shift types underscore (_)
On the console it types slash (/) and with shift types underscore (_)
All the other keys (normal and with shift) type what is expected.
What can i do?
mirto:
What can i do?
Make sure you use the correct keymap in /etc/vconsole.conf
cat /etc/vconsole.conf
$ localectl list-keymaps | grep it
it
it-ibm
it2
mac-it
If you list the content of ~/.config/plasma-localerc you may get a hint
When you have found the correct name
localectl set-keymap <keymap>
2 Likes
mirto
6 March 2025 16:45
3
I’ll try to gather informations.
Issuing the commands in konsole (plasma) I have
vconsole.conf
~ cat /etc/vconsole.conf ✔
KEYMAP=it2
~
list-keymaps
~ localectl list-keymaps | grep it ✔
it
it-ibm
it2
mac-it
~
plasma-localerc
~ cat ~/.config/plasma-localerc ✔
[Formats]
LANG=it_IT.UTF-8
~
Maybe I didn’t explain myself
In Plasma all keyboard mappings are correct also for the key in the red box.
And this happens only when I switch to the character console (CTRL+ALT+F3) terminal
In this terminal the key in the red box types the slash (/) .
All the italian characters (green boxes) are correct and only the lower rightmost key is wrong (but the SHIFT+this-key is correct).
Strangely ALTGR+this-key gives the dash (-)
Any hint?
I can’t say - but since you are using it2 - changing to it cannot be much different
localectl set-keymap it
mirto
6 March 2025 16:57
5
Thanks
I’ll go on using ALTGR
BTW I only needed the dash for issuing sudo pacman -Syu
I believe “it
” would indeed be the correct layout, going by what Wikipedia says .
mirto:
Thanks
I’ll go on using ALTGR
Just do what @linux-aarhus said, and then you’ll have the correct keyboard layout everywhere.
1 Like
mirto
7 March 2025 19:28
7
Sorry going to the link gives
Wikipedia does not have an article with this exact name. Please search for Italian keyboard layouthttps://en.wikipedia.org/wiki/Italian keyboard layout in Wikipedia to check for alternative titles or spellings.
Do you have any idea where to find the layouts for “it” and “it2”?
My apologies — it was an error in the copy/pasting of the link in my post. I’ve corrected it now. The link should now work.
mirto
8 March 2025 09:40
9
Yes. Now the link is correct.
I read the article but every reference to italian key excludes the dash/underscore key
xabbu
8 March 2025 10:36
10
The header for the it2 keymap explains the changes and why - is mapped to /
! Italian keymap
!
!
! Note:
! Since the Italian keyboard lacks of some basic keys ( like the '{}'
! parentheses and the '`' grave ) and the most used keys like the
! unix slash '/' are in the wrong position, I added some new keys
! binding to the standard Italian keyboard. They are:
! CHARACTER KEY
! ` AltGr-<'>
! / <->
! - AltGr-<->
! { AltGr-<8>
! } AltGr-<9>
! ~ AltGr-<\>
!
! To use the Italian keyboard under X11 you must make the $HOME/.Xmodmap using
! the mk_modmap command found under /usr/lib/kbd/keymaps,
! and then insert the following lines in your /usr/lib/X11/Xconfig :
!
! LeftAlt Meta
2 Likes
system
Closed
11 March 2025 10:36
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.