I have a UK keyboard and this is setup and functioning on Ubuntu 21.04 with all of my apps. When I open emacs inside a terminal using emacs -nw
it also correctly used the gb keyboard layout. However when opening emacs (27.2, built from repo) in a new frame from a call to emacs
or clicking on the shortcut, it switches to a us keyboard layout. I am unable to get it to use a qwerty-gb layout.
I have tried setting in my config/calling interactively:
(setq quail-keyboard-layout 'pc105-uk)
However whatever I choose doesn't appear to have any impact.
I have also tried interactively calling set-input-method british
. This has had some help in the shift+3 is now '£' instead of '#'. However other keys such as my '#' come out as '\'.
Please could I have some help?