-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Wed, Dec 21, 2016 at 09:13:53PM -0500, Jean-Philippe Ouellet wrote: > On Wed, Dec 21, 2016 at 8:19 PM, Marek Marczykowski-Górecki > <[email protected]> wrote: > > 1. Have apps.templates and apps.tempicons (icon templates) directories > > in every VM (/var/lib/qubes/*/*), not only templates. For templates sync > > them from /usr/share/applications, for non-templates sync them from > > /usr/local/share/applications. > > And ~/.local/share/applications too?
Yes. > > 2. While creating (or listing for Qubes Manager) .desktop files, first > > look into AppVMs own apps.templates, then fallback to the one from VM > > template. Same for apps.tempicons. > > If by "fallback" you actually mean "also include" rather than "only > include if the first does not exist or is empty", then I agree. Yes. With preference of VM-specific files. > > 3. In any case, create .desktop files in apps directory of the VM > > itself. > > > > Unanswered question: how to deal with /usr/local/share/applications in > > the template itself? According to the above algorithm, it will be > > ignored. I don't see any use case for template-only application > > (installed into /usr/local there). But surely somebody will trip over it, > > sooner or later. > > The template's /usr/local is hidden by being mounted over by the > appvm's /rw/usrlocal anyway, so IMO this is not an issue to be > concerned about. But the template's /usr/local lives in its /rw/usrlocal, so in general isn't shared. With the exception it's copied at VM creation time - this will change in Qubes 4.0. > > Am I missing anything else? > > ~/.local/share/applications ? > > I had forgotten about it initially too. > > > BTW Here is the code for Qubes 4.0: > > https://github.com/marmarek/qubes-core-admin-linux/blob/core3-devel/qubesappmenus/__init__.py > > Especially interesting function: appmenus_create. > > I should really build myself a 4.0 installation and start hacking on > that instead... :) - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYW080AAoJENuP0xzK19csATkH/1OuJjlZJC6cH9b4I9ycLNsq pWTv7khzWOMSF8h/In8Zzx0UY63FHkq3ngH0eeIND7AyGt3JO1ATHu1853iHrFZ+ Z2y/5mNQZMYsehp1q4360864oZwhsN7AbPCliwl3BCAzbwDqVCf2xljVXgWidQB1 Rm41WhE3EMa2O+x0Xag4XtTrE6hUScDXVBcpohdJMznbJlFmI9mklWqavCZ0m1+L hFNqNysPUkuWNU5iqYMxHJ0w3L1dA3iNL60tJ8EjLu/ULPo3+Np1G/tFMCxaK3/r wL4swo0oJeNFk8OtWR720xshfwwMmengOdq2Mh6eUQhNvwLeDRJrzh+f1e4tGNw= =wjxx -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20161222035739.GK1409%40mail-itl. For more options, visit https://groups.google.com/d/optout.
