fixes/README.md
2026-10-17 16:53:34 +03:00

137 lines
3.2 KiB
Markdown

# fixes
scripts to help set up KDE, other tweaks.
# TODO: place audio.sh script in local/bin, add fat support for usbs
# 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
```
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 POWERLEVEL10K
After you open Konsole you can go trough the settings to get the desired look.
## 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**.
## Automount windblows drive
Open Kde Partition Manager > select the windblows partition > right click > edit mount point > Path: /mnt/windblows > ok > save changes
After rebooting windblows partition will be automounted.
## Set up a Vault
<video
src="https://git.baltrust.eu.org/Baltrust/fixes/raw/branch/main/vault.webm"
controls
preload="metadata"
playsinline
width="100%">
</video>
## GRUB themes
https://github.com/jacksaur/Gorgeous-GRUB
# POST SETUP
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