Ubuntu 22.04标题栏及弹窗文本显示异常问题求助
Hey there, sorry to hear you're stuck with this annoying text visibility issue on Ubuntu 22.04—nothing's more frustrating than important UI text being unreadable, especially after trying to tweak fonts already! Let's go through some practical fixes that often resolve this kind of problem:
Check system theme settings
First, head over to Settings > Appearance and switch back to the default Yaru theme, regardless of what third-party theme you might be using. If the text shows up normally after this, your previous theme likely has compatibility issues with Ubuntu 22.04. You can either switch to a well-supported theme for 22.04 or adjust the theme's text contrast settings if available.
Also, in the Fonts tab of the Appearance settings, make sure the font scaling factor is set to 1.0 (or a value that suits your screen, but start with default first). Try switching to the system's default Ubuntu Regular font too—some niche fonts don't play nice with window title bar rendering.Clear font cache and restart GNOME Shell
Corrupted font cache can cause weird rendering glitches. Open up a terminal (Ctrl+Alt+T) and run these commands one by one:rm -rf ~/.cache/fontconfig fc-cache -r gnome-shell --replaceThe last command will make your desktop restart briefly—don't panic, that's normal. Once it comes back, check if the text is readable again.
Verify display scaling settings
For high-DPI screens, incorrect scaling can mess up text rendering. Go to Settings > Displays and ensure the scaling percentage is set correctly (try default 100% first if you've adjusted it before). Sometimes even a small scaling mismatch can lead to unreadable text in title bars and popups.Update your system packages
Outdated system packages might have bugs that cause UI rendering issues. Run these commands in terminal to update everything:sudo apt update && sudo apt full-upgradeAfter the update finishes, restart your computer and check if the problem is gone.
Reset GNOME settings to default (last resort)
If none of the above works, you can reset all GNOME-related settings to their initial state. Note that this will erase your custom theme, font, and window configuration, so consider it a last step. Run this command in terminal:dconf reset -f /org/gnome/Reboot your system after running it, and see if the text displays properly.
备注:内容来源于stack exchange,提问作者Prasanth A

