From feea47d5df840b04eafe81970e06001b7cc6fedb Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 12 Nov 2024 05:09:44 -0700 Subject: [PATCH] Set default apps for Fedora and Debian --- dom0.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dom0.sh b/dom0.sh index 85da551..199ad31 100644 --- a/dom0.sh +++ b/dom0.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (C) 2023 Thien Tran +# Copyright (C) 2023-2024 Thien Tran # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of @@ -14,7 +14,7 @@ # License for the specific language governing permissions and limitations under # the License. -set -eu +set -eu -o pipefail # Enabling discard and fstrim sudo sed -i 's/issue_discards = 0/issue_discards = 1/' /etc/lvm/lvm.conf @@ -31,6 +31,14 @@ 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 +# Set qvm-features + +sudo qvm-features fedora-40 default-menu-items 'org.gnome.Nautilus.desktop org.gnome.Ptyxis.desktop' +sudo qvm-features fedora-40 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 # After a reboot, run qt5ct and set the theme to gtk-2