Linux Lite Forums
Keyboard Layout Problem. - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=28)
+--- Thread: Keyboard Layout Problem. (/showthread.php?tid=8874)

Pages: 1 2 3


Keyboard Layout Problem. - Ean - 07-21-2023

Hi, I've recently installed LL6.4 and have had a couple of problems which weren't present in 5.x. The PC is a dual core 3GHz CPU with 4Gb DDR3 RAM.

Here, the Keyboard characters @ and" are transposed, and I installed LL6.4 with a UK keyboard, Generic 105 Key, using the same keyboard and PC as with the earlier LL5.x installation. The problem persists after a reboot. There may be other wrong keys which I haven't discovered. I examined the many keyboard options available in LL, but the existing setting is by far the best apparent match. Please advise.

Many thanks, Ean.


Re: Keyboard Layout Problem. - stevef - 07-21-2023

Try this

Click Menu
Begin typing 'settings manager' into the search bar
When you see Settings Manager offered, click it
Under Hardware, click 'Keyboard'
Select the Layout tab
Ensure 'Use system defaults' is off
Under 'Keyboard model' the Generic option should be ok

Under 'Keyboard layout'
Check your keyboard marking for shift 3.
If it is a '£' symbol, then
If English (UK) is not present, use 'Add' to put it in the list.
Once English (UK) is in the list, highlight and remove other layouts leaving just one.
Close
This may change dynamically, but reboot if it doesn't.


Re: Keyboard Layout Problem. - Ean - 07-21-2023

Hi Stevef,

Many thanks for your fast reply. When shift 3 is pressed, I get a #. I can't turn "Use System Defaults" off; on clicking this nothing happens. English UK is the sole option shown under keyboard layout.

Ean.


Re: Keyboard Layout Problem. - stevef - 07-21-2023

What is reported if you open a terminal and enter the following command ?

Code:
setxkbmap -query



Re: Keyboard Layout Problem. - Ean - 07-21-2023

Hi Stevef,

The following comes back from    setxkbmap -query:

rules:      evdev
model:      pc105
layout:    us

LL settings tells me I have a UK keyboard (I've rechecked this), terminal (and the wrong key settings) indicate a US keyboard! It amazes me how people learn all these Terminal commands, etc. Expertise, I guess. I only use a few.

ean


Re: Keyboard Layout Problem. - stevef - 07-21-2023

There are some quirks in xfce desktop.  It can get confused if you change using the GUI and end up out of step.
Having one layout set by the GUI usually works, but something is awry here.

Try using the command

Code:
setxkbmap gb

Then check again.


Re: Keyboard Layout Problem. - Ean - 07-22-2023

Nothing happens when using the command.

In the meantime I installed Mint xfce alongside LL to see if there's anything odd in my PC or brain. There is no keyboard issue here (nor the Firefox issues I'm having as well with LL6.4-a separate topic).


Re: Keyboard Layout Problem. - stevef - 07-22-2023

Not sure what is going on then.  Just checked on a LL 6.4 system with a UK keyboard and UK mapping.
First showing the current mapping, then switching to to us mapping, repeat show the mapping and test with shift3.
Then revert to gb mapping and show and test again.

Code:
stevef>setxkbmap -query
rules:      evdev
model:      pc105
layout:     gb
stevef>
stevef>setxkbmap us
stevef> setxkbmap -query
rules:      evdev
model:      pc105
layout:     us
stevef>###
stevef>setxkbmap gb
stevef>£££
£££: command not found
stephen>setxkbmap -query
rules:      evdev
model:      pc105
layout:     gb
stevef>



Re: Keyboard Layout Problem. - Ean - 07-22-2023

Many thanks for your time on this. Would you recommend a re-install? If so, is there anything I have to watch for when reinstalling on top of the old LL6.4 with Mint installed on the same PC? (I want to keep Mint, for the time being).


Re: Keyboard Layout Problem. - stevef - 07-22-2023

Quote:Would you recommend a re-install?
Not yet.

Let's go back to the GUI for a moment.
Quote:I can't turn "Use System Defaults" off

What exactly do you mean here ?

On my desktop, 'Use System Defaults' set to ON means the slider is to the right (with a blue background) and the options to change anything are greyed out.  To turn it off, I click the slider to the left, the blue goes to grey and the options are enabled.

Can you confirm your settings GUI is stuck with Use System Defaults being ON