Patching Intel GPU Driver for Better Linux Battery Life

Update Sep 25 ‘22: Binary build of patched linux-zen kernel is now available! See here for more info. After previously wiping out Windows 10 on my laptop (an ASUS Flip 13 OLED UX363ea), I felt better. Not because it finally became the Linux master race(tm), but rather that it stopped causing third degree burns every time it booted up.

Read more

Strategically Optimizing Battery Life on Linux

Recently I got a new laptop. It is an ASUS Zenbook flip model with i7-1165G7 (4 core…). I thought about getting an AMD model, but if there is anything good about Intel these days, it is their Linux support for mobile CPU. Right after I got this laptop, I did the thing any person would do: Putting Arch Linux on it.

Read more

3 Ways to Speed up Raspberry Pi's File Transfer

The Raspberry Pi 4 is the fastest of all Pi. It brings new interfaces to the Pi family: The USB 3.0 port, and gigabit ethernet. Now, people won’t have to be constrained by the crappy USB 2.0 interface of the previous Raspberry Pi generations. The Raspberry Pi Compute Module 4 is even better.

Read more

Easily Copy/Delete Hidden Files in a Directory

Those nasty little dot files… When I tried to setup a Gitlab continuous deployment, I encountered a tiny problem: How to remove all files within a Linux directory? Apparently it is quite easy. Just with a simple rm -rf dir/* Wrong! The above command rm -r dir/* only remove all visible files and directories from the directory dir.

Read more

Fix Annoying Cursor Glitches of Zsh Autosuggestions

Installing new Arch Linux machines are always delightful. Customization, lightweight, and maximum performance. However, in my career of installing 5 Arch Linux servers, there is this one server that always seems fishy. When zsh-autosuggestions tries to suggest past commands, the terminal’s cursor always gets messed up and starts to glitch everywhere.

Read more