最近的更新导致 Unity 3D 启动器无法使用

最近的更新导致 Unity 3D 启动器无法使用

我对此很困惑,很多事情对我来说还是很新的。

我刚刚通过更新管理器更新了 126 个软件包,重启后除了 Unity Launcher 之外一切都正常。它只是一个黑暗的空间。仪表板仍然有效,顶部面板和 docky 也有效。

当我尝试时:

unity --replace

我最终得到了这个,然后无限期地挂起:

(compiz:3689): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
WARN  2012-09-23 02:18:29 unity.favorites FavoriteStoreGSettings.cpp:139 Unable to load GDesktopAppInfo for 'ubiquity-gtkui.desktop'
WARN  2012-09-23 02:18:30 unity.favorites FavoriteStoreGSettings.cpp:139 Unable to load GDesktopAppInfo for 'ubuntuone-installer.desktop'
ERROR 2012-09-23 02:18:30 unity.launcher.trashlaunchericon TrashLauncherIcon.cpp:62 Could not create file monitor for trash uri: Operation not supported
Initializing unityshell options...done
WARN  2012-09-23 02:18:31 unity.libindicator <unknown>:0 Desktop file '/usr/share/applications/libreoffice-writer.desktop' is using a deprecated format for its actions that will be dropped soon.
WARN  2012-09-23 02:18:31 unity.libindicator <unknown>:0 Desktop file '/usr/share/applications/libreoffice-calc.desktop' is using a deprecated format for its actions that will be dropped soon.
WARN  2012-09-23 02:18:31 unity.libindicator <unknown>:0 Desktop file '/usr/share/applications/libreoffice-impress.desktop' is using a deprecated format for its actions that will be dropped soon.
Setting Update "main_menu_key"
Setting Update "run_key"

不幸的是我完全搞不懂。有人能帮帮我吗?

答案1

  1. 首先尝试取下镜头,然后重新安装。

    sudo apt-get remove --purge unity-lens-applications unity-lens-music unity-lens-files unity-lens-videos
    
  2. 然后删除~/.cache目录

    rm -r ~/.cache
    
  3. 然后再次安装

    sudo apt-get install unity-lens-applications unity-lens-music unity-lens-files unity-lens-videos
    
  4. 然后注销并登录。或者unity --reset在终端中尝试命令。

如果此方法不起作用,请尝试完全删除配置文件。首先备份您的主目录并删除配置文件夹。

  • 备份:

    sudo rsync -aP /home/your-user-name /home/your-user-name_old
    
  • 删除配置文件夹

    rm -r $HOME/.config
    rm -r $HOME/.compiz-1
    rm -r $HOME/.cache
    rm -r $HOME/.gconf
    
  • 然后尝试注销并登录或unity -reset命令。

功劳归于此论坛帖子

相关内容