Skip to main content
3 of 10
added 1 character in body

Change emacs keyboard layout

I use a uk keyboard, and my OS is setup and all my apps automatically use that layout too. However emacs (27.2, built from repo) for some reason uses a us style layout. How can I change it to use the qwerty uk 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? If it isn't obvious, I'm a newbie to emacs, so answers that don't assume much knowledge would be appreciated thanks!