On my laptop Beryl is working fine, but nothing happened when I right-click on the Beryl icon and selected Beryl Settings Manager from the menu. So I opened a Terminal window and typed beryl-settings:
- Code: Select all
$ beryl-settings
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 23, in <module>
import gtk
ImportError: No module named gtk
So I typed the following as root in a Terminal window:
- Code: Select all
emerge -av pygobject pygtk
which then left me with:
- Code: Select all
$ beryl-settings
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 23, in <module>
import gtk
File "/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in <module>
from gtk import _gtk
ImportError: No module named cairo
So I typed the following as root in a Terminal window:
- Code: Select all
emerge -av cairo
which then left me with:
- Code: Select all
$ beryl-settings
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 23, in <module>
import gtk
File "/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in <module>
from gtk import _gtk
ImportError: No module named cairo
So I typed the following as root in a Terminal window:
- Code: Select all
emerge -av pycairo
And now, if I type:
- Code: Select all
beryl-settings
or right-click on the Beryl icon and select Beryl Settings Manager from the menu, the Beryl Settings Manager pops up just like it should. Voila!
I'm not sure, but you may need to have Python 2.5 installed for this to work. So, if the above procedure does not fix the problem with beryl-settings, try doing this:
- Code: Select all
python-updater
and if that fails, use redirection to save the output of python-updater into a text file (e.g. python-updater > /home/Fitzcarraldo/Desktop/file.txt) and edit it to create a list similar to the one below (N.B. this is for my laptop; you cannot just cut and paste it, as your system is different to mine):
- Code: Select all
emerge --oneshot app-accessibility/orca x11-libs/vte media-gfx/graphviz net-wireless/libbtctl net-dns/avahi app-emulation/libvirt app-emulation/virtinst sys-apps/file app-admin/gamin app-admin/pessulus app-admin/sabayon app-admin/webapp-config app-pda/pilot-link dev-python/gnome-python-desktop dev-python/pycrypto dev-python/PyQt4 dev-python/fpconst dev-python/pylirc dev-python/pygobject dev-python/python-ldap dev-python/gnome-python-extras dev-python/pygtkglext dev-python/egenix-mx-base dev-python/egenix-mx-base dev-python/pyogg dev-python/pyrex dev-python/pyid3lib dev-python/pycrash dev-python/gst-python dev-python/ctypes dev-python/PyQt dev-python/celementtree dev-python/setuptools dev-python/wxpython dev-python/soappy dev-python/id3-py dev-python/gst-python dev-python/Coherence dev-python/python-fchksum dev-python/pygame dev-python/mmpython dev-python/pythondialog dev-python/pyopengl dev-python/pycairo dev-python/elementtree dev-python/pyxml dev-python/pymad dev-python/pygtk dev-python/pyparted dev-python/pyvorbis dev-python/pykde dev-python/twisted-web dev-python/pyorbit dev-python/eyeD3 dev-python/nevow dev-python/pyopenssl dev-python/pysqlite dev-python/urlgrabber dev-python/twisted dev-python/configobj dev-python/gnome-python dev-python/m2crypto dev-python/python-musicbrainz2 dev-python/cddb-py dev-python/numeric dev-python/imaging dev-python/dbus-python dev-python/Louie media-libs/tunepimp media-libs/libgpod media-libs/mutagen media-libs/pigment media-libs/lcms app-portage/layman app-misc/beagle gnome-extra/deskbar-applet gnome-extra/gnome-games gnome-extra/libgsf app-cdr/serpentine dev-java/antlr dev-java/java-config media-tv/elisa gnome-base/gnome-applets gnome-base/gnome-menus dev-util/subversion dev-util/scons x11-misc/alacarte app-text/mftrace net-fs/samba dev-libs/beecrypt
and run it in a Terminal window as root.
Then repeat the compilations for pygobject, pygtk, cairo and pycairo given above.
I now have my Beryl Settings Manager back.
