Package: plasma-desktop-data
Version: 4:5.3.2-2
Severity: normal
Tags: patch

Hi,

the file /usr/share/kdisplay/app-defaults/XTerm.ad is new with KDE 5
and causes my ~/.Xresources to be no longer honoured.

After figuring out what is done here, I found that the aforementioned
file uses “instance” level configuration (by application name, with
xterm -name xterm being default), which has a higher xrdb(1) priority
than “class” level configuration (xterm -u8 -class UXTerm, as well as
xterm -class XTerm for the classic one).

I have several xterm classes in my ~/.Xresources (both the default
XTerm and UXTerm as well as several others), but I can now no longer
set foreground and background colour for them.

I just tested in-situ (with xrdb): if you change the file from…

-----BEGIN full original content-----
xterm*background: WINDOW_BACKGROUND
xterm*foreground: WINDOW_FOREGROUND
xterm.SimpleMenu*background: BACKGROUND
xterm.SimpleMenu*foreground: FOREGROUND
-----END full original content-----

… to…

-----BEGIN full new content-----
XTerm*background: WINDOW_BACKGROUND
XTerm*foreground: WINDOW_FOREGROUND
XTerm.SimpleMenu*background: BACKGROUND
XTerm.SimpleMenu*foreground: FOREGROUND
UXTerm*background: WINDOW_BACKGROUND
UXTerm*foreground: WINDOW_FOREGROUND
UXTerm.SimpleMenu*background: BACKGROUND
UXTerm.SimpleMenu*foreground: FOREGROUND
-----END full new content-----

… then your objective (to set the default xterm colours according
to the system theme colours) will still be achieved, but users can
override them locally again.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.1.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

plasma-desktop-data depends on no packages.

Versions of packages plasma-desktop-data recommends:
ii  plasma-framework                    5.12.0-1
ii  plasma-workspace                    4:5.3.2-4
ii  qml-module-org-kde-extensionplugin  5.12.0-2
ii  qml-module-org-kde-kwindowsystem    5.12.0-2
ii  qml-module-qtquick-dialogs          5.4.2-2+b1

plasma-desktop-data suggests no packages.

-- no debconf information

Reply via email to