mirror of
https://github.com/tommytran732/QubesOS-Scripts
synced 2025-01-07 14:41:48 -05:00
Move content to Quality of Life docs
This commit is contained in:
parent
eeb3429eee
commit
89f8423646
@ -1,5 +1,34 @@
|
|||||||
## Quality of Life
|
## 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
|
### 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).
|
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).
|
||||||
|
@ -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.
|
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.
|
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'`
|
|
||||||
|
13
dom0.sh
13
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
|
echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth
|
||||||
sudo chmod +x /etc/qubes-rpc/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
|
# Theming
|
||||||
|
|
||||||
echo 'QT_QPA_PLATFORMTHEME=gtk2' | sudo tee -a /etc/environment
|
echo 'QT_QPA_PLATFORMTHEME=gtk2' | sudo tee -a /etc/environment
|
||||||
|
Loading…
Reference in New Issue
Block a user