223 lines
5.2 KiB
Markdown
223 lines
5.2 KiB
Markdown
#linux
|
|
- - -
|
|
Instructions to install a minimal version of fedora and essential apps.
|
|
|
|
### Initial Install
|
|
1. Download the [Fedora everything iso](https://fedoraproject.org/misc/#everything) and flash it to a USB drive
|
|
2. Go through ISO setup
|
|
3. Select "Fedora Custom Operating System"
|
|
1. Common NetworkManager Submodules
|
|
2. Standard
|
|
3. C Development Tools and Libraries
|
|
4. Container Manger
|
|
5. Development Tools
|
|
6. Editors
|
|
7. Sound and Video
|
|
8. Finish install
|
|
|
|
### Installing Apps
|
|
#### Simple dnf Apps
|
|
```bash
|
|
sudo dnf install niri firefox nvim cmake python3-pip gh obs-studio stow cargo cava picard chromaprint-tools flatpak meson flameshot libreoffice vlc picard conda btop gimp gnome-calendar gnome-software-center gnome-keyring-pam seahorse adw-gtk3-theme rofi
|
|
```
|
|
#### yazi
|
|
```bash
|
|
sudo dnf copr enable lihaohong/yazi
|
|
```
|
|
|
|
```bash
|
|
sudo dnf install yazi fuse-sshfs trash-cli sox
|
|
```
|
|
|
|
```bash
|
|
ya pkg add uhs-robert/sshfs
|
|
ya pkg add yazi-rs/plugins:mount
|
|
ya pkg add uhs-robert/recycle-bin
|
|
ya pkg add gesellkammer/audio-preview
|
|
```
|
|
[trash](https://github.com/uhs-robert/recycle-bin.yazi/blob/main/README.md#-installation)
|
|
#### ghostty
|
|
```bash
|
|
sudo dnf copr enable scottames/ghostty
|
|
```
|
|
|
|
```bash
|
|
sudo dnf install ghostty
|
|
```
|
|
#### helium
|
|
```bash
|
|
sudo dnf copr enable imput/helium
|
|
```
|
|
|
|
```bash
|
|
sudo dnf install helium
|
|
```
|
|
|
|
Install the bitwarden extension and log in to https://vault.benjaynes.com
|
|
|
|
Follow [this answer](https://askubuntu.com/questions/31786/chrome-asks-for-password-to-unlock-keyring-on-startup/968149#968149) to remove password prompt when launching
|
|
#### vicinae
|
|
```bash
|
|
sudo dnf copr enable quadratech188/vicinae
|
|
```
|
|
|
|
```bash
|
|
sudo dnf install vicinae
|
|
```
|
|
#### Gnome Software Center
|
|
Apps to install with the gnome software center (flatpak but the software center puts them in the right place with desktop files and updates)
|
|
- parabolic
|
|
- planify
|
|
- slack
|
|
- localsend
|
|
#### nirimod
|
|
```bash
|
|
sudo dnf install python3-gobject
|
|
```
|
|
|
|
Install these packages if python3-gobject isn't enough:
|
|
```bash
|
|
sudo dnf install cairo-devel python3-devel
|
|
pip install pycairo
|
|
```
|
|
|
|
[instructions](https://github.com/srinivasr/nirimod#installation)
|
|
```bash
|
|
curl -sSL https://raw.githubusercontent.com/srinivasr/nirimod/main/install.sh | bash
|
|
```
|
|
#### obsidian
|
|
```bash
|
|
sudo dnf install fuse fuse-libs
|
|
```
|
|
|
|
Use [this guide](https://obsidian.md/help/install#Install+Obsidian+using+AppImage) to install the AppImage version of obsidian.
|
|
#### silent SDDM
|
|
```bash
|
|
cd ~/Repositories
|
|
git clone -b main --depth=1 https://github.com/uiriansan/SilentSDDM && cd SilentSDDM && ./install.sh
|
|
```
|
|
|
|
```bash
|
|
systemctl set-default graphical.target
|
|
```
|
|
#### awww
|
|
```bash
|
|
sudo dnf install wayland-devel libxkbcommon-devel lz4-devel wayland-protocols-devel
|
|
```
|
|
|
|
Follow [these instructions](git clone -b main --depth=1 https://github.com/uiriansan/SilentSDDM && cd SilentSDDM && ./install.sh) to clone and build with cargo
|
|
#### swayosd
|
|
```bash
|
|
sudo dnf copr enable erikreider/swayosd
|
|
sudo dnf install swayosd
|
|
```
|
|
#### rofi extra configs
|
|
[instructions](https://github.com/adi1090x/rofi#installation)
|
|
```bash
|
|
cd ~/Repositories
|
|
|
|
git clone --depth=1 https://github.com/adi1090x/rofi.git
|
|
|
|
cd rofi
|
|
chmod +x setup.sh
|
|
|
|
./setup.sh
|
|
```
|
|
|
|
Might install different fonts and change waybar
|
|
|
|
Add
|
|
```
|
|
elif [[ "$DESKTOP_SESSION" == 'mango' ]]; then
|
|
pkill mango
|
|
```
|
|
and
|
|
```
|
|
elif [[ -x '/usr/bin/swaylock' ]]; then
|
|
swaylock
|
|
```
|
|
to the script for chosen menu to get logout and lock to work with mangowm
|
|
#### mangowm
|
|
[guide](https://mangowm.github.io/docs/installation/#fedora)
|
|
```bash
|
|
sudo dnf install --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' terra-release
|
|
|
|
sudo dnf install mangowm
|
|
```
|
|
#### wgcf
|
|
Go to [https://github.com/ViRb3/wgcf/releases/tag/v2.2.31](https://github.com/ViRb3/wgcf/releases/tag/v2.2.31) and download amd64 for linux.
|
|
|
|
```bash
|
|
sudo dnf install wireguard-tools
|
|
```
|
|
|
|
Move downloaded file to /usr/bin
|
|
```bash
|
|
mv ./<name of downloaded file> /usr/bin/wgcf
|
|
```
|
|
|
|
```bash
|
|
wgcf register
|
|
wgcf generate
|
|
```
|
|
generated config needs to be moved
|
|
### Adding Configs
|
|
```bash
|
|
cd ~
|
|
git clone https://github.com/ben-jaynes/dotfiles.git
|
|
cd dotfiles
|
|
```
|
|
|
|
(remove any config folders in ~/.config/ that may have been autogenerated)
|
|
|
|
```bash
|
|
stow flameshot
|
|
stow ghostty
|
|
stow mango
|
|
stow niri
|
|
stow nvim
|
|
stow swaync
|
|
stow waybar
|
|
stow yazi
|
|
```
|
|
### Dark Mode
|
|
```bash
|
|
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
|
gsettings set org.gnome.desktop.interface gtk-theme adw gtk3-dark
|
|
```
|
|
### Plymouth Fix
|
|
If the plymouth boot loading screen is not showing this fix may help:
|
|
```bash
|
|
sudo nano /etc/plymouth/plymouth.conf
|
|
```
|
|
|
|
Underneath "[Daemon]" add:
|
|
```
|
|
ShowDelay=0
|
|
DeviceTimeout=30
|
|
```
|
|
|
|
```bash
|
|
sudo dracut -gf
|
|
```
|
|
|
|
### PAM Unlock Fix
|
|
Open seahorse without the default keyring unlocked (log in but don't enter password when prompted from git or gnome-calendar) and unlock from the app. Make sure to check "unlock with login" while doing this.
|
|
### Install Fonts
|
|
```bash
|
|
cd ~/Downloads
|
|
|
|
# download font
|
|
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/Hack.zip
|
|
|
|
# create local font directory and unzip the font
|
|
mkdir -p ~/.local/share/fonts
|
|
unzip -d ~/.local/share/fonts Hack.zip
|
|
|
|
# update the font cache
|
|
fc-cache -fv
|
|
|
|
# remove downloaded archive
|
|
rm Hack.zip
|
|
```
|