rxvt-unicode and ISO 14755 mode
Now that my (and pretty much every other) machine uses UTF-8 by default, I was pretty much forced to ditch rxvt in favour of rxvt-unicode. Unfortunately the rxvt-unicode authors think attaching some keycap picture insert mode to the Ctrl-Shift key combination (which is easy to hit by accident) would be HANDY. Even handier, it can only be disabled at compile time.
Thanks for nothing guys, I really hope there's at least one person on this planet who agrees that this is handy ... I'm afraid most people who accidentally hit Ctrl-Shift every few minutes don't agree.
So, behold:
For all you Debian+rxvt-unicode users out there waiting for this bug to be fixed... :-)
[edit]Added dch command to make sure apt-get doesn't reinstall the original package every time.[/edit]
Thanks for nothing guys, I really hope there's at least one person on this planet who agrees that this is handy ... I'm afraid most people who accidentally hit Ctrl-Shift every few minutes don't agree.
So, behold:
CODE:
wilmer@ruby:~/bin$ cat fix-rxvt.sh
#!/bin/sh -ex
cd `mktemp -d /tmp/rxvt.XXXXXX`
apt-get source rxvt-unicode
sudo apt-get build-dep rxvt-unicode
cd rxvt-unicode-*/
perl -pi -e 's/--enable-iso14755/--disable-iso14755/g' debian/rules
dch -n 'ISO 14755/Keycap mode SUCKS!!!'
fakeroot debian/rules binary
sudo dpkg -i ../rxvt-unicode-lite*deb
#!/bin/sh -ex
cd `mktemp -d /tmp/rxvt.XXXXXX`
apt-get source rxvt-unicode
sudo apt-get build-dep rxvt-unicode
cd rxvt-unicode-*/
perl -pi -e 's/--enable-iso14755/--disable-iso14755/g' debian/rules
dch -n 'ISO 14755/Keycap mode SUCKS!!!'
fakeroot debian/rules binary
sudo dpkg -i ../rxvt-unicode-lite*deb
For all you Debian+rxvt-unicode users out there waiting for this bug to be fixed... :-)
[edit]Added dch command to make sure apt-get doesn't reinstall the original package every time.[/edit]
Comments
Display comments as Linear | Threaded
Albert on :
Henrik Holst on :
Remark: I noticed that your script requires 'dch' which is available in the package 'devscripts'. Usually not installed by default (at least in Ubuntu).
Thx again. :-)
Wilmer on :
auntieNeo on :
Wilmer on :
Just talk to the Arch package maintainer. Anything better than switching to Gentoy. :-P
hikikomori82 on :
Wilmer on :
Daniel on :
URxvt.iso14755: False
Search for "iso14755" in the man page.
It doesn't enable Ctrl+Shift keycodes to be passed through to applications though, but that seems to be the general case for most terminals.
Stephan Sokolow on :
URxvt.iso14755_52: false
That leaves Ctrl free and Ctrl+Shift, at least on my version of urxvt, only steals your keystrokes if they're digits. (It's analogous to how, in Microsoft OSes, you can use ALT+NumPad to enter raw character codes)
Torstein Krause Johansen on :
Now, with:
URxvt.iso14755: false
URxvt.iso14755_52: false
I get the exact behaviour I want. Hurrah!
-Torstein