william

Keep Calm and Markdown.

Why my tmux was laggy: the status bar was forking a 1.2 GB server 24 times a second

My tmux had started to feel sluggish. Nothing was broken, it just felt heavy. It turned out the tmux server was using about a third of a CPU core all the time, and nearly all of that went on the status bar. Part of the cost came from the clock workaround in my previous post.

This post covers how I tracked it down, including two wrong guesses, and the fix, which brought the server from ~35% CPU to ~4% without restarting it.

Installing Clash Verge Rev on Ubuntu 20.04 / Mint 20 — and upgrading its mihomo core

Clash Verge Rev is a desktop GUI for the mihomo proxy core (formerly Clash Meta). It is the maintained fork of the original Clash Verge, which was abandoned in 2023. If a tutorial tells you to use zzzgydi/clash-verge, skip it.

On a modern Ubuntu, installing it takes one command. On my Mint 20.3 (focal, glibc 2.31), the latest .deb would not install, and the failed attempt left apt in a broken state. Unlike Claude Desktop and ChatGPT Desktop, there is no clean way to patch around it this time. The practical fix is to run the last 1.x GUI with an up-to-date core.

Linux 时区、系统时间与 tmux 状态栏时间不一致的排查

我把 Linux 的时区设成 Asia/Tokyo,又手动设置了系统时间,但 tmux 右侧状态栏仍慢一个小时。例如,系统显示 14:37 JST,tmux 却显示 13:37 CST。问题不在 timedatectl set-time:一个早已启动的 tmux server 仍按旧时区格式化状态栏。

1
2
3
4
sudo timedatectl set-timezone Asia/Tokyo
sudo timedatectl set-ntp false
# aligned to real Asia/Shanghai time
timedatectl set-time "2026-09-26 15:33:00"

Installing ChatGPT Desktop on Mint 20 / Ubuntu 20.04 — when the blocker isn't glibc

OpenAI shipped an official ChatGPT Desktop for Linux in August 2026 (preview), supporting Ubuntu 24.04/26.04, Debian 13, Fedora 43/44 and Arch. Mint 20.3 (focal, glibc 2.31) is nowhere on that list, so I expected a rerun of the Claude Desktop surgery.

It wasn’t. The glibc floor was fine all along — the package is blocked by three library renames and one optional TPM module. The fix is smaller, and the audit is worth showing because the conclusion is the opposite of last time.

youtube dl viewer

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 # 遇到报错,需要登录 youtube 获取 cookies yt-dlp ERROR: [youtube] uqNEthI6Df8: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for
0%