1. Install the required app in the TemplateVM upon which your DispVM depends (fedora-23/24 by default)
2. Shutdown the TemplateVM
3. In Dom0 run qvm-create-default-dvm <templatename>
4. At this point your app can be launched in DispVM, to confirm launch Xterm in DispVM and start your app from there. Now we are going to add an entry for it in the Applications menu
5. Go to /usr/local/share/applications
6. Create a new .desktop file for your app using following (example) syntax:
[Desktop Entry]
Version=1.0
Type=Application
Exec=sh -c 'echo <yourapphere> | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red'
Icon=dispvm-red
Terminal=false
Name=DispVM: <put your desired name here>
GenericName=DispVM: <put your desired generic name here>
StartupNotify=false
Categories=Network;X-Qubes-VM;
7. go to /etc/xdg/menus/applications-merged
8. Edit the qubes-dispvm.menu using any editor
9. Under <Include> add another line containing the name of your .desktop file (so it looks like this):
<Include>
<Filename>qubes-dispvm-firefox.desktop</Filename>
<Filename>qubes-dispvm-xterm.desktop</Filename>
<Filename>yourdesktopfilehere</Filename>
</Include>
10. Your custom menu entry should appear on the Applications list now
Andrew - Frankly, this should be available within the GUI, should I add that to Documentation and/or create a ticket?
--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscribe@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20170311231524.GB25808%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.
If somebody uses multipleDVM templates the easiest solution would be to add multiple entries in the Application Menu.
Personally I believe we should have a GUI for that for the same reason we should have a GUI for qvm-prefs, guid.conf and several other configuration mechanisms: so that Qubes is easier to use for non-technical users. Personally, I don't mind editing this stuff from command line, but I know a lot of people who would be turned off by that.
I planned to add this to the "DispVM Customization" article as I assume this is the first place a user would look.