SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: facciofinta on April 04, 2020, 09:22:54 AM

Title: How to switch permanently to UK keyboard
Post by: facciofinta 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:
sudo dpkg-reconfigure keyboard-configuration
and chose:
Keyboard model Dell
Keyboard UK
then:
sudo service keyboard-setup restart
but above 2 I've always " and so one... also I assume I've a USA layout!
I tryed also with:
sudo loadkeys de
sudo loadkeys it
sudo loadkeys uk

but I cannot change the layout.
What's wrong?
Title: Re: How to switch permanently to UK keyboard
Post by: facciofinta on April 04, 2020, 03:36:33 PM
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:
sudo dpkg-reconfigure keyboard-configuration
and chose:
Keyboard model Dell
Keyboard UK
Title: Re: How to switch permanently to UK keyboard
Post by: facciofinta on April 04, 2020, 03:44:42 PM
My work around is now:
add to /home/USER/.config/openbox/autostart.sh the following line:
setxkbmap gb &
But is there a more elegant way???