From 89f84236469d07a61c180d886f3e4a3bdf2a6e83 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 26 Dec 2024 04:50:09 -0700 Subject: [PATCH] Move content to Quality of Life docs --- Quality of Life.md | 29 +++++++++++++++++++++++++++++ README.md | 7 ------- dom0.sh | 13 ------------- 3 files changed, 29 insertions(+), 20 deletions(-) diff --git a/Quality of Life.md b/Quality of Life.md index 48b598b..03898c9 100644 --- a/Quality of Life.md +++ b/Quality of Life.md @@ -1,5 +1,34 @@ ## Quality of Life +### S0ix sleep + +On certain hardware like the Thinkpad T14 Gen 1, you need to enable s0ix sleep support for suspension to work correctly. Use the following command: + +```bash +sudo qvm-features dom0 suspend-s0ix 1 +``` + +### Default appmenu + +The default apps to show on AppVMs' menu when created can be configured with `qvm-features`. + +Example: + +```bash +sudo qvm-features fedora-41 default-menu-items 'org.gnome.Nautilus.desktop org.gnome.Ptyxis.desktop' +sudo qvm-features fedora-41 netvm-menu-items 'org.gnome.Ptyxis.desktop' + +sudo qvm-features debian-12 default-menu-items 'org.gnome.Console.desktop org.gnome.Nautilus.desktop' +sudo qvm-features debian-12 netvm-menu-items 'org.gnome.Console.desktop' +``` + +### Lenovo ePrivacy + +Lenovo ePrivacy can be controlled through `/proc/acpi/ibm/lcdshadow`. I use the following shortcuts: + +- F5: `sudo bash -c 'echo 1 > /proc/acpi/ibm/lcdshadow'` +- F6: `sudo bash -c 'echo 0 > /proc/acpi/ibm/lcdshadow'` + ### Video player In my experience, VLC works best. Changing video output to X11 video output (XCB) reduces CPU usage by 10% on my Thinkpad P53. See [this link](https://forum.qubes-os.org/t/vlc-video-playback-cpu-usage-improvement/23363). diff --git a/README.md b/README.md index a41a91a..940dc3e 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,3 @@ It is recommended that you follow the docs [here](https://www.qubes-os.org/doc/v Qubes AEM currently still requires legacy boot. While the last generation of Intel CPUs with VBIOS to support legacy boot is Coffee Lake officially, I have found that certain Comet Lake Thinkpads still have legacy support. Unfortunately, all of them seems to only support U series CPU. You can check [Lenovo's BIOS simulator](https://download.lenovo.com/bsco/index.html#/) for models with legacy boot support. Alternatively, you should consider Coffee Lake mobile workstation Thinkpads. These have the longest support life cycle outside of the Comet Lake Thinkpads, and they support much more powerful H series CPUs. Perrsonally, I am using a P53 with an i9-9880H. - -### Lenovo ePrivacy - -Lenovo ePrivacy can be controlled through `/proc/acpi/ibm/lcdshadow`. I use the following shortcuts: - -- F5: `sudo bash -c 'echo 1 > /proc/acpi/ibm/lcdshadow'` -- F6: `sudo bash -c 'echo 0 > /proc/acpi/ibm/lcdshadow'` diff --git a/dom0.sh b/dom0.sh index bbd372a..14270cf 100644 --- a/dom0.sh +++ b/dom0.sh @@ -31,19 +31,6 @@ echo "/usr/bin/echo '1'" | sudo tee /etc/qubes-rpc/qubes.VMAuth echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth sudo chmod +x /etc/qubes-rpc/qubes.VMAuth -# Fix s0ix suspension -# Run this depending on your hardware -# sudo qvm-features dom0 suspend-s0ix 1 - -# Set qvm-features -# Run these after you have installed the fedora-40 and debian-12 templates - -# sudo qvm-features fedora-41 default-menu-items 'org.gnome.Nautilus.desktop org.gnome.Ptyxis.desktop' -# sudo qvm-features fedora-41 netvm-menu-items 'org.gnome.Ptyxis.desktop' - -# sudo qvm-features debian-12 default-menu-items 'org.gnome.Console.desktop org.gnome.Nautilus.desktop' -# sudo qvm-features debian-12 netvm-menu-items 'org.gnome.Console.desktop' - # Theming echo 'QT_QPA_PLATFORMTHEME=gtk2' | sudo tee -a /etc/environment