On Fri, 2017-05-12 at 08:39 +0200, Johannes Graumann wrote:
> Is there a way to use the CLI to
>
> 1) access what apps a VM has available
You can find the .desktop files for all available
programs here:
/var/lib/qubes/vm-templates/<templatename>/apps.templates/
> 2) which of them should be shown in the menue?
And when you enable a particular app in an AppVM, the
.desktop file template is copied over to
/var/lib/qubes/appvms/<vmname>/apps/
and all instances of %VMNAME% from the template's
.desktop file get replaced by the AppVM's name.
Sadly, I am not aware of any "proper" Qubes CLI tool
to facilitate the above steps. You can, however,
launch the GUI version of app selector -- it's called
`qubes-vm-settings`, and optionally takes a VM name
and the settings tab name as arguments, eg:
qubes-vm-settings personal applications
HTH
- -- Patrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJZGv3sAAoJEFwecd8DH5rl/asQAIFw77Bwcn2K6Wj09lDEXbaW
IhyZ1+J8Sw7kdeYmdeXfHIYijyrc9wIYdSjhCqiyrNw65uZ6RuW78dp/x26t3uMj
8krSDHX0AA8Bykj2wBZ+SjEGQUPXSZEiIE+MZiydRbzv7elSrpepSprdujur9oWe
/MRqLaNjI8OHvVWfWJ3r0arIecPvqzAtjx+N72WAGMWNTjwWp0AmaHbicoFeNM+N
sTb6Ej464jNfA52fTGnEhrxXzAI1xG0FbQ7JB9YAy6zT07/ELRmHSic4t/S+gGFc
b8YBx87TucJRNoVwUUoTMN3IrVlgOotDMn0ABXEPK0c4urbMHvjCr29ucYmLY4o7
mWKtH7cmMaT6sCeDQlitLn1CC/b7coq0zAKe/bzBL1wKAEwj1C5AfP/jdgqd89D7
//Z1evBctlxoez18gtjhgBqv5sRtnCG6tm1YyiPdi/ZFxyvvnkiv07KyQz/oUYBn
KnJ7R0kYXa2BMTJV3PaNRX6uLTVxqtybCdcZJxTuQHu7XIRVm+Dgir8wtrfXdwt0
Zb4N8xnHAGQg+wfkz4045ooOKsfNU1M5UcO2zfCiMallGzqpB1Bkv4UMv22Kkb8Y
NguSy2rfFnVr0qtRGHIYt07OH/O3eps31eBaLfDM5kcyhlK11h3UGXkzEnwVJBZI
PoLqXt6gqZJEK4naAFnB
=lqg8
-----END PGP SIGNATURE-----