TL:DR : I just want xterm to not do anything special when I start typing ctrl+shift+u so I can write special character, so I must remove the ctrl+u default keybind.

I’m using xterm on a laptop (no discrete gpu and pretty bad integrated graphics, so gpu-accelerated ones like kitty are counterproductive, and I use i3 so an xorg based one sounds better). I also like using vim.

I’m also using a qwerty keyboard, but sometimes write in French and need accents. I’ve memorized the codes for those I often need, like ctrl+maj+u+e+9 for é, but it doesn’t work in xterm because it executes the ctrl+u keybind (delete previous characters and then types “(” (because it’s maj+9).

So, following online guides, I’ve created a .Xresource file with the following code:

XTerm.VT100.translations: #override \n\
   Ctrl <Key>U: none

And I also added the line

exec xrdb ~/.Xresources

But to no avail, even when restarting the x session or manualy running xrdb ~/.Xresources.

What am I doing wrong?

  • loaExMachina@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    0
    ·
    14 days ago

    Thank you, I’ll try. Tho I’d still be interested to by the answer to my original question, since I might want to change other keybinds later…