QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
534 stars 47 forks source link

Application menu lack VM entries in fresh GUI VM #5804

Open marmarek opened 4 years ago

marmarek commented 4 years ago

Qubes OS version R4.1

Affected component(s) or functionality desktop-linux-common?

Brief summary After setting up GUI VM and assigning it to some qubes, the application menu inside that GUI VM does not include relevant qubes entries.

To Reproduce Steps to reproduce the behavior: _1. Create sys-gui using salt (qvm.sys-gui state) _2. Make it default guivm (qubes-prefs default_guivm sys-gui), or at least assign to some qubes _3. Start sys-gui _4. Check applications menu there

Expected behavior Menu populated with entries for relevant qubes.

Actual behavior Only base entries present.

Screenshots here: https://openqa.qubes-os.org/tests/7967#step/simple_gui_apps/10

Additional context Populating menu in GUI VM is not necessary trivial. In current shape it requires:

  1. Starting each relevant template to extract installed applications info. This also means the GUI VM needs a permission to do that (not a problem in all-powerful GUI VM, but may be in more restricted setup).
  2. Start each AppVM (connected to this GUI VM) to extract installed applications info from user home.
  3. Obtain list of applications to actually include in the menu (default list for each template? migrate setting from dom0?)

Solutions you've tried Calling qvm-sync-appmenus and qvm-appmenus manually in GUI VM.

Relevant documentation you've consulted A list of links to the Qubes documentation (or other relevant software documentation) pages you have already consulted.

Related, non-duplicate issues

833

fepitre commented 2 years ago

PR that added support for --all flag: https://github.com/QubesOS/qubes-desktop-linux-common/pull/40