Skip to content

Instantly share code, notes, and snippets.

Created October 11, 2021 09:25
Show Gist options
  • Save Surendrajat/ad607b13ece2a302d30fb5746f0e1ffe to your computer and use it in GitHub Desktop.
Save Surendrajat/ad607b13ece2a302d30fb5746f0e1ffe to your computer and use it in GitHub Desktop.

remove gnome apps

sudo dnf remove gnome-tour gnome-abrt gnome-calculator gnome-calendar gnome-maps gnome-weather \
    rhythmbox gnome-contacts totem gnome-logs gnome-photos gnome-clocks gedit gnome-system-moniter \
    gnome-user-docs gnome-screenshot gnome-remote-desktop

remove fedora chromium policies

sudo dnf remove fedora-chromium-config

add rpm fusion repo and update

sudo dnf install$(rpm -E %fedora).noarch.rpm
sudo dnf install$(rpm -E %fedora).noarch.rpm
sudo dnf install dnf-plugins-core
sudo dnf check-update
sudo dnf upgrade

sway related stuff

sudo dnf install sway waybar swayidle swaybg bemenu wob
# clipboard
sudo dnf install clipman wl-clipboard
# display stuff
sudo dnf install wdisplays wlsunset light #kanshi
# screenshot
sudo dnf install grim slurp swappy
# screen sharing
sudo dnf install xdg-desktop-portal-wlr xdg-desktop-portal
# screen recording
sudo dnf install wf-recorder
# notifications
sudo dnf install dunst dmenu
# shell & terminal
sudo dnf install fish alacritty
# launcher & power menu
sudo dnf install wofi nwg-launchers
# swaylock-effects
sudo dnf copr enable eddsalkield/swaylock-effects
sudo dnf install swaylock-effects


git clone $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git --work-tree=$HOME'
config config --local status.showUntrackedFiles no
config checkout && config reset --hard

modern Unix tools

sudo dnf install bat htop exa git-delta neovim jq procs skim fd-find ripgrep dua-cli aria2

fonts, themes, icons

# fonts (font-awesoeme4, JetBrains Mono NF)
sudo dnf install fontawesome-fonts
unzip -d ~/.local/share/fonts/
fc-cache -f
# icon theme (tela-circle-dark)
git clone /tmp/tela --depth 1 \
    cd /tmp/tela && ./ && cd -
# gnome theme (Nordic)
git clone ~/.local/share/themes/Nordic-darker --depth 1

everything else

polkit agent

sudo dnf install gnome-polkit

pulseaudio related stuff

sudo dnf install pulseaudio-utils pavucontrol
# pamixer
git clone --depth 1 && cd pamixer
sudo dnf install g++ pulseaudio-libs-devel boost-devel
sudo make install

TouchPad Gestures

# keyboard automation tools
sudo dnf install wtype xdotool
# libinput-gestures
git clone --depth 1
cd libinput-gestures
sudo make install
sudo gpasswd -a $USER input

greetd & tuigreet

sudo dnf copr enable alebastr/sway-extras
sudo dnf install greetd-tuigreet

# update /etc/greetd/config.toml like this:

# [terminal]
# vt = 1
# [default_session]
# command = "tuigreet --cmd sway -w 40 -g 'Log in' -r -t --asterisks"
# user = "greetd"

# disable gdm.service and enble greetd.service
sudo systemctl disable gdm.service
sudo systemctl enable --now greetd

# reboot


sudo pip install autotiling


sudo dnf install ulauncher
git clone \
    ~/.config/ulauncher/user-themes/nord --depth 1

Brave browser

sudo dnf config-manager --add-repo
sudo rpm --import
sudo dnf install brave-browser

fisher & fish plugins (tide, done, autopair)

curl -sL | source && fisher install jorgebucaran/fisher
config reset --hard
fisher update

Sublime Text

sudo rpm -v --import
sudo dnf config-manager --add-repo
sudo dnf install sublime-text

Sublime Merge

tar xvf sublime_merge*.tar.xz -C ~/apps/
git clone ~/.config/sublime-merge//Packages/monokai --depth 1

GUI app alternatives

# image viewer
sudo dnf install imv
# file manager
sudo dnf install ranger
git clone \
    ~/.config/ranger/plugins/ranger_devicons --depth 1
mkdir ~/.local/bin && ln -s /usr/bin/ranger ~/.local/bin/f
# docs viewer
sudo dnf install zathura zathura-fish-completion zathura-djvu zathura-pdf-mupdf
# lazygit
sudo dnf copr enable atim/lazygit -y
sudo dnf install lazygit


sh -c "$(curl -sL"

more GUI apps

sudo dnf install megasync nautilus-megasync telegram-desktop

nodejs & yarn

sudo dnf install nodejs
sudo npm i -g yarn


sudo dnf install redhat-lsb-core

# create /etc/yum.repos.d/anydesk.repo with following content
# [anydesk]
# name=AnyDesk Fedora - stable
# baseurl=$basearch/
# gpgcheck=1
# repo_gpgcheck=1
# gpgkey=

sudo dnf --releasever=32  install pangox-compat.x86_64
sudo dnf install anydesk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment