You are not logged in.

#1 2018-10-16 13:10:05

altermetax
Member
Registered: 2016-03-19
Posts: 94

[SOLVED] Keyboard Layout is different than it should be

Hello everyone,
On a new Arch system, I installed KDE Plasma and set the keyboard layout to Italian (International, with dead keys) which is the one I need since I have an Italian keyboard but I also need to type text in German.
On the standard Italian keyboard layout, there are two buttons used for the letters ì and ù, in the positions of the buttons = and \ of the English keyboard.
If I choose to preview the keyboard layout in the KDE System Settings everything looks right: https://snag.gy/QE1Cvk.jpg
But when I actually type, I get a í instead of a ì and a ú instead of a ù. This doesn't happen with accents on the other vowels.
Why would this happen?

Last edited by altermetax (2018-10-17 12:18:44)

Offline

#2 2018-10-16 13:26:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,129

Re: [SOLVED] Keyboard Layout is different than it should be

Please post the output of

setxkbmap -print -query
xev -event keyboard # hit the relevant keys

Offline

#3 2018-10-16 21:22:56

altermetax
Member
Registered: 2016-03-19
Posts: 94

Re: [SOLVED] Keyboard Layout is different than it should be

$ setxkbmap -print -query
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+it(intl)+inet(evdev)"       };
        xkb_geometry  { include "pc(pc101)"     };
};
rules:      evdev
model:      pc101
layout:     it
variant:    intl


$ xev -event keyboard
Outer window is 0x4e00001, inner window is 0x4e00002

KeymapNotify event, serial 24, synthetic NO, window 0x0,
    keys:  32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyPress event, serial 25, synthetic NO, window 0x4e00001,
    root 0x186, subw 0x0, time 108540504, (1150,491), root:(1150,520),
    state 0x0, keycode 21 (keysym 0xed, iacute), same_screen YES,
    XLookupString gives 2 bytes: (c3 ad) "í"
    XmbLookupString gives 2 bytes: (c3 ad) "í"
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x4e00001,
    root 0x186, subw 0x0, time 108540613, (1150,491), root:(1150,520),
    state 0x0, keycode 21 (keysym 0xed, iacute), same_screen YES,
    XLookupString gives 2 bytes: (c3 ad) "í"
    XFilterEvent returns: False

KeyPress event, serial 28, synthetic NO, window 0x4e00001,
    root 0x186, subw 0x0, time 108543028, (1150,491), root:(1150,520),
    state 0x0, keycode 51 (keysym 0xfa, uacute), same_screen YES,
    XLookupString gives 2 bytes: (c3 ba) "ú"
    XmbLookupString gives 2 bytes: (c3 ba) "ú"
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x4e00001,
    root 0x186, subw 0x0, time 108543143, (1150,491), root:(1150,520),
    state 0x0, keycode 51 (keysym 0xfa, uacute), same_screen YES,
    XLookupString gives 2 bytes: (c3 ba) "ú"
    XFilterEvent returns: False

KeymapNotify event, serial 28, synthetic NO, window 0x0,
    keys:  4294967174 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ClientMessage event, serial 28, synthetic YES, window 0x4e00001,
    message_type 0x13b (WM_PROTOCOLS), format 32, message 0x13c (WM_DELETE_WINDOW)

Offline

#4 2018-10-16 21:55:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,129

Re: [SOLVED] Keyboard Layout is different than it should be

setxkbmap -variant basic

I know *nothing* about italian keyboards, but the layout description has igrave/ugrave for the variants:
- basic
- nodeadkeys
- winkeys
- geo
- olpc
- ibm
- fur

Pick whatever

"intl" and "scn" have iacute/uacute and then there're some even more wacko variants with entirely different stuff.

Offline

#5 2018-10-17 12:18:24

altermetax
Member
Registered: 2016-03-19
Posts: 94

Re: [SOLVED] Keyboard Layout is different than it should be

Solved, thank you!

Offline

Board footer

Powered by FluxBB