fixes/README.md
2026-10-02 09:22:27 +03:00

145 lines
3.2 KiB
Markdown

# fixes
scripts to help set up KDE, other tweaks.
```
amd-ucode
```
```
AUR zenpower5-dkms-git zenergy-dkms-git
```
# WINDBLOWS SLOP
**If you're mounting the Windows partition read/write from Linux, Windows should have Fast Startup/hibernation disabled. A hibernated/dirty NTFS filesystem can prevent Linux from mounting it safely; the kernel ntfs3 driver can refuse a dirty volume.**
Run Command Prompt as Administrator:
```powershell
powercfg /h off
```
This disables hibernation and also disables Fast Startup, since Fast Startup uses the hibernation file.
To verify:
```powershell
powercfg /a
```
You should see hibernation unavailable, and Fast Startup will no longer be available.
To re-enable both later:
```powershell
powercfg /h on
```
# INSTALL
Run these commands after booting into Archlinux ISO:
```sh
curl -O https://git.baltrust.eu.org/Baltrust/fixes/raw/branch/main/user_configuration.json
archinstall --config user_configuration.json
```
![Screenshot](images/archinstall_1.png)
In archinstall:
### **Disk configuration**
**Partitioning** > **Use a best-effort default partition layout** > **Select drive** > Main filesystem: **btrfs** > use BTRFS subvolumes?: **Yes** > Use compression or disable CoW?: **Use compression** > **Btrfs snapshots** > **Snapper**
### **Hostname**
change to whatever you would like.
### **Authentication**:
**Root password** > **set up your root password**
**User account** > **Add a user** > **enter your username and password** > Should "user" be a superuser (sudo)?: **Yes** > **Confirm and exit**
then
**Install** > **Yes**
What would you like to do next? > **chroot into installation for post-installation configurations**
run post-installation script:
```sh
./after.sh
```
it will ask for the username of the account you created. It will also ask for your root password a couple of times during the installation.
When it finishes exit out of chroot:
```sh
exit
```
and reboot:
```sh
reboot now
```
You have completed the installation.
# POST INSTALL
## Set up zsh shell
Open konsole > settings > configure konsole > profiles > new > appearance > font > MesloLGS NF > OK
Cursor > I-beam > blinking > animation > apply > ok
set as default > apply > ok
## Remove the after.sh script
```sh
sudo rm /after.sh
```
## Install vencord for discord
Discord needs to be ran once before running vencord:
```sh
discord
```
after it downloads all the files, you can close it and run vencord installer:
```sh
sh -c "$(curl -sS https://vencord.dev/install.sh)"
```
## Setting up audio DAC
the script lets you change bit depth, sample rate and device name for your DAC.
```sh
curl -O https://git.baltrust.eu.org/Baltrust/fixes/raw/branch/main/audio.sh
chmod +x audio.sh
./audio.sh
```
## Backups
Set up settings for backups in **Btrfs Assistant**.
# grub theme instalation
# add lithuanian and us keyboards in system settings
## Controller support
Install for improved controller support
```sh
sudo pacman -S game-devices-udev
```
# POST SETUP
1. Grub themes > https://github.com/jacksaur/Gorgeous-GRUB
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