Basic keyboard layout:
- 1 →
1 - Shift+1 →
!
I would like: Ctrl+1 → ¹. (Superscript one character). The following code allows me to type ¹, but only with Shift+1:
xmodmap -e "keycode 10 = 1 onesuperior"
Conclusively, I would like to keep Shift+1 for ! and Ctrl+1 for ¹.