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

Ubuntu 16.04 更新重启后图标全部消失,求有效恢复方案

Fix Missing Icons in Ubuntu 16.04 After Update

Hey there, sorry to hear you're stuck with missing icons after updating your Ubuntu 16.04 system—total bummer when that happens! Since the Xubuntu-focused solutions didn't work, let's dive into Unity-specific fixes (Ubuntu 16.04's default desktop) that usually resolve this issue.

Step 1: Reset Unity & Compiz Configurations

Compiz (Unity's window manager) often gets glitchy after updates. Let's wipe its wonky settings:

  • Open a terminal (press Ctrl+Alt+T; if even the terminal icon is gone, use Ctrl+Alt+F1 to switch to a text-only TTY, then log in with your credentials)
  • Run this command to reset all Compiz/Unity configs:
    dconf reset -f /org/compiz/
    
  • Restart Unity to apply changes:
    setsid unity
    
  • Wait 10-15 seconds—if icons don't pop back up, reboot your system:
    sudo reboot
    

Step 2: Reinstall Icon Themes & Unity Core Components

Updates can sometimes corrupt package files. Let's refresh the default icon themes and Unity's core bits:

  • First, update your package list:
    sudo apt update
    
  • Reinstall Ubuntu's default icon themes:
    sudo apt install --reinstall ubuntu-mono ubuntu-icon-theme
    
  • Next, refresh Unity's core packages:
    sudo apt install --reinstall unity unity-tweak-tool
    
  • Reboot again to make sure all changes stick:
    sudo reboot
    

Step 3: Fix User Directory & Desktop Icon Settings

Corrupted user config files might be hiding your icons. Let's reset those:

  • First, back up your current user directory config (just in case):
    cp ~/.config/user-dirs.dirs ~/.config/user-dirs.dirs.bak
    
  • Reset the user directory mappings:
    xdg-user-dirs-update
    
  • Ensure Nautilus (Ubuntu's file manager) is set to show desktop icons:
    gsettings set org.gnome.nautilus.desktop icons-view true
    
  • If your Unity Launcher icons are missing too, reset the launcher favorites list to defaults:
    gsettings reset com.canonical.Unity.Launcher favorites
    
    You can re-add your favorite apps later using Unity Tweak Tool.

Step 4: Switch Desktop Environments (Last Resort)

If nothing else works, switching to a temporary desktop and back to Unity can fix stuck configurations:

  • Install the GNOME desktop environment:
    sudo apt install ubuntu-gnome-desktop
    
  • Reboot your system. At the login screen, click the gear icon in the top-right corner and select GNOME (not GNOME Classic) to log in.
  • Check if icons appear here. If they do, reboot again, switch back to Unity from the login screen's gear menu, and your icons should be restored.

内容的提问来源于stack exchange,提问作者Milton

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.19 09:05:31