安装 Unity 2D 后缺少面板

安装 Unity 2D 后缺少面板

我将上网本从 UNR 10.10 升级到 Natty 11.04,在决定安装 Unity 2D 之前,上网本运行良好。安装 Unity 2D 后,我尝试了一下,然后退出了会话。当我尝试使用 Unity 2D 重新登录时,我只看到了背景。没有面板,也没有停靠栏。我的所有图标都不见了。虽然我知道它正在工作,因为我可以使用键盘执行命令。现在我试图通过打开终端并输入以下内容来重置 Unity:

unity --reset

但是,这有效,但仅限于我打开终端时。当我关闭终端时,它又回到原点,我看到的背景没有面板。

还有一件事,这种情况只发生在一个配置文件中。我的其他用户配置文件运行良好,我可以完全正常地访问和使用它们。

我认为我弄乱了管理员配置文件的显卡设置。我不确定它使用的是哪种显卡(我使用的是 Acer Aspire One D250 上网本)。

请帮忙 !

以下是 Unity --reset 命令的输出:

unity --reset
unity-panel-service: no process found
Backend     : gconf
Integration : true
Profile     : unity
Adding plugins
Initializing core options...done
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Initializing bailer options...done
Initializing detection options...done
Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing mousepoll options...done
Initializing vpswitch options...done
Initializing animation options...done
Initializing snap options...done
Initializing expo options...done
Initializing move options...done
Initializing place options...done
Initializing grid options...done
Initializing gnomecompat options...done
Initializing wall options...done
Initializing ezoom options...done
Initializing workarounds options...done
Initializing staticswitcher options...done
Initializing resize options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing scale options...done
Initializing session options...done
** (<unknown>:1698): DEBUG: Unity accessibility initialization
** (<unknown>:1698): DEBUG: Shows on edge: 1

Screen geometry changed:
  Monitor 0(primary)
   0x0x1024x600

unity-panel-service: no process found
** (<unknown>:1698): DEBUG: PanelController:: Added Panel for Monitor 0
Initializing unityshell options...done
** (<unknown>:1698): DEBUG: MaximizeIfBigEnough: Gnome-terminal window size doesn't fit
** (<unknown>:1698): DEBUG: PlaceEntry: Files & Folders
** (<unknown>:1698): DEBUG: PlaceEntry: Applications
** (<unknown>:1698): DEBUG: PlaceEntry: Commands
** (<unknown>:1698): DEBUG: /com/canonical/unity/applicationsplace
** (<unknown>:1698): DEBUG: /com/canonical/unity/filesplace
** (<unknown>:1698): DEBUG: Setting to primary screen rect: x=0 y=0 w=1024 h=600
** (<unknown>:1698): DEBUG: Acquired the name com.canonical.Unity.Launcher on the session bus

** (<unknown>:1698): DEBUG: TrayChild Rejected: gst-keyboard-xkb gnome-settings-daemon Gnome-settings-daemon
** (<unknown>:1698): DEBUG: TrayChild Rejected: nm-applet nm-applet Nm-applet
** (<unknown>:1698): DEBUG: TrayChild Rejected: gnome-power-manager gnome-power-manager Gnome-power-manager

(<unknown>:1698): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (<unknown>:1698): DEBUG: IndicatorAdded: libapplication.so
** (<unknown>:1698): DEBUG: IndicatorAdded: libsoundmenu.so
** (<unknown>:1698): DEBUG: IndicatorAdded: libmessaging.so
** (<unknown>:1698): DEBUG: IndicatorAdded: libdatetime.so
** (<unknown>:1698): DEBUG: IndicatorAdded: libme.so
** (<unknown>:1698): DEBUG: IndicatorAdded: libsession.so
Setting Update "run_command_terminal_key"
Setting Update "fullscreen_visual_bell"
** (<unknown>:1698): DEBUG: TrayChild Rejected: update-notifier update-notifier Update-notifier
** (<unknown>:1698): DEBUG: TrayChild Rejected: update-notifier update-notifier Update-notifier
** (<unknown>:1698): DEBUG: TrayChild Rejected: update-notifier update-notifier Update-notifier

答案1

请尝试以下操作:

CTRL + ALT + F1

这将打开一个文本 TTY1

登录

类型

unity --reset-icons &

CTRL + ALT + F7 观察屏幕闪烁情况,然后 Unity 启动器图标应重置

然后

CTRL + ALT + F1 类型

unity --reset &

CTRL + ALT + F7 观察屏幕闪烁情况,然后 unity launcher + compiz 应重置

如果这不起作用,请尝试创建一个新的管理员帐户并将所有重要文件从旧帐户复制到新帐户。

如果用户和组窗口不起作用 - 请尝试以下命令行条目:

sudo adduser newusername
sudo usermod -a -G admin newusername

显然将“newusername”更改为新帐户的名称。

相关内容