Fedora 34 on Zephyrus G14
Published: 2021-06-26 05:35:05

Fedora 34 works pretty good on Zephyrus G14. Here are the post installation OS setup I had to do for better experience.

```  
sudo dnf update
  reboot
  sudo dnf update
  sudo nano /etc/dnf/dnf.conf 
  sudo dnf install gnome-tweak-tool
  sudo dnf install tlp tlp-rdw
  sudo tlp-stat -b 
  sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
  sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm   21 
  sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
  sudo dnf groupupdate sound-and-video
 
  sh -c "$(curl -sL https://nextdns.io/install)"
  nextdns activate
  sudo nextdns activate
  flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  sudo nextdns deactivate
  sudo nextdns activate
  sudo dnf install gnome-shell-extension-dash-to-dock
  flatpak install flathub org.gnome.Extensions
  sudo nextdns deactivate
  flatpak install flathub org.gnome.Extensions
  flatpak remove  flathub org.gnome.Extensions
  flatpak install flathub org.gnome.Extensions
  flatpak remove  flathub org.gnome.Extensions
  flatpak install flathub org.gnome.Extensions
  reboot
  sudo nextdns activate
  flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
  flatpak install flathub org.gtk.Gtk3theme.Materia{,-dark,-light}{,-compact}
  mkdir ~/Shades-of-gray-git
  cd ~/Shades-of-gray-git/
  git clone https://github.com/WernerFP/Shades-of-gray-theme.git
  cd Shades-of-gray-theme/
  rm -rf README.md LICENSE .git
  sudo cp -r * /usr/share/themes/
  sudo nextdns deactivate
  nextdns
  sudo nextdns stop
  sudo nextdns deactivate
  sync
  reboot
  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
  exit
  nvm install
  nvm ls-remote 
  nvm install v16.4.0
  sudo dnf install podman
  alias docker="podman"
  sudo nano ~/.bashrc
  sudo dnf install stacer
  sudo dnf install deluge
  sudo dnf install nano
  sudo dnf install gnome-screenshot
  sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
  sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
  sudo dnf check-update
  sudo dnf install code
  sudo dnf install peek
  sudo dnf install shutter
  sudo dnf install timeshift
  sudo dnf install mailspring
  sudo dnf install zsh
  sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  ls
  cd .oh-my-zsh/custom}/themes/powerlevel10k
  cd ~
  ls
  zsh
  whoami
  echo $SHELL
    sudo usermod -s $(which zsh) vinod
    chsh -s $(which zsh)
    echo $SHELL
    source ~/.zshrc
    zsh
    ls
    exit
    history > history_for_print.txt
sudo nano ~/.zshrc
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k\

sudo nano ~/.zshrc
exit
source ~/.zshrc\
chsh -s $(which zsh)\
sudo usermod -s $(which zsh) vinod
echo $SHELL
sudo rpm -i microsoft-edge-*.rpm 
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge
sudo mv /etc/yum.repos.d/packages.microsoft.com_yumrepos_edge.repo /etc/yum.repos.d/microsoft-edge-dev.repo
sudo dnf install microsoft-edge-dev
sudo dnf copr enable dawid/better_fonts -y\
sudo dnf install fontconfig-font-replacements -y\
sudo dnf install fontconfig-enhanced-defaults -y\
sync
reboot
```