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:


Root (version 6.04) installation in Ubuntu 16.04

ROOT is an object-oriented program and library developed by CERN. It was originally designed for particle physics data analysis and contains several features specific to this field. (more.. (wiki) (homepage)).

Step 1 : Download root
Latest version of the root can be downloaded from here (http://root.cern.ch/drupal/content/downloading-root).

git installation in ubuntu

Description:


Steps:
1.

sudo apt-get install python-software-properties
2.
sudo add-apt-repository ppa:git-core/ppa
3.
sudo apt-get update
4.
sudo apt-get install git