Glipper(クリップボードマネージャ)が起動時に「OAFIID:Glipper〜」でクラッシュする場合の解決策

Ubuntu環境で頻発して困った。
解決策を探したら以下のレスを発見。
https://bugs.launchpad.net/ubuntu/+source/glipper/+bug/213494/comments/96


早速「/usr/lib/glipper/glipper」に適用。

#!/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   # <-- This line is new
time.sleep(8) # <-- This line is new. Change the 8 to for instance 30 if it did not help

import gobject
gobject.threads_init()
...

※Glipperの代わりにParcelliteを使えば良いのだが、こちらはsnippet機能が無いので不採用。