重置 Unity 时菜单栏出现异常并出现严重错误 - 发生了什么?

重置 Unity 时菜单栏出现异常并出现严重错误 - 发生了什么?

我在使用 Ubuntu 12.04 上的全屏写作应用程序 Focuswriter 时遇到了一个奇怪的问题:当我打开 Focuswriter 时,一切都正常工作,当我将其最小化和最大化一次时,菜单栏中的某些菜单不起作用,当我再次最小化和最大化时,所有菜单都不起作用,所以当我单击文件、编辑、格式、工具、设置或帮助时什么都没有发生。我注意到菜单确实打开了,但它们只是不可见的,所以当我单击帮助然后单击下面的一点时,我会看到关于屏幕 - 但我看不到实际的菜单。当我重复这些操作时,即最小化/最大化两次,行为是一致的。

我不知道该怎么办,于是我尝试重置 Unity。结果如下:

andreas@andreas-ThinkPad-Edge:~$ unity --reset
WARNING: Unity currently default profile, so switching to metacity while resetting the values
Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...no
Backend     : gconf
Integration : true
Profile     : unity
Adding plugins
Initializing core options...done
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1600004

compiz (core) - Warn: failed to receive ConfigureNotify event on 0x2e000a5

Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing snap options...done
Initializing mousepoll options...done
Initializing resize options...done
Initializing place options...done
Initializing move options...done
Initializing wall options...done
Initializing grid options...done
Initializing session options...done
Initializing gnomecompat options...done
Initializing animation options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing workarounds options...done
Initializing scale options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing ezoom options...done

(compiz:2680): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
Initializing unityshell options...done
compiz (core) - Warn: unhandled ConfigureNotify on 0xc0009e!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0xc000a1!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
WARN  2012-09-03 21:08:11 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-03 21:08:11 unity <unknown>:0 Failed to fetch type: Ingen sådan grænseflade "org.ayatana.bamf.window" på objektet ved stien /org/ayatana/bamf/window48234661
Initializing annotate options...done
Initializing blur options...done
Initializing clone options...done
Initializing colorfilter options...done
Initializing commands options...done
Initializing cube options...done
Initializing imgjpeg options...done
Initializing kdecompat options...done
Initializing mag options...done
Initializing neg options...done
Initializing obs options...done
Initializing opacify options...done
Initializing put options...done
Initializing resizeinfo options...done
Initializing ring options...done
Initializing rotate options...done
Initializing scaleaddon options...done
Initializing screenshot options...done
Initializing shift options...done
Initializing staticswitcher options...done
Initializing switcher options...done
Initializing thumbnail options...done
Initializing water options...done
Initializing winrules options...done
Initializing wobbly options...done
ERROR 2012-09-03 21:08:14 unity.glib-gobject <unknown>:0 g_object_unref: assertion `G_IS_OBJECT (object)' failed
Setting Update "main_menu_key"
Setting Update "run_key"

过程到此停止——我等了 30 分钟,什么也没发生。

严重错误是什么意思?它与 Focuswriter 的怪异行为有关吗?无论哪种情况:我该如何修复它?

谢谢!

相关内容