View previous topic :: View next topic |
Author |
Message |
oneone Tux's lil' helper

Joined: 20 Sep 2017 Posts: 109
|
Posted: Wed Aug 25, 2021 10:59 am Post subject: [solved]urxvt: cannot change colours on the fly after update |
|
|
Hi!
I have been using the rxvt-unicode terminal emulator for quite some time now with the same config and compiled with the following useflags:
Code: | [ebuild R ] x11-terms/rxvt-unicode-9.26-r2::gentoo USE="font-styles gdk-pixbuf mousewheel perl startup-notification unicode3 utmp wtmp xft -24-bit-color -256-color -blink -fading-colors -iso14755" 0 KiB |
To change between dark and light mode I have put the following in my .Xresources:
Code: | urxvt.depth: 32
urxvt.scrollBar: false
urxvt.scrollTtyOutput: false
urxvt.scrollTtyKeypress: true
urxvt.saveLines: 1000
urxvt*scrollWithBuffer: true
urxvt.perl-ext-common: default,tabbedex,background,font-size,matcher
urxvt.loginShell: true
urxvt*dynamicColors: on
urxvt*font: xft:DejaVu Sans Mono:pixelsize=13:style=Regular,xft:Symbola
urxvt*italicFont: xft:Bitstream Vera Sans Mono:pixelsize=13:italic:autohint=true,xft:Symbola
urxvt.keysym.C-Up: font-size:increase
urxvt.keysym.C-Down: font-size:decrease
URxvt.cursorUnderline: false
urxvt.font-size.step: 1
urxvt.url-launcher: firefox
urxvt.matcher.button: 1
urxvt.background: rgba:0000/0000/0000/5555
urxvt.foreground: rgba:FFFF/FFFF/FFFF/FFFF
urxvt.color0: #111111
urxvt.color1: #cc0000
urxvt.color2: #4e9a06
urxvt.color3: #c4a000
urxvt.color4: #3465a4
urxvt.color5: #881F99
urxvt.color6: #06989a
urxvt.color7: #d3d7cf
urxvt.color8: #555753
urxvt.color9: #ef2929
urxvt.color10: #8ae234
urxvt.color11: #fce94f
urxvt.color12: #4D88D0
urxvt.color13: #ad7fa8
urxvt.color14: #34e2e2
urxvt.color15: #eeeeec
urxvt*keysym.Control-Shift-F9: command:\033]10;#1d1f21\007\
\033]11;#fffff0\007\
\033]12;#000000\007\
\033]4;0;#CFCFCF\007\
\033]4;1;#a54242\007\
\033]4;2;#8c9440\007\
\033]4;3;#999999\007\
\033]4;4;#5f819d\007\
\033]4;5;#85678f\007\
\033]4;6;#5e8d87\007\
\033]4;7;#000000\007\
\033]4;8;#373b41\007\
\033]4;9;#cc6666\007\
\033]4;10;#5E9C0E\007\
\033]4;11;#5c5c5c\007\
\033]4;12;#81a2be\007\
\033]4;13;#b294bb\007\
\033]4;14;#8abeb7\007\
\033]4;15;#000000\007
urxvt*keysym.Control-Shift-F10: command:\033]11;#00000f\007\
\033]10;#dcdcdc\007\
\033]12;#dcdcdc\007\
\033]4;0;#3f3f3f\007\
\033]4;1;#B00000\007\
\033]4;2;#60b48a\007\
\033]4;3;#c4a000\007\
\033]4;4;#3A82DA\007\
\033]4;5;#992374\007\
\033]4;6;#8cd0d3\007\
\033]4;7;#dcdcdc\007\
\033]4;8;#709080\007\
\033]4;9;#dca3a3\007\
\033]4;10;#72d5a3\007\
\033]4;11;#f0dfaf\007\
\033]4;12;#4D88D0\007\
\033]4;13;#ec93d3\007\
\033]4;14;#93e0e3\007\
\033]4;15;#ffffff\007
URxvt*keysym.Control-Shift-F11: command:\033]11;rgba:0000/0000/0000/5555\007\
\033]10;#ffffff\007\
\033]12;#ffffff\007\
\033]4;0;#111111\007\
\033]4;1;#cc0000\007\
\033]4;2;#4e9a06\007\
\033]4;3;#c4a000\007\
\033]4;4;#3465a4\007\
\033]4;5;#881F99\007\
\033]4;6;#06989a\007\
\033]4;7;#d3d7cf\007\
\033]4;8;#555753\007\
\033]4;9;#ef2929\007\
\033]4;10;#8ae234\007\
\033]4;11;#fce94f\007\
\033]4;12;#4D88D0\007\
\033]4;13;#ad7fa8\007\
\033]4;14;#34e2e2\007\
\033]4;15;#eeeeec\007
URxvt*keysym.Control-Shift-F12: command:\033]11;rgba:0000/0000/0000/5555\007\
\033]10;#ffffff\007\
\033]12;#ffffff\007\
\033]4;0;#000000\007\
\033]4;1;#cc0000\007\
\033]4;2;#00cc00\007\
\033]4;3;#cccc00\007\
\033]4;4;#0000cc\007\
\033]4;5;#cc00cc\007\
\033]4;6;#00cccc\007\
\033]4;7;#cccccc\007\
\033]4;8;#555555\007\
\033]4;9;#ff0000\007\
\033]4;10;#00ff00\007\
\033]4;11;#ffff00\007\
\033]4;12;#0000ff\007\
\033]4;13;#ff00ff\007\
\033]4;14;#00ffff\007\
\033]4;15;#ffffff\007 |
By pressing Ctrl-Shift-F9 for example I could switch to light mode. This does however not work anymore.
The obvious thing to check would be, whether any of the direct dependencies got updated, so I checked:
Code: |
$ equery g rxvt-unicode
...
* dependency graph for x11-terms/rxvt-unicode-9.26-r2
`-- x11-terms/rxvt-unicode-9.26-r2 amd64
`-- sys-libs/ncurses-6.2-r1 (>=sys-libs/ncurses-5.7-r6) amd64
`-- media-libs/fontconfig-2.13.1-r2 (media-libs/fontconfig) amd64
`-- x11-libs/libX11-1.7.2 (x11-libs/libX11) amd64
`-- x11-libs/libXrender-0.9.10-r2 (x11-libs/libXrender) amd64
`-- x11-libs/libXt-1.2.1 (x11-libs/libXt) amd64
`-- x11-libs/gdk-pixbuf-2.42.6 (x11-libs/gdk-pixbuf) amd64
`-- dev-perl/Mac-Pasteboard-0.3.0 (dev-perl/Mac-Pasteboard) [missing keyword]
`-- dev-lang/perl-5.34.0 (dev-lang/perl) amd64
`-- x11-libs/startup-notification-0.12-r1 (x11-libs/startup-notification) amd64
`-- x11-libs/libXft-2.3.3 (x11-libs/libXft) amd64
`-- x11-base/xorg-proto-2021.4 (x11-base/xorg-proto) amd64
`-- virtual/pkgconfig-2 (virtual/pkgconfig) amd64
`-- sys-devel/gnuconfig-20210107 (sys-devel/gnuconfig) amd64
`-- app-portage/elt-patches-20201205 (>=app-portage/elt-patches-20170815) amd64
`-- sys-devel/automake-1.16.3-r1 (>=sys-devel/automake-1.16.2-r1) amd64
`-- sys-devel/autoconf-2.69-r5 (>=sys-devel/autoconf-2.69) amd64
`-- sys-devel/libtool-2.4.6-r6 (>=sys-devel/libtool-2.4) amd64
[ x11-terms/rxvt-unicode-9.26-r2 stats: packages (18), max depth (1) ]
...
|
But none of these packages was included in the update. (See the relevant extract of my emerge.log: https://pastebin.com/anDHg8HF). Just in case I recompiled rxvt-unicode, but to no avail. The problem persits. In the normal shell prompt, nothing happens at all, when pressing Ctrl-Shift-F9, but in vim I see a ^[[33^ appearing at the bottom right, so the escape sequence does seem to reach the terminal.
Does anybody have a suggestion on how to continue investigating this?
Last edited by oneone on Wed Aug 25, 2021 8:36 pm; edited 1 time in total |
|
Back to top |
|
 |
oneone Tux's lil' helper

Joined: 20 Sep 2017 Posts: 109
|
Posted: Wed Aug 25, 2021 8:35 pm Post subject: |
|
|
After some further investigation, I found out that the issue seems to lie in fact with the keybindings not being picked up properly:
When changing
Code: | urxvt*keysym.Control-Shift-F9 |
to
Code: | urxvt.keysym.C-S-F9 |
the colours are changed properly. Probably some library handling these keybindings got updated, but I do not know which one that would be. At least it is working now  |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|