PDA

View Full Version : No "Beryl Settings Manager"


stig
April 24th, 2007, 02:04 PM
I just downloaded Beryl yesterday (I am using Debian etch), and must say that I am impressed.

Everything is working fine, I can adjust themes, use all the funny effects, see the cube, switch between beryl, compiz and metacity. However, the Beryl Settings Manager is not working. Nothing happens when I choose that.

If I type beryl-settings in a window I get the following:

[code:a8e11]stig@Debian:~$ beryl-settings

(beryl-settings:5058): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 35, in ?
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python2.4/locale.py", line 381, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
stig@Debian:~$
[/code:a8e11]

I then checked for the Beryl-manager:

[code:a8e11]stig@Debian:~$ aptitude search beryl-manager
i beryl-manager - Tray application launcher tool - Beryl Prostig@Debian:~$
stig@Debian:~$
Debian:/home/stig# aptitude search berylsettings
i A libberylsettings-dev - Development files for plugin settings - Be
i A libberylsettings0 - Settings library for plugins - Beryl Proje
p libberylsettings0-dbg - Debug symbols for Beryl
i libberylsettings0-gconf - Settings library for plugins - Beryl ProjeDebian:/home/stig#
[/code:a8e11]

That looks fine to me. Finally I attempted to figure out what is wrong by running:

[code:a8e11]Debian:/home/stig# python2.5 /usr/bin/beryl-settings
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 22, in <module>
import berylsettings
ImportError: No module named berylsettings
Debian:/home/stig#
[/code:a8e11]

nano /usr/bin/beryl-settings does not reveal anything extraordinary (line 22 is the first line that is not a comment). Is there anyone who can tell me, how I can get the Beryl Settings Manager working (or alternatively explain how to control Beryl without the manager)?


Stig

beerorkid
April 24th, 2007, 08:36 PM
run beryl-manager and then right click the beryl icon and choose beryl settings manager (the top choice)

porl
April 25th, 2007, 06:24 AM
i can't remember all the details, but i'm pretty sure this is to do with having both python2.4 and 2.5 installed, and 2.4 being the default. in the top of the berylsettings executable (i think) should be a line something like #!/usr/bin/python. change python to python2.5 and it should work. unfortunately i can't be more specific as i am not in front of a beryl-enabled computer at the moment. someone else might be able to give more specific info.

edit:
just reread your post and you seemed to try something similar. sorry if this is irrelevant.

stig
April 25th, 2007, 09:02 AM
Hi porl

Thank you for the suggestion. I have not been able to locate the file you are referring to - the closest I have been able to find is this file (nano /usr/lib/pkgconfig/beryl-settings-bindings.pc):

[code:6a341]prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
pyexecdir=${exec_prefix}/lib/python2.4/site-packages

Name: beryl-settings-bindings
Description: Beryl settings bindings
Version: 0.2.0

Requires: berylsettings >= 0.1.2 glib-2.0 >= 2.6 x11
Libs: -lberylsettings -lpng12 -lXcomposite -lXdamage -lXrandr -lSM -lXinerama -$Cflags: -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/$[/code:6a341]

I have attempted to change python2.4 to python2.5, however it did not seem to make any difference after a reboot.

I do not seem to have a 0.1.2 glib-2.0 file (or later). I do have a virtual file named glibc-2.3.6-2. Do you know if that could have anything to do with my problem?

adamk
April 25th, 2007, 09:26 AM
He meant actually edit the file /usr/bin/beryl-settings and change the top line.

Adam

stig
April 25th, 2007, 06:55 PM
Ok, thanks - I should have figured out, that was the intended meaning.

But doesn't "#" indicate, that this line is commented out? Anyway, I changed it to python2.5, but nothing changed - I am still missing the Beryl Settings Manager?????

Stig

ps: I was just checking my old post, and typed beryl-settings - now some of the nasty messages have disappeared:

[code:5488b]stig@Debian:~$ beryl-settings
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 22, in <module>
import berylsettings
ImportError: No module named berylsettings
[/code:5488b]

stig
April 25th, 2007, 07:15 PM
Heyyy, I found something on the internet, that might be a step in the right direction. I typed the following:

[code:3645a]Debian:/home/stig# cd /var/lib/python-support/python2.5
Debian:/var/lib/python-support/python2.5# ln -s /var/lib/python-support/python2.4/berylsettings.so berylsettings.so
[/code:3645a]

That is, I made a symbolic link. Now, when I type beryl-settings I get more specific information:

[code:3645a]stig@Debian:~$ beryl-settings
/usr/bin/beryl-settings:22: RuntimeWarning: Python C API version mismatch for module berylsettings: This Python has API version 1013, module berylsettings has version 1012.
import berylsettings
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 23, in <module>
import gtk
ImportError: No module named gtk
[/code:3645a]

Stig