Package: mailcap Version: 3.74 Severity: normal When generating mailcap entries from the files in /usr/share/applications, for every application where Terminal is set to false (or doesn't exist), the update-mime script adds a test=test -n "$DISPLAY" field to the mailcap file
This works fine on X11 systems and Wayland with Xwaylad installed, but fails on Wayland systems without Xwayland. I have uninstalled the xwayland package, but some (most?) Wayland compositors also allow to disable xwayland. An alternative test could be something like this: test -n "$DISPLAY" -o -n "$WAYLAND_DISPLAY" Regards, Vincent Arkesteijn. -- System Information: Debian Release: 13.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.41+deb13-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mailcap depends on: ii media-types 13.0.0 ii perl 5.40.1-6 Versions of packages mailcap recommends: ii bzip2 1.0.8-6 ii file 1:5.46-5 ii xz-utils 5.8.1-1 mailcap suggests no packages. -- no debconf information

