17

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?

you are viewing a single comment's thread
view the rest of the comments
this post was submitted on 22 Oct 2024
17 points (94.7% liked)

Linux

48653 readers
1110 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS