gtk-abspath-launch fails to start some .desktop files

For instance

/usr/local/bin/gtk-abspath-launch /usr/share/applications/org.gnome.TextEditor.desktop

doesn't start the text editor, and there is nothing odd in the journal:

Feb 06 09:29:57 amnesia dbus-daemon[6923]: [session uid=1000 pid=6923] Activating service name='org.gnome.TextEditor' requested by ':1.152' (uid=1000 pid=11231 comm="/usr/bin/python3 -I /usr/local/bin/gtk-abspath-lau")
Feb 06 09:29:57 amnesia dbus-daemon[6923]: [session uid=1000 pid=6923] Successfully activated service 'org.gnome.TextEditor'

If I run the command again then it starts.

Other affected .desktop files:

  • /usr/share/applications/org.gnome.DiskUtility.desktop
  • /usr/share/applications/fr.romainvigier.MetadataCleaner.desktop
  • /usr/share/applications/org.gnome.Nautilus.desktop
  • /usr/share/applications/org.boum.tails.AdditionalSoftware.desktop

They start just fine on first try through gtk-launch.

Edited by anonym