Saturday, September 14, 2013

Emacs Problem: "murrine_style_draw_box: assertion `height >= -1'"

Description: 
When using Emacs 23 and a few other applications on Ubuntu running GNOME, we often get error message

 ** (emacs:25074): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed. 

This error is related to the gtk settings related to Ubuntu theme currently applied.  Here are the steps to solve this problem.


Steps:
1. Check the ubuntu theme currently running. ((a) system -> Preferences -> Appearance (b)click on Theme, the highlighted theme is the current theme in use). For eg. it could be Ambiance, Clearlooks, Dust, ... , Radiance. In my case it is "Ambiance" (please change "Ambiance" by "your theme" in the later steps)

2. open the following configuration file as root,
sudo emacs /usr/share/themes/Ambiance/gtk-2.0/gtkrc
Note that I have opened the file related to the “Radiance” theme. Make sure to open the correct file related to the applied theme of yours

3. Change the following,
GtkRange::trough-under-steppers = 0 to
GtkRange::trough-under-steppers = 1

4. This should fix the bug


References:


No comments:

Post a Comment