You are not logged in.

#1 2019-02-06 20:04:03

pdneves
Member
Registered: 2019-02-06
Posts: 6

[SOLVED] Keyboard Layout does not change

Hello,

I have installed Arch with KDE, and no matter what I try the keyboard does not change from US, either with konsole or within KDE. I had installed 2 weeks ago and everything was working, now yesterday I formatted and installed again and now I cant change it.
Is there anything else I can try? I have US layout and want to use the Portuguese, my locale is set as en_GB.

Thank you.

EDIT: This is solved here.

Last edited by pdneves (2019-02-07 11:10:02)

Offline

#2 2019-02-06 20:12:30

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Keyboard Layout does not change

How are you trying to change the layout?

IIRC you'll need to use KDE's settings for this as it overrides settings that you may have made elsewhere.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2019-02-06 20:25:45

pdneves
Member
Registered: 2019-02-06
Posts: 6

Re: [SOLVED] Keyboard Layout does not change

Slithery wrote:

How are you trying to change the layout?

IIRC you'll need to use KDE's settings for this as it overrides settings that you may have made elsewhere.

I have tried it, still US all the time. Its just weird, never ran into this.

Offline

#4 2019-02-06 20:29:22

pdneves
Member
Registered: 2019-02-06
Posts: 6

Re: [SOLVED] Keyboard Layout does not change

During install I did loadkeys pt-latin9 and it was working, after installing KDE either Konsole or inside the DE its US and does not change.

Offline

#5 2019-02-06 22:01:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] Keyboard Layout does not change

loadkeys is for the console and as no impact on GUI sessions (nor on GUI terminals like konsole)
=> Output of "setxkbmap -print -query"?

Offline

#6 2019-02-06 22:14:41

pdneves
Member
Registered: 2019-02-06
Posts: 6

Re: [SOLVED] Keyboard Layout does not change

seth wrote:

loadkeys is for the console and as no impact on GUI sessions (nor on GUI terminals like konsole)
=> Output of "setxkbmap -print -query"?

xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+inet(evdev)"     };
        xkb_geometry  { include "pc(pc104)"     };
};
rules:      evdev
model:      pc104
layout:     us 

This is from this fresh install, I didnt touch / try anything this time.

Offline

#7 2019-02-06 22:24:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] Keyboard Layout does not change

Ok, rather after trying to alter it ;-)

Offline

#8 2019-02-06 22:29:10

pdneves
Member
Registered: 2019-02-06
Posts: 6

Re: [SOLVED] Keyboard Layout does not change

Doesnt matter what I change, its the same. I  have installed KDE and then XFCE because I was thinking that was a KDE problem with the same result.

Offline

#9 2019-02-06 22:59:47

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] Keyboard Layout does not change

Let's see: "setxkbmap -layout pt; setxkbmap -print -query"

Offline

#10 2019-02-06 23:26:28

peterklarc
Member
Registered: 2017-03-28
Posts: 28

Re: [SOLVED] Keyboard Layout does not change

You can check https://bbs.archlinux.org/viewtopic.php?id=243986  same problem here
=> Output of "setxkbmap -print -query"

xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+pt+inet(evdev)+group(alt_shift_toggle)"	};
	xkb_geometry  { include "pc(pc101)"	};
};
rules:      evdev
model:      pc101
layout:     pt
options:    grp:alt_shift_toggle

Offline

#11 2019-02-06 23:50:56

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

Re: [SOLVED] Keyboard Layout does not change

Hi there! I am having the same issue. I got my system working perfectly with Portuguese layout but after the last update I only get US.
Besides, in the console, I can not even change the layout to Portuguese!

$ loadkeys pt-latin1
Couldn't get a file descriptor referring to the console
$ loadkeys pt-latin9
Couldn't get a file descriptor referring to the console

In KDE, I also have the Portuguse layout selected for my keyboard but it does not change from  US.

Any ideas?

Thanks
Carlos Santos


Carlos Santos

Offline

#12 2019-02-06 23:55:23

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED] Keyboard Layout does not change

Downgrade xkeyboard-config to 2.25.  If the package is not in the cache Arch_Linux_Archive#How_to_downgrade_one_package.
https://bugs.archlinux.org/task/61634

Offline

#13 2019-02-07 00:07:06

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

Re: [SOLVED] Keyboard Layout does not change

Thanks! That solved my problem! big_smile
çáàéí... big_smile


Carlos Santos

Offline

#14 2019-02-07 10:31:35

GreenTuxer
Member
From: Odivelas (Lisboa), Portugal
Registered: 2013-06-06
Posts: 17
Website

Re: [SOLVED] Keyboard Layout does not change

I had the same issue, also pt keyboard.

I had a message reporting the error was related to wrong syntax on keyboard layout file.
So I edited the pt keyboard file (/usr/share/X11/xkb/symbols/pt), had a syntax error on group for "Portuguese Colemak" layout, as I do not use that layout, backed up the file and removed that section, after reboot everything is fine.

Let's hope next version has this corrected.

Offline

#15 2019-02-07 11:07:13

pdneves
Member
Registered: 2019-02-06
Posts: 6

Re: [SOLVED] Keyboard Layout does not change

loqs wrote:

Downgrade xkeyboard-config to 2.25.  If the package is not in the cache Arch_Linux_Archive#How_to_downgrade_one_package.
https://bugs.archlinux.org/task/61634

Problem solved using this method (thanks loqs). I will mark the problem as solved since there is a solution and it's a bug that needs fixing.

Thank you all for your time.

Offline

Board footer

Powered by FluxBB