What if I want to combine Ctrl+Shift+1+0 to obtain “≠”, for example? I’m saying this combination, like I could say any other (like a+b), it’s just one example.

  • gnuhaut@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Edit: IGNORE I’m probably wrong. Old comment:

    I don’t think you can do that using xmodmap.

    You can only enable preconfigured options (which are defined somewhere under /usr/share/X11/xkb on my computer) using xmodmap.

    You can create your own keyboard configuration using xkbcomp, but it’s a pain in the ass and not super well documented. I did that once but forgot all about it.

    Edit: OK scratch that. I was thinking of setxkbmap, but I’m pretty sure there’s also a bunch of limitations to xmodmap. Sorry.