You are not logged in.

#1 2016-01-29 09:37:39

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Keyboard layout not changing [solved]

I've set my keyboard layout to be a persistent UK layout by editing the vconsole.conf file. The configuration takes affect and the output confirms I should have a UK keyboard layout.  But for some reason my keyboard buttons still have an American type layout when I'm typing on my machine.  How do I fix it?

$ cat /etc/vconsole.conf 
KEYMAP=uk

$ localectl status
   System Locale: n/a

       VC Keymap: uk
      X11 Layout: n/a

Last edited by sg4rb0 (2016-01-30 21:50:55)

Offline

#2 2016-01-29 10:19:51

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Keyboard layout not changing [solved]

Does the problem happen on a virtual console or under X11? If it's the latter, you can try

# localectl set-x11-keymap gb

Edit: Also configure your system locale.

Last edited by x33a (2016-01-29 10:21:06)

Offline

#3 2016-01-29 11:04:16

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: Keyboard layout not changing [solved]

Looks like you skipped the entire locale section in The Beginners Guide.

Doing a little bit of minor forum stalking - you state you installed via the Installation Guide. May I suggest you have a good read through The Beginners Guide as many of the issues, questions and queries you are raising on the forum are comprehensively covered wink

Last edited by satanselbow (2016-01-29 11:04:37)

Offline

#4 2016-01-29 12:12:02

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Re: Keyboard layout not changing [solved]

I didn't skip the entire locale section. I did however miss a tiny bit that said to uncomment a line in the locale.gen file. Having done that, it seems to have fixed it. Something that is very unclear in that documentation though, is what the difference is between uncommenting your language in the locale.gen, and setting a persistent keyboard layout in vconsole.conf. Can someone elaborate?

Offline

#5 2016-01-29 12:58:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Keyboard layout not changing [solved]

sg4rb0 wrote:

I didn't skip the entire locale section. I did however miss a tiny bit that said to uncomment a line in the locale.gen file. Having done that, it seems to have fixed it. Something that is very unclear in that documentation...

sg4rb0, So far you've had one thread with three errors due to either careless reading or careless typing, and now three others due to careless reading of the documentation and skipping steps (you didn't miss a tiny bit; you've missed many significant bits).  Given that you seem to have trouble reading any documentation, but very few others seem to have problems, I don't think it is fair to say the documentation is unclear.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB