mirror of
https://github.com/youwen5/site.git
synced 2024-11-28 10:53:50 -08:00
feat: add arch setup blog post
This commit is contained in:
parent
f3387eb5b1
commit
922afc3c27
3 changed files with 40 additions and 0 deletions
0
blog/2024/arch-setup/.blogignore
Normal file
0
blog/2024/arch-setup/.blogignore
Normal file
21
blog/2024/arch-setup/content.md
Normal file
21
blog/2024/arch-setup/content.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
Recently, I made the switch from Windows 11 to Arch Linux. I can confirm
|
||||||
|
that Arch does live up to its meme reputation as an OS that takes hours
|
||||||
|
of configuration to get working.
|
||||||
|
|
||||||
|
I'm making a (non-exhaustive) list of the most important tweaks and setup I had to go through to get everything running smoothly on my system. This is partially intended for anyone who's running into the same issues, and partially for my own reference in case I have to go through this again.
|
||||||
|
|
||||||
|
I'm running KDE Plasma 6 with the Layan rices from XeroLinux. I make heavy use of the XeroLinux utility script to get everything set up with sane defaults easily.
|
||||||
|
|
||||||
|
Here's the general gist of the main setup steps:
|
||||||
|
|
||||||
|
1. Follow the Arch Wiki's installation guide, until you set up GRUB and boot into the tty. Create a user for yourself, and add yourself to the `sudoers` list with `visudo`.
|
||||||
|
2. Install `paru` and install `plasma`. Then, run the XeroLinux script. Install all of the recommended tweaks and KDE Plasma rices/addons, EXCEPT the GPU drivers (we'll do those later).
|
||||||
|
3. Install `sddm` and enable its service with `systemctl`. Then, `sudo reboot`. You should restart into KDE Plasma.
|
||||||
|
4. At the bottom left, make sure you're using X11 and not Wayland. Wayland is completely broken at the time of writing on Nvidia without some configuration. Log in.
|
||||||
|
5. Once loaded in, go to the XeroLinux GPU drivers installation guide. Run these commands
|
||||||
|
<!-- TODO: add gpu driver guide -->
|
||||||
|
6. If you were successful in setting up the GPU drivers, you should now be able to enter Plasma with Wayland. For me, performance is much better and smoother, and I'm able to set up the display configurations that I want without weird `xrander` hacks. However, at this point, Wayland is still super problematic, and even more setup will need to be done.
|
||||||
|
7. Set the environment variable to tell all electron apps to use native Wayland instead of xwayland. This will stop weird behavior in discord, vscode, obsidian. etc.
|
||||||
|
8. Enable the experimental Nvidia kernel flag to preserve the entire video memory on suspend. This will allow you to use suspend properly and not break everything.
|
19
blog/2024/arch-setup/post.toml
Normal file
19
blog/2024/arch-setup/post.toml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#:schema ../../../post.schema.json
|
||||||
|
title = "Test Post"
|
||||||
|
|
||||||
|
[manifest]
|
||||||
|
date = 2024-04-12T20:48:40.799Z
|
||||||
|
authors = ["Youwen Wu"]
|
||||||
|
blurb = "A display of all the blog's rendering capabilities!"
|
||||||
|
description = "A blog post to test all of the rendering capabilities, with remarks on the side."
|
||||||
|
type = "article"
|
||||||
|
highlight = true
|
||||||
|
|
||||||
|
[manifest.tags]
|
||||||
|
primary = ["test", "first post", "formatting"]
|
||||||
|
secondary = ["blog", "placeholder"]
|
||||||
|
|
||||||
|
[cover]
|
||||||
|
src = "https://images.unsplash.com/photo-1712230879699-e8a0a389da63?q=80&w=3132&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
|
||||||
|
alt = "A beautiful landscape"
|
||||||
|
caption = "This is the first post! (image courtesy of unsplash)"
|
Loading…
Reference in a new issue