Skip to content

Commit

Permalink
Set default apps for Fedora and Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 authored Nov 12, 2024
1 parent cae5643 commit feea47d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions dom0.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit feea47d

Please sign in to comment.