[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#932375: UXTerm: reversion of colors won't work



On 2019-07-20 05:52 +0300, Md Ayquassar wrote:

> $ echo $XDG_SESSION_TYPE
> wayland$ echo $DESKTOP_SESSION
> gnome$ cat /etc/X11/default-display-manager
> /usr/sbin/gdm3
>
> After taking a look at the reason why they dropped support for loading
> .Xresources by default (cf. https://bugzilla.redhat.com/show_bug.cgi?id=1225384),
> I decided to test whether that old reason is still valid. It is not:
>
> $ cat ~/.Xresources
> UXTerm*reverseVideo: true$ time xrdb -merge ~/.Xresourcesreal 0m0,018s
> user 0m0,012s
> sys 0m0,006s
>
> This time spent is clearly below what a human would need to type in "xrdb -merge
> ~/.Xresources" manually and way below what a human is able to perceive. But
> complaining on this regression might belong to a different bug, I guess.

Indeed, and I would prefer to close this one, as it is not a problem in
xterm.

> Anyway, having said all that, what's the "official" way to have the uxterm
> default colors *automatically* white-on-black now?

I'm afraid there is no "official" way ATM.  Automatically merging in
your ~/.Xresources in a Gnome wayland session is being discussed
upstream[1].

For now, you have to do it in some startup script.  Or put your
resources into ~/.Xdefaults so that they are read whenever an X client
starts up[2].

Cheers,
       Sven


1. https://gitlab.gnome.org/GNOME/mutter/issues/677
2. https://superuser.com/questions/243914/what-is-the-difference-between-xresources-and-xdefaults


Reply to: