qubes-issues icon indicating copy to clipboard operation
qubes-issues copied to clipboard

Application menu lack VM entries in fresh GUI VM

Open marmarek opened this issue 5 years ago • 3 comments

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

marmarek avatar May 09 '20 03:05 marmarek

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

fepitre avatar Dec 17 '21 09:12 fepitre

This issue is being closed because:

If anyone believes that this issue should be reopened, please leave a comment saying so. (For example, if a bug still affects Qubes OS 4.2, then the comment "Affects 4.2" will suffice.)

github-actions[bot] avatar Dec 07 '24 14:12 github-actions[bot]

This was still an issue for me in r4.3-rc3 when installing the sys-gui-gpu. Worse, the app menu for the original user got reset as well. So after I removed sys-gui-gpu I had to regenerate them with

for q in $(qvm-ls --field NAME); do echo $q ; qvm-sync-appmenus --regenerate-only $q; done

Rot127 avatar Nov 30 '25 14:11 Rot127