Messing about with Linux I found the perfect keyboard layout for my use case (I alternate between three languages during the day - Norwegian, Portuguese and English). The us altgr-intl layout has all the characters I need to type behind the right Alt key. No more dead keys!