Add section on installing, uninstalling, and reinstalling templates

Also includes other miscellaneous fixes and improvements
This commit is contained in:
Andrew David Wong 2018-06-12 21:50:03 -05:00
parent 3a4234fecc
commit f8b006ae5d
No known key found for this signature in database
GPG key ID: 8CE137352A019A17
3 changed files with 48 additions and 10 deletions

View file

@ -8,22 +8,27 @@ How to Remove VMs Manually
==========================
How to Remove a TemplateVM Manually (R3.2)
-----------------------------------------
------------------------------------------
All commands should be executed in a dom0 terminal.
Try the [normal method] before resorting to this one.
All of the following commands should be executed in a dom0 terminal.
1. Remove the TemplateVM's directory:
$ rm -rf /var/lib/qubes/vm-templates/<template-name>
$ rm -rf /var/lib/qubes/vm-templates/<template-name>
2. Remove the TemplateVM from qubes.xml:
$ qvm-remove --just-db <template-name>
$ qvm-remove --just-db <template-name>
3. Remove the TemplateVM's `*.desktop` files from `~/.local/share/applications`:
$ rm ~/.local/share/applications/<template-name>*
$ rm ~/.local/share/applications/<template-name>*
4. Remove the TemplateVM's Applications Menu entry:
$ sudo rm /etc/xdg/menus/applications-merged/<template-name>*
$ sudo rm /etc/xdg/menus/applications-merged/<template-name>*
[normal method]: /doc/templates/#how-to-install-uninstall-and-reinstall