Gedit plugin "hide UI" has permanently hidden my UI

Asked by Mike.lifeguard

I installed the Hide UI plugin listed on http://live.gnome.org/Gedit/Plugins

When I tried to hide the UI, gedit hung, so I killed the process. Upon re-starting it, the toolbar (open, save...) and menu bar (file, view...) had disappeared, leaving only the tab bar at the top. I can't get these UI elements to return. Apparently this also means CTRL-O doesn't do open-a-file; CTRL-N doesn't do new-document; etc.

I've tried purging and reinstalling gedit & gedit-plugins, but this had no effect.

How can I restore the default interface?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mike.lifeguard
Solved:
Last query:
Last reply:
Revision history for this message
Mike.lifeguard (mikelifeguard) said :
#1

Some terminal output:

** (gedit:29766): WARNING **: Could not merge /usr/share/gedit-2/ui/gedit-ui.xml: Failed to open file '/usr/share/gedit-2/ui/gedit-ui.xml': No such file or directory

(gedit:29766): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_WIDGET (child)' failed

(gedit:29766): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_WIDGET (child)' failed

(gedit:29766): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:29766): Gtk-CRITICAL **: gtk_toolbar_unset_style: assertion `GTK_IS_TOOLBAR (toolbar)' failed

(gedit:29766): Gtk-CRITICAL **: gtk_toolbar_insert: assertion `GTK_IS_TOOLBAR (toolbar)' failed

(gedit:29766): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed

(gedit:29766): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:29766): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:29766): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:29766): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

Revision history for this message
Thomas Krüger (thkrueger) said :
#2

You can try to reset the preference and the ui of gedit with this command line:
gconftool-2 --recursive-unset /apps/gedit-2/preferences

Revision history for this message
Thomas Krüger (thkrueger) said :
#3

And by the way: The F11 key does nearly the same than the plugin.

Revision history for this message
Mike.lifeguard (mikelifeguard) said :
#4

Well, I reinstalled once again, and then it wouldn't start at all!

I did strace and found that it was trying a) in a scary-looking loop and b) hide-ui plugin was being loaded, silly me forgot how crufty some stuff on linux is... nuke a directory and a file, and gedit loads very nicely again. YAY!

And yes, I'll be sticking with F11... would be nice to get the plugin removed from the list on gnome.org for sure.

Revision history for this message
Mike.lifeguard (mikelifeguard) said :
#5

Here's some of the strace, btw: http://p.defau.lt/?uf2LwtPGyBea2Bpm0PrXRA ... I don't know for sure that this is abnormal, but with CPU near 90% and gedit not loading, I somehow think not.