298 lines
9.2 KiB
Markdown
298 lines
9.2 KiB
Markdown
# fixes
|
|
|
|
scripts to help set up KDE, other tweaks.
|
|
|
|
archinstall scripts should be in this repo for downloading
|
|
|
|
|
|
# install yay
|
|
```
|
|
sudo pacman -S --needed git base-devel
|
|
git clone https://aur.archlinux.org/yay.git
|
|
cd yay
|
|
makepkg -si
|
|
```
|
|
|
|
|
|
# Set Up Zsh with Powerlevel10k
|
|
|
|
## 1. Install Everything
|
|
|
|
Install Zsh, Powerlevel10k, plugins, and the Meslo Nerd Font:
|
|
|
|
```bash
|
|
yay -S zsh zsh-theme-powerlevel10k zsh-autosuggestions zsh-syntax-highlighting ttf-meslo-nerd
|
|
```
|
|
|
|
---
|
|
|
|
## 2. Change Your Default Shell to Zsh
|
|
|
|
```bash
|
|
chsh -s /bin/zsh
|
|
```
|
|
|
|
> **Important:** Log out of your account and log back in for the change to take effect.
|
|
|
|
---
|
|
|
|
## 3. Configure Konsole Font
|
|
|
|
In **Konsole**:
|
|
|
|
1. Open **Settings > configure konsole > profiles > new > change command to /usr/bin/zsh**
|
|
2. Go to **Appearance**
|
|
3. Change the terminal font: **Choose:**
|
|
4. Select the installed **MesloLGS Nerd Font**
|
|
5. Apply the changes
|
|
|
|
The Nerd Font is required for Powerlevel10k's icons and symbols to display correctly.
|
|
|
|
---
|
|
|
|
## 4. Configure `~/.zshrc`
|
|
|
|
Open your Zsh configuration:
|
|
|
|
```bash
|
|
nano ~/.zshrc
|
|
```
|
|
|
|
Paste the following:
|
|
|
|
```zsh
|
|
# ─────────────────────────────────────
|
|
# Powerlevel10k
|
|
# ─────────────────────────────────────
|
|
|
|
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
|
|
|
|
|
# ─────────────────────────────────────
|
|
# Plugins
|
|
# ─────────────────────────────────────
|
|
|
|
# Autosuggestions
|
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
# Syntax highlighting
|
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
|
|
# ─────────────────────────────────────
|
|
# Powerlevel10k configuration
|
|
# ─────────────────────────────────────
|
|
|
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
|
|
|
|
|
# ─────────────────────────────────────
|
|
# Completion
|
|
# ─────────────────────────────────────
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
|
|
setopt CORRECT
|
|
setopt AUTO_CD
|
|
|
|
zstyle ':completion:*' completer _complete _approximate
|
|
zstyle ':completion:*' menu select
|
|
|
|
|
|
# ─────────────────────────────────────
|
|
# History
|
|
# ─────────────────────────────────────
|
|
|
|
HISTFILE="$HOME/.zsh_history"
|
|
SAVEHIST=10000
|
|
|
|
setopt APPEND_HISTORY
|
|
setopt SHARE_HISTORY
|
|
setopt HIST_IGNORE_DUPS
|
|
setopt HIST_IGNORE_SPACE
|
|
```
|
|
|
|
---
|
|
|
|
## 4. Configure Powerlevel10k
|
|
|
|
Start Zsh:
|
|
|
|
```bash
|
|
zsh
|
|
```
|
|
|
|
This launches the Powerlevel10k configuration wizard.
|
|
|
|
You can re-run it at any time with:
|
|
|
|
```bash
|
|
p10k configure
|
|
```
|
|
|
|
Your configuration will be saved to:
|
|
|
|
```text
|
|
~/.p10k.zsh
|
|
```
|
|
|
|
---
|
|
|
|
### Useful Commands
|
|
|
|
Reconfigure Powerlevel10k:
|
|
|
|
```bash
|
|
p10k configure
|
|
```
|
|
|
|
Reload your Zsh configuration without restarting the shell:
|
|
|
|
```bash
|
|
source ~/.zshrc
|
|
```
|
|
|
|
Start Zsh manually:
|
|
|
|
```bash
|
|
zsh
|
|
```
|
|
|
|
# SOFTWARE
|
|
|
|
## gaming:
|
|
```
|
|
yay -S coolercontrol lact occt mangohud mangojuice goverlay lutris heroic-games-launcher steam polymc openrgb amdgpu_top umu-launcher wine
|
|
```
|
|
## razer NEEDS FIXING:
|
|
```
|
|
yay -S openrazer-daemon polychromatic
|
|
```
|
|
## utilities:
|
|
```
|
|
yay -S ark fastfetch gparted gwenview kcalc spectacle plasma-systemmonitor dolphin
|
|
```
|
|
```
|
|
Optional dependencies for dolphin
|
|
dolphin-plugins: extra plugins
|
|
ffmpegthumbs: video thumbnails
|
|
filelight: detailed disk usage statistics
|
|
kde-cli-tools: for editing file type options [installed]
|
|
kdegraphics-thumbnailers: PDF and PS thumbnails
|
|
kdenetwork-filesharing: samba usershare properties menu
|
|
kdf: view disk usage
|
|
kio-admin: for managing files as administrator
|
|
kompare: comparing files menu action
|
|
konsole: terminal panel [installed]
|
|
purpose: share context menu [installed]
|
|
|
|
```
|
|
```
|
|
plasma-systemmonitor-6.7.5-1, dolphin-26.08.1-1, ark-26.08.1-1, fastfetch-2.69.0-1, gparted-1.8.1-2, gwenview-26.08.1-1, kcalc-26.08.1-1, spectacle-1:6.7.5-1
|
|
resolving dependencies...
|
|
:: There are 128 providers available for tessdata:
|
|
:: Repository extra
|
|
1) tesseract-data-afr 2) tesseract-data-amh 3) tesseract-data-ara 4) tesseract-data-asm 5) tesseract-data-aze
|
|
6) tesseract-data-aze_cyrl 7) tesseract-data-bel 8) tesseract-data-ben 9) tesseract-data-bod
|
|
10) tesseract-data-bos 11) tesseract-data-bre 12) tesseract-data-bul 13) tesseract-data-cat 14) tesseract-data-ceb
|
|
15) tesseract-data-ces 16) tesseract-data-chi_sim 17) tesseract-data-chi_sim_vert 18) tesseract-data-chi_tra
|
|
19) tesseract-data-chi_tra_vert 20) tesseract-data-chr 21) tesseract-data-cos 22) tesseract-data-cym
|
|
23) tesseract-data-dan 24) tesseract-data-dan_frak 25) tesseract-data-deu 26) tesseract-data-deu_frak
|
|
27) tesseract-data-div 28) tesseract-data-dzo 29) tesseract-data-ell 30) tesseract-data-eng 31) tesseract-data-enm
|
|
32) tesseract-data-epo 33) tesseract-data-equ 34) tesseract-data-est 35) tesseract-data-eus 36) tesseract-data-fao
|
|
37) tesseract-data-fas 38) tesseract-data-fil 39) tesseract-data-fin 40) tesseract-data-fra 41) tesseract-data-frk
|
|
42) tesseract-data-frm 43) tesseract-data-fry 44) tesseract-data-gla 45) tesseract-data-gle 46) tesseract-data-glg
|
|
47) tesseract-data-grc 48) tesseract-data-guj 49) tesseract-data-hat 50) tesseract-data-heb 51) tesseract-data-hin
|
|
52) tesseract-data-hrv 53) tesseract-data-hun 54) tesseract-data-hye 55) tesseract-data-iku 56) tesseract-data-ind
|
|
57) tesseract-data-isl 58) tesseract-data-ita 59) tesseract-data-ita_old 60) tesseract-data-jav
|
|
61) tesseract-data-jpn 62) tesseract-data-jpn_vert 63) tesseract-data-kan 64) tesseract-data-kat
|
|
65) tesseract-data-kat_old 66) tesseract-data-kaz 67) tesseract-data-khm 68) tesseract-data-kir
|
|
69) tesseract-data-kmr 70) tesseract-data-kor 71) tesseract-data-kor_vert 72) tesseract-data-lao
|
|
73) tesseract-data-lat 74) tesseract-data-lav 75) tesseract-data-lit 76) tesseract-data-ltz 77) tesseract-data-mal
|
|
78) tesseract-data-mar 79) tesseract-data-mkd 80) tesseract-data-mlt 81) tesseract-data-mon 82) tesseract-data-mri
|
|
83) tesseract-data-msa 84) tesseract-data-mya 85) tesseract-data-nep 86) tesseract-data-nld 87) tesseract-data-nor
|
|
88) tesseract-data-oci 89) tesseract-data-ori 90) tesseract-data-pan 91) tesseract-data-pol 92) tesseract-data-por
|
|
93) tesseract-data-pus 94) tesseract-data-que 95) tesseract-data-ron 96) tesseract-data-rus 97) tesseract-data-san
|
|
98) tesseract-data-sin 99) tesseract-data-slk 100) tesseract-data-slk_frak 101) tesseract-data-slv
|
|
102) tesseract-data-snd 103) tesseract-data-spa 104) tesseract-data-spa_old 105) tesseract-data-sqi
|
|
106) tesseract-data-srp 107) tesseract-data-srp_latn 108) tesseract-data-sun 109) tesseract-data-swa
|
|
110) tesseract-data-swe 111) tesseract-data-syr 112) tesseract-data-tam 113) tesseract-data-tat
|
|
114) tesseract-data-tel 115) tesseract-data-tgk 116) tesseract-data-tgl 117) tesseract-data-tha
|
|
118) tesseract-data-tir 119) tesseract-data-ton 120) tesseract-data-tur 121) tesseract-data-uig
|
|
122) tesseract-data-ukr 123) tesseract-data-urd 124) tesseract-data-uzb 125) tesseract-data-uzb_cyrl
|
|
126) tesseract-data-vie 127) tesseract-data-yid 128) tesseract-data-yor
|
|
|
|
|
|
```
|
|
## audio/video:
|
|
```
|
|
yay -S mpv nicotine+ open-video-downloader-bin audacity
|
|
```
|
|
# before installing browser:
|
|
```
|
|
echo -e "[Wallet]\nEnabled=false" > ~/.config/kwalletrc
|
|
```
|
|
# browser:
|
|
```
|
|
yay -S brave-bin
|
|
```
|
|
## other:
|
|
```
|
|
yay -S qbittorrent kdeconnect kate btrfs-assistant discord onlyoffice-bin libreoffice-fresh filelight
|
|
```
|
|
|
|
discord needs vencord
|
|
```
|
|
sh -c "$(curl -sS https://vencord.dev/install.sh)"
|
|
```
|
|
|
|
# disable kwalletd
|
|
```
|
|
echo -e "[Wallet]\nEnabled=false" > ~/.config/kwalletrc
|
|
```
|
|
|
|
|
|
# set up backups with snapper/timeshift
|
|
```
|
|
yay -S snapper btrfs-assistant snap-pac grub-btrfs inotify-tools
|
|
sudo systemctl enable --now grub-btrfsd
|
|
sudo snapper -c root create-config / # generate a root conf file
|
|
sudo grub-mkconfig -o /boot/grub/grub.cfg # load the options in grub menu
|
|
```
|
|
working but ther is also a home config, set up settigns manually
|
|
|
|
|
|
# set up automount of isos in dolphin
|
|
```
|
|
yay -S dolphin-plugins
|
|
```
|
|
|
|
# Setting up audio DAC
|
|
```
|
|
chmod +x audio.sh
|
|
./audio.sh
|
|
```
|
|
|
|
|
|
# add in dolphin corner to see free space available
|
|
|
|
configure > interface > status & location bars > full width
|
|
|
|
```
|
|
yay -S filelight
|
|
kwriteconfig6 --file ~/.config/dolphinrc --group General --key ShowStatusBar FullWidth
|
|
```
|
|
|
|
brave enable ublock origin
|
|
|
|
TLDR ALL GUI PACKAGE MANAGERS SUCK DICK, ONLY ONE USABLE IS PAMAC-AUR and even this shit isnt good
|
|
|
|
# POST SETUP
|
|
|
|
1. change the look of grub with a theme
|
|
2. ventoy usb
|
|
3. teach wine basics, prefix, wine version, winetricks, flags
|
|
4. stuff like flags, goverlay, fps limiter, undervolt
|
|
5. explain swap, compression, zstd
|
|
6. adding apps to aplication search
|