Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: How to switch permanently to UK keyboard  (Read 800 times)

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
How to switch permanently to UK keyboard
« on: April 04, 2020, 09:22:54 am »
I've a UK keyboard (QWERTY and for example " above 2 and @ above ').
I've checked /usr/share/keymaps/i386/qwerty/uk.kmap.gz and the mapping is right for me.
In terminal I digited:
Code: [Select]
sudo dpkg-reconfigure keyboard-configurationand chose:
Keyboard model Dell
Keyboard UK
then:
Code: [Select]
sudo service keyboard-setup restartbut above 2 I've always " and so one... also I assume I've a USA layout!
I tryed also with:
Code: [Select]
sudo loadkeys de
sudo loadkeys it
sudo loadkeys uk
but I cannot change the layout.
What's wrong?

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: How to switch permanently to UK keyboard
« Reply #1 on: April 04, 2020, 03:36:33 pm »
Code: [Select]
setxkbmap -query
rules:      evdev
model:      pc105
layout:     us
options:    lv3:ralt_switch,compose:lwin
This is the response, what I'm using, but I digited:
Code: [Select]
sudo dpkg-reconfigure keyboard-configuration
and chose:
Keyboard model Dell
Keyboard UK

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: How to switch permanently to UK keyboard
« Reply #2 on: April 04, 2020, 03:44:42 pm »
My work around is now:
add to /home/USER/.config/openbox/autostart.sh the following line:
Code: [Select]
setxkbmap gb &But is there a more elegant way???