Skip to content

Instantly share code, notes, and snippets.

@filipkania
Last active October 11, 2021 01:35
Show Gist options
  • Save filipkania/d3a1fea719f679570d3e0186eb9a05a9 to your computer and use it in GitHub Desktop.
Save filipkania/d3a1fea719f679570d3e0186eb9a05a9 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Known issues:
# - graphic bugs while you open pop-de
#
# Please, create recovery usb before installing it.
# You're using it on your own risk.
# BTW. it works on my computer.
#
# Remember to set GNOME DE on login screen and set pop's default themes with gnome-tweaks after installation.
echo "---"
echo "WARNING!"
echo "THIS UPDATE MAY BE UNSTABLE. USE IT ON YOUR OWN RISK!\n"
echo "PREPARE RECOVERY USB BEFORE INSTALLING IT."
echo "IF YOU DON'T WANT TO INSTALL THIS UPDATE, CLICK CTRL+C OR WRITE \"n\" RIGHT NOW!"
echo "BUT IF YOU WANT TO PROCEED JUST WRITE \"y\""
echo "---"
read ans
if [ $ans != "y" ]; then
exit 2
fi;
# adding gnome 40 repo
sudo add-apt-repository ppa:shemgp/gnome-40
# replacing the repo version to the 21.04
sudo sed -i 's/groovy/hirsute/' /etc/apt/sources.list.d/*gnome-40*
sudo sed -i 's/groovy/hirsute/' /etc/apt/sources.list.d/system.sources
# prevent downgrading gnome
sudo rm -f /etc/apt/preferences.d/pop-default-settings
sudo apt update
sudo apt upgrade -y --allow-downgrades
sudo apt install -y libc6 libhandy-1-dev mutter=40.0-0shemgpubuntu6 gnome-shell-common=40.0-0shemgpubuntu3 gnome-shell=40.0-0shemgpubuntu3 gnome-session gnome-tweaks=40.0-0shemgpubuntu2 gnome-shell-extension-prefs=40.0-0shemgpubuntu3 fonts-cantarell
echo "---"
echo "If everything went well, you should see gnome-shell version 40 below.\n"
gnome-shell --version
echo "\nNow you can reboot system, remember to select \"GNOME\" option on your login screen in right down bottom."
echo "Hope everything will work :)"
echo "\nAfter installing use gnome-tweaks to set appearance to pop's defaults."
@LeandrodeLimaC
Copy link

Did you changed it to "May be unstable" because it had an fix update or something?

@filipkania
Copy link
Author

I did change it to "may be unstable", because i won't update it anymore and on newer versions of PopOS it may not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment