Hide disposable template entries from the app menu, but not the disposable ones

I’m totally lost about this, searching the docs and playing with some features didn’t help…

How do you hide the entries of a disposable template in the app menu but not the “New disposable qube from <DISPOSABLE_TEMPLATE>” when using the text search? Is that even possible?

Example: Let’s say I have a default-dvm disposable template, i want to be able to search “default-dvm Browser” and to get only the “Web Browser / New disposable qube from default-dvm” entry, that will start a disp1234 qube, not the default-dvm one. I know I can search “disp default-dvm Browser” but I would like to be able to forget “disp”.

I tried to add the prohibit-start feature but it also removes the unnamed disposable entries.

I also tried to use the menu-favorites syntax: @disp:<DESKTOP_ENTRY_NAME> with or without .desktop but always without success.

1 Like

I guess you are out of luck …

The qubes.xml only keeps the definition of the “master disp”.
The appmenu code is at https://github.com/QubesOS/qubes-desktop-linux-menu
Looking through the code it only takes the template_for_dispvms flag from the qubes.xml and generates the additional static entries. Didn’t seem something at once that would hint the ability to further filter the resulting list.

Maybe go through the code on your own or open it as an issue/improvement there.