From 3f111872a5c0aa51f083f612135d2c6fe8b21c51 Mon Sep 17 00:00:00 2001 From: vseshu <46738984+vseshu@users.noreply.github.com> Date: Sat, 9 May 2020 18:27:02 +0000 Subject: [PATCH 1/2] Update templates.md --- user/managing-os/templates.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/user/managing-os/templates.md b/user/managing-os/templates.md index 61eb5d21..6ea8c7d8 100644 --- a/user/managing-os/templates.md +++ b/user/managing-os/templates.md @@ -137,6 +137,16 @@ When you install a new template or upgrade a clone of a template, it is recommen [user@dom0 ~]$ qvm-features new-template-dvm appmenus-dispvm 1 [user@dom0 ~]$ qubes-prefs default-dispvm new-template-dvm +4. Updating the template for sys-usb if peripheral devices are dependent upon the VM + + If you are running Qubes on a Desktop or other device where the peripheral devices such as keyboard / mouse / trackpad are dependant upon the sys-usb appVM then updating the template is a challenge. In this situation, you can use the following commands in a dom0 terminal window to update the templateVM. + + $ qvm-shutdown --wait sys-usb; \ + $ qvm-prefs sys-usb template fedora-31; \ + $ qvm-start sys-usb + + Be careful to run these commands as shown above because if the sys-usb VM does not start back up you may be locked out of your machine. + ## Advanced The following sections cover advanced topics pertaining to TemplateVMs. From dc5edf1de91ec6390330d31dc98cb3da6080ee07 Mon Sep 17 00:00:00 2001 From: vseshu <46738984+vseshu@users.noreply.github.com> Date: Tue, 12 May 2020 02:59:51 +0000 Subject: [PATCH 2/2] switching template for sys-usb Adjusted the set of commands to be on a single line to minimize potential issues. --- user/managing-os/templates.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/user/managing-os/templates.md b/user/managing-os/templates.md index 6ea8c7d8..a13d95ac 100644 --- a/user/managing-os/templates.md +++ b/user/managing-os/templates.md @@ -139,13 +139,12 @@ When you install a new template or upgrade a clone of a template, it is recommen 4. Updating the template for sys-usb if peripheral devices are dependent upon the VM - If you are running Qubes on a Desktop or other device where the peripheral devices such as keyboard / mouse / trackpad are dependant upon the sys-usb appVM then updating the template is a challenge. In this situation, you can use the following commands in a dom0 terminal window to update the templateVM. + If you are running Qubes on a desktop or other device where the peripheral devices such as keyboard / mouse / trackpad are dependant upon the sys-usb appVM then updating the template is a challenge. In this situation, you can use the following commands in a dom0 terminal window to update the templateVM. - $ qvm-shutdown --wait sys-usb; \ - $ qvm-prefs sys-usb template fedora-31; \ - $ qvm-start sys-usb + $ qvm-shutdown --wait sys-usb; qvm-prefs sys-usb template fedora-31; qvm-start sys-usb - Be careful to run these commands as shown above because if the sys-usb VM does not start back up you may be locked out of your machine. + Be careful to run this set of commands as shown above (3 commands in a single line) because if the sys-usb VM does not start back up you may be locked out of your machine. + ## Advanced