From ece517d3b45847b8c49fdd102e2779762310d6b1 Mon Sep 17 00:00:00 2001 From: "siim@karf.net" Date: Fri, 8 May 2026 13:18:01 +0200 Subject: [PATCH] Added: Fix for bluetooth headsets w. multiple profiles Now removing fluff like gnome-maps etc. Removed: MS font installation --- README.md | 4 ++-- fedora_post_install.sh | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 8075f12..e433db4 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,6 @@ Just a faster way to speedrun the good parts of [this guide](https://github.com/ ### YOLO Speedrun this Are you a busy professional with no time to waste or just a lazy bugger who trusts everything on the Internet? Can't be bothered to save the script manually, make it executable and run it? Don't worry, I've got you covered. Simply copy and paste the following command into your console: ```shell -curl "https://www.lolnope.dk/post.sh" -s | bash +curl "https://karf.net/Siim/Fedora-post-install-script/raw/branch/main/fedora_post_install.sh" -s | bash ``` -Trust me bro. \ No newline at end of file +Trust me bro. diff --git a/fedora_post_install.sh b/fedora_post_install.sh index 7ff19f1..fbc2c8f 100644 --- a/fedora_post_install.sh +++ b/fedora_post_install.sh @@ -14,12 +14,15 @@ function yes_or_no { while true; do read -p "$* [y/n]: " yn case $yn in - [Yy]*) return 0 ;; + [Yy]*) return 0 ;; [Nn]*) echo "Aborted" ; return 1 ;; esac done } +echo "Removing fluff (maps, tour, etc)" +dnf remove gnome-maps gnome-weather gnome-tour gnome-calendar gnome-contacts simple-scan + echo "adding RPM fusion repos & updating DNF" # Get the free repository (most stuff you need) @@ -103,16 +106,15 @@ dnf install -y ffmpeg-libs libva libva-utils openh264 gstreamer1-plugin-openh264 dnf config-manager --set-enabled fedora-cisco-openh264 &> /dev/null dnf update -y &> /dev/null +###Fix BT headsets +sed -i "$ a AutoConnect=true" /etc/bluetooth/main.conf +sed -i "$ a MultiProfile=multiple" /etc/bluetooth/main.conf + + ###Archive support echo "Installing archive support" dnf install -y p7zip p7zip-plugins unrar &> /dev/null -###MS fonts -echo "Installing MS fonts" -dnf install -y curl cabextract xorg-x11-font-utils fontconfig &> /dev/null -rpm -i --nodigest --nosignature https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm &> /dev/null -fc-cache -fv &> /dev/null - ###AppImage support echo "Adding AppImage support" dnf install -y fuse fuse-libs &> /dev/null @@ -155,10 +157,10 @@ function bitperfect_audio { ###44100, 48000, 88200, 96000, 176400, 192000 ###Please adjust according to the capabilities of your hardware ###or simply delete the file created below if you don't care about resampling - mkdir -p ~/.config/pipewire/pipewire.conf.d - curl https://git.zfx.dk/Siim/Fedora-post-install-script/raw/branch/main/10-bitperfect.conf > ~/.config/pipewire/pipewire.conf.d/10-bitperfect.conf + mkdir -p $HOME/.config/pipewire/pipewire.conf.d + curl https://karf.net/Siim/Fedora-post-install-script/raw/branch/main/10-bitperfect.conf > $HOME/.config/pipewire/pipewire.conf.d/10-bitperfect.conf } yes_or_no "Would you like to add support for high-res audio?" && bitperfect_audio || ###All done -echo "Script completed, please reboot." \ No newline at end of file +echo "Script completed, please reboot."