Skip to content

Instantly share code, notes, and snippets.

@yudi-matsuzake
Last active September 5, 2023 00:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save yudi-matsuzake/b869d0aa8c9536d9b3719b97063d9446 to your computer and use it in GitHub Desktop.
Save yudi-matsuzake/b869d0aa8c9536d9b3719b97063d9446 to your computer and use it in GitHub Desktop.
remove deepin install kde
sudo pacman -Rsun deepin deepin-desktop-base deepin-wm deepin-extra lightdm deepin-manjaro
sudo pacman -S plasma kio-extras kde-applications manjaro-kde-settings sddm-breath-theme manjaro-settings-manager-knotifier manjaro-settings-manager-kcm
sudo systemctl enable sddm.service --force
/usr/bin/cp -rf /etc/skel/. ~
@maxcutlyp
Copy link

maxcutlyp commented Jan 12, 2022

Thanks for this script! To anyone using it, I would recommend the following:

  1. Add set -e to the top. This will make the script exit immediately if one of the pacman commands errors out so you can fix it (you may not have some packages it's trying to remove, or you may already have some packages it's trying to install). Optionally use -xe instead to print the command it's running as it runs it as well.
  2. Check out the files in /etc/skel/ and make backups of their equivalents in ~/ as it will overwrite them. For example, it contains a sample .bashrc and a few others that you might want to keep (or keep for reference when modifying the new ones).

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