You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 22.04.1 LTS主标题栏及菜单文本缺失问题

Ubuntu 22.04.1 LTS主标题栏及菜单文本缺失问题

Hey there, sorry to hear this annoying old bug is making a comeback on your Ubuntu system—losing menu and title bar text is such a frustrating hassle! Let’s go through some solid fixes that should keep the problem from popping up again even after system updates.

  • 彻底清理全层级字体缓存
    The plain sudo fc-cache -r might not cut it this time, since there are user-specific and GNOME-specific font caches that could be corrupted too. Run these commands one by one to wipe all stale cache data and regenerate it fresh:

    sudo fc-cache -rv
    rm -rf ~/.cache/fontconfig
    rm -rf ~/.cache/gdm/fontconfig
    

    After running these, reboot your system. This ensures both system-level and user-level font caches are fully reset.

  • 锁定易出问题的字体/桌面组件包
    If the bug keeps coming back after updates, it’s likely triggered by a specific package update (often font-related or GNOME shell components). Here’s how to lock those packages to their working versions:

    1. First, check the current version of the suspect package (e.g., fonts-noto-core is a common culprit):
      dpkg -l | grep fonts-noto-core
      
    2. Lock the package to its current working version (replace the version string with what you got from the previous command):
      sudo apt-mark hold fonts-noto-core=20201225-1ubuntu1.1
      
    3. If a future update fixes the bug, you can unlock the package with:
      sudo apt-mark unhold fonts-noto-core
      
  • 切换到更稳定的默认字体
    Sometimes the default system font package has glitches that updates exacerbate. Switching to Ubuntu’s native stable fonts can avoid this:

    1. Open Settings → Appearance → Fonts
    2. Change all font settings (Window Title, Interface, Documents, Monospace) to Ubuntu or Ubuntu Mono
    3. Restart the GNOME shell (press Alt+F2, type r and hit Enter) or reboot your system. This ensures your system sticks to a reliable font set that’s less likely to break with updates.
  • 排查主题/扩展冲突
    Third-party GNOME themes or extensions are often hidden culprits behind UI glitches like missing text. Let’s rule them out:

    1. Open the Extensions app and toggle off all installed extensions
    2. Switch back to the default Yaru theme in Settings → Appearance
    3. Restart the GNOME shell. If the text comes back, turn on extensions one by one to find the problematic one—either update it to the latest version or replace it with a more stable alternative.

If none of these work, you can check system logs for specific font-related errors with journalctl -xe | grep font—this might give you a clue about exactly what’s going wrong.

备注:内容来源于stack exchange,提问作者foo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.23 08:17:59