161 lines
4.1 KiB
Markdown
161 lines
4.1 KiB
Markdown
# fixes
|
|
|
|
scripts to help set up KDE, other tweaks.
|
|
|
|
|
|
# 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 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**.
|
|
|
|
|
|
## Automount windblows drive
|
|
|
|
Open Kde Partition Manager > select the windblows partition > right click > edit mount point > Path: /mnt/windblows > ok > save changes
|
|
<video
|
|
src="https://git.baltrust.eu.org/Baltrust/fixes/raw/branch/main/real.webm"
|
|
controls
|
|
preload="metadata"
|
|
playsinline
|
|
width="800">
|
|
</video>
|
|
After rebooting windblows partition will be automounted.
|
|
|
|
|
|
# grub theme instalation
|
|
https://github.com/jacksaur/Gorgeous-GRUB
|
|
|
|
|
|
# add lithuanian and us keyboards in system settings
|
|
|
|
|
|
|
|
|
|
## Controller support
|
|
|
|
You do not strictly need game-devices-udev because many modern controllers work plug-and-play without custom rules, and many distributions include similar rules in packages like steam-devices.
|
|
|
|
However, installing game-devices-udev is highly recommended if you encounter specific issues, such as:
|
|
|
|
- Your controller is not detected or recognized by Steam Input, Lutris, or other gaming applications.
|
|
|
|
- You need user-grade permissions for specialized hardware (like certain Nintendo Switch controllers, flight sticks, or VR headsets) that default to root-only access.
|
|
|
|
For most standard Xbox or PlayStation controllers on modern Linux distributions, the system's default udev rules are usually sufficient.
|
|
```sh
|
|
yay -S game-devices-udev
|
|
```
|
|
|
|
# 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
|