Bug#952548: libfile-desktopentry-perl: fails to run xterm alternative when gnome is installed

Patrick Zanon neant at libero.it
Tue Feb 25 16:29:56 GMT 2020


Package: libfile-desktopentry-perl
Version: 0.22-1
Severity: important

Dear Maintainer,

I prepared a script for opening P7M files which has been registered in a
.desktop file; this script runs in a terminal but when I call it with
the following command:

mimeopen some-file-name.P7M

the following error is shown:

Can't exec "xterm": File or directory does not exist at /usr/share/perl5/File/DesktopEntry.pm line 247.

The command fails because the xterm package is not installed, and 
the package should rather call "x-terminal-emulator" which has a
registered alternative in the gnome case; a direct call to xterm
requires a dependency to the xterm package which is not actually active.

Subsuming there are 2 solutions:

 1. calling "x-terminal-emulator" with one of its alternatives OR

 2. adding a dependency to the xterm pachage

Thanks in advance,
Pkzm


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libfile-desktopentry-perl depends on:
ii  libfile-basedir-perl  0.08-1
ii  liburi-perl           1.76-2
ii  perl                  5.30.0-9

libfile-desktopentry-perl recommends no packages.

libfile-desktopentry-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list