[gobolinux-users] Beryl settings manager not work
Jonas Karlsson
jonka750 at student.liu.se
Sat May 26 16:32:04 UTC 2007
On Sat, 26 May 2007 17:39:58 +0200, Viola Zoltán <violazoli at gmail.com> wrote:
> Dear Jonas, I now rebooted!
>
> vz at Csiszilla ~]grep PYTHONPATH /System/Links/Environment/*
> /System/Links/Environment/Cache:export
> PYTHONPATH="/System/Links/Libraries/python2.4/site-packages/gtk-
> 2.0:$PYTHONPATH"
> /System/Links/Environment/Cache:export
> PYTHONPATH="/System/Links/Libraries/python2.4/site-packages"
> grep: /System/Links/Environment/Htop--0.6.4: Permission denied
> /System/Links/Environment/PyGObject--2.12.3:exportPYTHONPATH="/System/Links/Libraries/python2.4/site-packages/gtk-
> 2.0:$PYTHONPATH"
> /System/Links/Environment/Python--2.4.3:exportPYTHONPATH="/System/Links/Libraries/python2.4/site-packages"
>
Ok, it looks like your Python installation overwrites any previous set
PYTHONPATH. Open /Programs/Python/Current/Resources/Environment in
your favourite editor and change the line
export PYTHONPATH="/System/Links/Libraries/python2.4/site-packages"
to
export PYTHONPATH="/System/Links/Libraries/python2.4/site-packages${PYTHONPATH:+:$PYTHONPATH}"
then run 'SymlinkProgram python' and next reboot your PYTHONPATH
should be ok again. Then you should be able to launch beryl-settings.
> BUT:
>
> vz at Csiszilla ~]export
> PYTHONPATH="/System/Links/Libraries/python2.4/site-packages/gtk-
> 2.0:$PYTHONPATH"
> vz at Csiszilla ~]beryl-settings
> Traceback (most recent call last):
> File "/System/Links/Executables/beryl-settings", line 23, in <module>
> import gtk
> ImportError: No module named gtk
>
Yes, I'm sorry, but I missed the fact that the gtk python binding were
installed into the python2.5 subdirectory, which I find strange as you
have python 2.4.3. How did you install PyGTK?
Anyhow, try running 'export
PYTHONPATH="/System/Links/Libraries/python2.5/site-packages/gtk-2.0:$PYTHONPATH"'
as well, and it should work. If that works (which it should), I've
attached a file that you should save in
/Programs/PyGTK/Current/Resources and then you should run
'SymlinkProgram pygtk'. Next reboot you should be able to run
beryl-settings from anywhere.
/Jonas
>
> 2007/5/26, Jonas Karlsson <jonka750 at student.liu.se>:
>>
>> Ok, your Cache is updated, so you should have the correct PYTHONPATH. When
>> was
>> the last time you rebooted?
>> Can you give me the output for 'grep PYTHONPATH
>> /System/Links/Environment/*'?
>>
>> To temporary be able to launch beryl-settings you can run the following in
>> a shell
>>
>> export PYTHONPATH="/System/Links/Libraries/python2.4/site-packages/gtk-
>> 2.0:$PYTHONPATH"
>>
>> then you should be able to launch beryl-settings from that shell.
>>
>> /Jonas
>>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Environment
Type: application/octet-stream
Size: 88 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-users/attachments/20070526/e347a42b/attachment.obj
More information about the gobolinux-users
mailing list