keyboard – custom key combinations for danish characters ubuntu

So the problem is I have a standard QWERTY keyboard, but I want to be able to type specific danish characters with the keyboard combinations below. I have used the Compose key function for some time, and it does not work well for me.

  • left-ctrl + ; = æ
  • left-ctrl + ' = ø
  • left-ctrl + [ = å
  • left-ctrl + shift + ; = Æ
  • left-ctrl + shift + ' = Ø
  • left-ctrl + shift + [ = Å

If this is possible to achieve, how could it be?