/usr/share/applications/qemu.desktop should have an "Exec=" key.

Bug #1868221 reported by Lockywolf on 2020-03-20
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
QEMU
Undecided
Unassigned

Bug Description

According to the www.freedesktop.org .desktop-file specification, all "Application" desktop files should have an "Exec=" key. The one in qemu doesn't.

This can be easily verified by running kbuildsycoca4 if KDE4 is present, but the issue is not DE-dependent.

Which binary exactly should be assigned as the default one, I don't know.

Daniel Berrange (berrange) wrote :

Adding an exec field would not be right, because QEMU can't simply be launched from the desktop without any arguments. There needs to be a long string of arguments given that are different for every QEMU that is launched. The only viable way to actually launch QEMU is interactively from the terminal, or indirectly via a 3rd party app like virt-manager. We only created the qemu.desktop file in the first place because Wayland needs this to be present in order to identify what Icon to display for a window.

Daniel Berrange (berrange) wrote :

Note that QEMU sets the NoDisplay=true property to tell desktops not to display this entry. I don't think KDE should be warning about missing Exec entry in this case.

Lockywolf (lockywolf) wrote :

I'll report a bug in KDE and let's see if the guys agree. Maybe it is a deficiency of the .desktop specification.

Frédéric Brière (fbriere) wrote :

Thank you Lockywolf for this bug report. Have you filed one against KDE as you previously mentioned? If so, could you provide us with a link? Thanks in advance!

Lockywolf (lockywolf) wrote :

I am sorry I haven't dealt with this bug for quite a while. KDE 5 is not properly working on my distro, and I wanted to test it when it stabilises.

If qemu dislikes long-standing bugs, this bug can be closed, and I'll open a new one when I have time to test it on the new KDE.

What's the actual problem we're trying to solve here? What needs to be tested?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers