Package: xdg-utils Version: 1.1.3-4 Severity: normal I was noticing that xdg-mime was very slow on one system; this turned out to be a server where I did not have a desktop environment, so xdg-mime was going through all of its DE checks every time. Commenting out the calls to “xprop” fixed it; perhaps because I was ssh-ing into the system, and hence xprop was querying my local X server over the net?
In any case, xdg-mime shouldn’t run a command that could wait for multiple seconds like this, at least not just to diagnose its environment. -- Package-specific info: Desktop environment: XDG_CURRENT_DESKTOP=GNOME -- System Information: Debian Release: bookworm/sid APT prefers jammy-updates APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-72-generic (SMP w/16 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled xdg-utils depends on no packages. Versions of packages xdg-utils recommends: ii libfile-mimeinfo-perl 0.31-1 ii libnet-dbus-perl 1.2.0-1build3 ii libx11-protocol-perl 0.56-7.1 ii x11-utils 7.7+5build2 ii x11-xserver-utils 7.7+9build1 xdg-utils suggests no packages. -- no debconf information