My Gedit was crashing on startup and giving the following error:-

Gtk:ERROR:/build/buildd/gtk+2.0-2.24.20/gtk/gtkrecentmanager.c:2116:get_icon_fallback:
 assertion failed: (retval != NULL)
Aborted

I fixed this by following these steps

1. Open terminal
2. Run the command: $ echo 'gtk-icon-theme-name="Tango"' >> ~/.gtkrc-2.0
3. Run the command: $ sudo apt-get install tango-icon-theme
4. Close terminal
5. Create a new text file on your desktop eg: random.txt
6. Double click on random.txt

Problem solved. Now you should be able to run Gedit by double clicking
on a file or from the command line ( $ gedit random.txt ) with no
problems.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/651678

Title:
  crashes with assertion failure on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/651678/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to