Tuesday, August 24, 2010

Fix Glipper Startup Bug

Glipper is clipboardmanager for GNOME. I use it extensively when writing. The only problem is that there is a bug that crashes Glipper when loading the GNOME desktop.

Glipper starts before a service it needs, resulting in this error message:
The panel encountered a problem while loading OAFIID:Glipper....

By adding a delay to Glipper at startup we can allow all need components to load before Glipper.

in a terminal type:
sudo gedit /usr/lib/glipper/glipper

add these two lines at the top of the file to delay glipper from loading:
import time
- if your computer is older you might have to increase the (8) to a larger number.

Your file should look very similar to this:
#!/usr/bin/env python
# Glipper - Clipboardmanager for GNOME
# Copyright (C) 2007 Glipper Team
# bla bla bla
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
import time
import gobject
import gtk, gnomeapplet, gnome
import getopt, sys
from os.path import *

No comments:

Post a Comment