Migrating to a new laptop and I can’t find a convenient way to restore all my old appMenus.
I’m referring specifically to the selection of app shortcuts I chose on my old machine. So in the Q menu, when you select a VM - the list of apps that pops up for that VM.
(Both machines are running 4.1. Although for some reason the Qubes Global Settings looks markedly different in the fresh install, so it may somehow be newer.)
It looks like everything is mapped in dom0 ~/.local/share/qubes-appmenus
so I did a cp -r
from my old restored dom0 into the new dom0 (from dom0 ~ cp -r /home-restore-yyyy-mm-dd-ttttt/dom0-home/user/.local/share/qubes-appmenus/* .local/share/qubes-appmenus/
). This did not work so I tried logging out and back in, hoping the menu would resync, it did not.
The only thing I found that seems to maybe work is to launch a particular VM with qvm-run
(since none even have the terminal available as a shortcut, grr) and then run qvm-sync-appmenus <VMNAME>
. I say “maybe” because, although this does make the appmenu look right, there are for some reason redundant entries now in .local/share/qubes-appmenus/<VMNAME/apps
, maybe this is nothing to worry about.)
BUT I have 72 VMs (this will be trimmed but will still be a large number). To do this for each VM seems a bit of a pain :-\ Although I suppose I could write a little script.
Is there any other way? Thanks for any tips.