Skip to content
Tags

Getting rid of GTK warnings on Emacs 24.1

June 20, 2012

I recently upgraded to Emacs 24.1 and from the terminal I’ve been getting a ton of errors like so:

Gtk-Message: Failed to load module “canberra-gtk-module”
`menu_proxy_module_load’: emacs: undefined symbol: menu_proxy_module_load

(emacs:17803): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load’: emacs: undefined symbol: menu_proxy_module_load

(emacs:17803): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load’: emacs: undefined symbol: menu_proxy_module_load

(emacs:17803): Gtk-WARNING **: Failed to load type module: (null)

etc…

Turns out there are a couple of environment variables you can unset in .bashrc to fix this.

export UBUNTU_MENUPROXY=
export GTK_MODULES=

I’ve got no idea what these are for but appears to do the job and I can now start up without seeing a page full of warnings.

Advertisements

From → Technical

One Comment
  1. Hrushikesh permalink

    nice

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: