LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Beryl-Settings Not Loading Modules (https://www.linuxquestions.org/questions/linux-desktop-74/beryl-settings-not-loading-modules-598520/)

illiadum 11-10-2007 01:47 AM

Beryl-Settings Not Loading Modules
 
Hello all,
Sorry its long, but I'm trying to include as much info as is hopefully necessary...here goes. I just got Beryl running, which looks great of course. The problem is I can't run beryl-settings.

When I originally tried to run beryl-settings, it complained that no module "berylsettings" was found. After a little googling and modifying the solutions...I solved that by copying the file "berylsettings.so" to /usr/local/lib/python2.5. Ran ldconfig, and then beryl-settings again, and it reported that it couldn't find the module "gtk". So...searching my system for "gtk.so" turned up nothing. The closest I could find was "_gtk.so" in /usr/local/lib64/python2.5/site-packages/gtk-2.0/gtk/

So, I copied it to the /usr/local/lib/python2.5 like before. I have tried changing the script for beryl-settings to import "_gtk.so" as well as leaving it as is and renaming the file to "gtk.so", with no luck. Either way, I'm getting this:

Code:

# beryl-settings
Traceback (most recent call last):
  File "/usr/local/bin/beryl-settings", line 23, in <module>
    import gtk
ImportError: dynamic module does not define init function (initgtk)

The only thing I'm finding online regarding dynamic modules having undefined functions is for people writing their own code, not publicly distributed packages. So, I'm at a loss.

If anyone has any idea how I might go about fixing this, I'd really appreciate it. Any suggestions welcomed! Thank you in advance!

Vincent_Vega 11-11-2007 04:26 PM

Do yourself a favor - go to this post:
http://www.linuxquestions.org/questi...ack-12-575521/
install Dropline if you haven't, and then use the packages they use. I struggled just like you are and *never* got it fixed...until I installed the dropline packages for Beryl. Now it all works better than ever.


All times are GMT -5. The time now is 06:26 PM.