I am running GNU Emacs on Ubuntu, using a Swedish PC-keyboard. When I use swedish-keyboard
as my input method, shift-key combinations work fine (e.g. S-7
gives the '/' character). But I have found a few things that doesn't work properly:
- Alt Gr-combinations: Alt Gr is interpreted as Meta-key, so when I press e.g. (Alt Gr + 7) I get
M-7
instead of '{'. So I can't type '@','£','$','{','[',']','}','\' or '|' usingswedish-keyboard
. Is there a way to separate Alt and Alt Gr-key such that Alt is Meta-key and Alt Gr can be used for extended character input? - Misplaced characters: Pressing e.g. '<' on the keyboard produces a ';' character (shift+'<' gives ':'). Similarly, '§' gives '~', shift+'§' gives '^', '´' gives '§', shift+'´' gives '½', '¨' gives 'é', shift+'¨' gives 'É'. So there is no way to type '<','>','´','`' or accented characters other than 'é' and 'É'.
Is there a way to solve these issues? The way I solve it now is simply to toggle between swedish and american input whenever I need to type any of the unaccessible characters in the swedish input mode.
P.S. I am a bit of a noob on Emacs, so carefully explained solutions are appreciated.
swedish-postfix
input method instead ofswedish-keyboard
. That converts the sequencesaa
,ae
,oe
ande'
toå
,ä
,ö
andé
, respectively, without affecting the keyboard layout.S-9
, whereas on a Swedish keyboard, it is written asS-8
.