I've been googling for hours, and I really can't seem to find an answer to what I'm trying to do here.
So basically what I wanna do is use an English keyboard, but make it so that when I press Capslock + either æ ø or å where they would be on the Norwegian keyboard, I type these letters. It doesn't necessarily have to be the Capslock key, but it would be preferable as I never use it.
So like I said, I've been looking around a lot. I found the composeKey, but I really don't have time to press 2 or 3 different keys to produce the letters, since they're used frequently in Norwegian. I need it to be like pressing shift to make a capital letter. I found some threads that looked promising using xkb, but I couldn't make it work for Ubuntu 15.04.
Any help is deeply appreciated. If there is anything more you need to know, let me know. Thanks in advance!
xmodmap
(sometime you will have to restart it) or better define your own keyboard variant (see my answer, near the end). – Rmano Oct 20 '15 at 19:48vim
. – Rmano Oct 20 '15 at 20:19'
as a dead key.'
anda
gives youá
. To have a plain'
you need to press'
and space. In the layout I suggested,'
is a plain'
, and to have it acts as a dead key you need to press it with AltGr --- which I find much more natural. – Rmano Oct 20 '15 at 20:54'
/"
; the one you're mentioning (which I didn't know about) and AltGr +'
and AltGr + SHIFT +"
; either ways it's a pain, so incidentally I got you anyway. However yes, got double quote instead of apostrophe :) – kos Oct 20 '15 at 21:25