When using Emacs 23 and a few other applications on Ubuntu running GNOME, I often get a irritatingly cryptic error message ** (emacs:25074): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed. Turns out it has got something to do with the theme I'm running.
Thanks to Alf, it is very easy to get rid of that by tweaking Gtk configuration. Modify the entry in /usr/share/themes/Ambiance/gtk-2.0/gtkrc from GtkRange::trough-under-steppers = 0 to GtkRange::trough-under-steppers = 1.
Tuesday, June 15, 2010
Resolving "murrine_style_draw_box: assertion `height >= -1'"
Posted by Manas Pathak at 2:06 PM
Labels: emacs gnome ubuntu
Subscribe to: Post Comments (Atom)
Thanks for the help!! Worked like a charm... Just upgraded to Ubunto 10.0 64 bit and had those messages with emacs23.. Now their gone.. Thanks again!!! -DonReplyDelete
Same problem with Gparted.ReplyDelete
Worked like a charm... Thanks !
you are welcome!ReplyDelete
Just an additional info:ReplyDelete
this workaround works with any Theme your using. Just chance "Ambience" to your actual theme and that's it!
A use the Radiance theme and this tweak saved my day!
Your fix worked great for wireshark. Thanks!ReplyDelete
Anyone know what to edit if your theme is 'Custom'?ReplyDelete
Thanks for posting the solution!ReplyDelete
Thank you! This was driving me crazy.ReplyDelete
Thanks a lot for posting this workaround. The error was really bugging me.ReplyDelete
Thank you, this post saved my day.ReplyDelete
Glad to help!ReplyDelete
trovo lo stesso messaggio anche io quando apro emacs , ma dato che sono una principiante con Ubuntu qualcuno mi potrebbe gentilmente spiegare in modo elementare i passi per le modifiche che devo fare :$ !
grazie millissimo ;)
also find the same message when I open emacs, but since I am a beginner with Ubuntu :$ could someone explain in elementary steps for the changes that I do !
thank you very much ;)
did not work for me :(ReplyDelete
yes it did liarDelete
Thanks! this was helpful to fix this errorReplyDelete
:) thanks a lot!!ReplyDelete
I am also having the same message from:ReplyDelete
GNU Emacs 23.2.1
(x86_64-pc-linux-gnu, GTK+ Version 2.24.4)
of 2011-04-04 on crested, modified by Debian
running on Ubuntu 11.04 on amd64, despite having
GtkRange::trough-under-steppers = 1
in all themes where the setting appears:
$ grep -r under-steppers /usr/share/themes
/usr/share/themes/New Wave/gtk-2.0/gtkrc: GtkScrollbar ::trough-under-steppers= 1
/usr/share/themes/Radiance/gtk-2.0/gtkrc: GtkRange::trough-under-steppers = 1
/usr/share/themes/Dust Sand/gtk-2.0/gtkrc: GtkRange::trough-under-steppers = 1
/usr/share/themes/Dust/gtk-2.0/gtkrc: GtkRange::trough-under-steppers = 1
/usr/share/themes/Ambiance/gtk-2.0/gtkrc: GtkRange::trough-under-steppers = 1
/usr/share/themes/New Wave Dark Menus/gtk-2.0/default-gtkrc: GtkScrollbar ::trough-under-steppers= 1
OMG thank you so much!! this was annoying the hell out of me.ReplyDelete
If anybody can not find any solution by using the methods that have been suggested I recommend changing your gnome theme to some standard linux one. ;)ReplyDelete
how to modify GtkRange::trough-under-steppers = 0 , it is read only file in my system. thanksReplyDelete
THANK YOU THANK YOU THANK YOU !!ReplyDelete
It is really helpful, thx!ReplyDelete
Could you please tell me about the theory?
Thank you! this worked like a charm!ReplyDelete
i did it just by changing my theme and changing it back for rpikaliReplyDelete
Do you need to increase your credit score?ReplyDelete
Do you intend to upgrade your school grade?
Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
Do you need any information concerning any database.
Do you need to retrieve deleted files?
Do you need to clear your criminal records or DMV?
Do you want to remove any site or link from any blog?
you should contact this hacker, he is reliable and good at the hack jobs..
contact : cybergoldenhacker at gmail dot com