From df57809ba8579074dbaedc910f591dfca1734a5a Mon Sep 17 00:00:00 2001 From: Shrinivas Vishnu Kumbhar Date: Sat, 21 Aug 2021 11:04:34 +0530 Subject: [PATCH] globally enable user service --- PKGBUILD | 2 +- etc/grub.d/61_custom_leave_options | 10 +++++----- etc/skel/.config/autostart/initial-user-setup.desktop | 2 +- etc/skel/.config/linux-steam-integration.conf | 6 ------ etc/skel/.config/psd/psd.conf | 2 +- garuda-common-settings.install | 2 ++ usr/lib/modprobe.d/nobeep.conf | 2 ++ usr/lib/modprobe.d/noime.conf | 3 +++ 8 files changed, 15 insertions(+), 14 deletions(-) delete mode 100644 etc/skel/.config/linux-steam-integration.conf create mode 100644 usr/lib/modprobe.d/nobeep.conf create mode 100644 usr/lib/modprobe.d/noime.conf diff --git a/PKGBUILD b/PKGBUILD index 24aff51..9271a44 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Librewish pkgname=garuda-common-settings -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 arch=('any') url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" diff --git a/etc/grub.d/61_custom_leave_options b/etc/grub.d/61_custom_leave_options index 0e7e391..c8fff47 100755 --- a/etc/grub.d/61_custom_leave_options +++ b/etc/grub.d/61_custom_leave_options @@ -14,8 +14,8 @@ menuentry "Restart" --class restart { reboot } -if [ ${grub_platform} == "efi" ]; then - menuentry "Firmware Setup (UEFI)" --class recovery { - fwsetup - } -fi +#if [ ${grub_platform} == "efi" ]; then +# menuentry "Firmware Setup (UEFI)" --class recovery { +# fwsetup +# } +#fi diff --git a/etc/skel/.config/autostart/initial-user-setup.desktop b/etc/skel/.config/autostart/initial-user-setup.desktop index 0dadd5d..da4db62 100755 --- a/etc/skel/.config/autostart/initial-user-setup.desktop +++ b/etc/skel/.config/autostart/initial-user-setup.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Categories=System;Monitor; Comment=Does the initial user setup -Exec=systemctl --user enable --now psd;systemctl --user enable --now pulseaudio-bluetooth-autoconnect;systemctl --user enable --now gamemoded;systemctl --user enable --now libinput-gestures;setup_dxvk install;mv ~/.bashrc_garuda ~/.bashrc;rm ~/.config/autostart/initial-user-setup.desktop +Exec=systemctl --user enable --now gamemoded;setup_dxvk install;mv ~/.bashrc_garuda ~/.bashrc;rm ~/.config/autostart/initial-user-setup.desktop Icon=setup Name=Initial user setup StartupNotify=false diff --git a/etc/skel/.config/linux-steam-integration.conf b/etc/skel/.config/linux-steam-integration.conf deleted file mode 100644 index defbed2..0000000 --- a/etc/skel/.config/linux-steam-integration.conf +++ /dev/null @@ -1,6 +0,0 @@ -[Steam] -use-native-runtime = false -force-32bit = false -use-libintercept = true -use-libredirect = true -use-unity-hack = true diff --git a/etc/skel/.config/psd/psd.conf b/etc/skel/.config/psd/psd.conf index bbd01e7..1281f7b 100644 --- a/etc/skel/.config/psd/psd.conf +++ b/etc/skel/.config/psd/psd.conf @@ -52,7 +52,7 @@ # vivaldi # vivaldi-snapshot # -BROWSERS=(firedragon firefox) +BROWSERS=(firedragon firefox chromium) # Uncomment and set to "no" to completely disable the crash recovery feature. # diff --git a/garuda-common-settings.install b/garuda-common-settings.install index 592264b..6524c31 100644 --- a/garuda-common-settings.install +++ b/garuda-common-settings.install @@ -18,6 +18,7 @@ post_install() { systemctl enable nohang-desktop systemctl enable preload systemctl enable prelockd + systemctl --global enable psd } post_upgrade() { @@ -33,6 +34,7 @@ post_upgrade() { systemctl enable nohang-desktop systemctl enable preload systemctl enable prelockd + systemctl --global enable psd msg "Updating font cache..." mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 diff --git a/usr/lib/modprobe.d/nobeep.conf b/usr/lib/modprobe.d/nobeep.conf new file mode 100644 index 0000000..284edb5 --- /dev/null +++ b/usr/lib/modprobe.d/nobeep.conf @@ -0,0 +1,2 @@ +# Prevent annoying beep from the pc speaker. +blacklist pcspkr \ No newline at end of file diff --git a/usr/lib/modprobe.d/noime.conf b/usr/lib/modprobe.d/noime.conf new file mode 100644 index 0000000..ba338c6 --- /dev/null +++ b/usr/lib/modprobe.d/noime.conf @@ -0,0 +1,3 @@ +# Intel VPRO remote access technology driver. +blacklist mei +blacklist mei_me \ No newline at end of file