Note: non-keybind konsole profile changes should be manually duplicated to the profanity profile, which exists to have a color scheme that is more compatible with profanity: it will show historical PM messages in a light color instead of an unreadable black. To see what changes I made in ian.keytab, do a diff with default.keytab.orig. (I also sorted the file). Konsole ignores files not named *.keytab. I changed the name of the in the default keybind profile file to include trisquel11-iank just to avoid any confusion. The \E[4d etc were found without exaplanation in a random stackoverflow comment. It seems to just be an unused and useful pattern, where d could be any letter. I set them with +AppScreen, but they don't necessarily need to be, its just thats the only place I use them, and maybe more useful to have the duplicates working outside of emacs. AppScreen modifier means that the keybind only works within a program like emacs which takes over scroll back, per https://docs.kde.org/trunk5/en/konsole/konsole/key-bindings.html. Historical note about change no longer in ian.keytab: I saved that in case konsole updates the defaults, which happened. Originally saved in 2019, to fix control-backspace not working because it wasn't bound to anything, it just emited backspace. I fixed it by setting it to ^W, because bash binds ^W to unix-word-rubout. But in 2023 I ran profanity which uses readline, and control-backspace didn't work. Poking around, I figured out that konsole defaults had been updated to make control-backspace emit ^H, and sakura worked the same, detected by running running "stty -icanon; cat" per http://www.linusakesson.net/programming/tty/index.php . So, it seems better to set ^H to unix-word-rubout in .inputrc than change the key in konsole.