Hello Mailing List,
I recently found qubes and already am a big fan! I tried one or two
things with the salt modules and came to a point where most of the
initial installation is automatable except for actually adding an
Application from Available to Selected. I mean this step using the UI:
- Open the Qubes Manager UI
- Select any AppVM
- Go to Applications
- Select any Application
- Move it from Availale to Selected with the ">" Button
The code seems to be here:
https://github.com/QubesOS/qubes-manager/blob/98cada9f07ec870b02e5f72cc3ae2e105c45a715/qubesmanager/appmenu_select.py#L67
I'd like to propose the idea of building a cli tool, sth like
qvm-shortcut, similar to qvm-service, for this usecase. One could
execute it like:
$ qvm-shortcut web-bank ls
Available:
Chromium
something_else
Selected:
xterm
qvm-shortcut web-bank select Chromium someting_else
qvm-shortcut web-bank unselect xterm
What do you guys think? Is there a better way to do this I did not find?
Otherwise if you have any hints / guidelines for implementation let me
know, I've been looking at qubes for a few days now so everything is
still quite new :)
With kind regards,
Peter Thurner