Non-Motif Linux Interface? - SOLVED!

Ken Ray kray at sonsothunder.com
Tue Apr 24 23:30:32 EDT 2007


On Tue, 24 Apr 2007 15:47:15 -0600, chris bohnert wrote:

> You might try something like setting the following environment variables.
> I'm assuming Ubuntu puts the gtk libs in /usr/lib..but it might not.  You
> might also compare Marks location for the libs to yours.
> 
> REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so
> REV_GTK_PATH /usr/lib/libgobject-2.0.so
> REV_GOBJECT_PATH  /usr/lib/libgobject-2.0.so

It turns out that the 'revolution.sh' file included an 'export' for 
GDK_PATH and GTK_PATH, but NOT GOBJECT_PATH... and after adding that 
in, I got the current Ubuntu widget theme!

(BTW, it looks like your GTK_PATH is pointing to libgjobject, not 
libgtk...)

So my 'revolution.sh' file looks like this:

-------
#!/bin/sh

export REV_GDK_PATH=/usr/lib/libgdk-x11-2.0.so.0
export REV_GTK_PATH=/usr/lib/libgtk-x11-2.0.so.0
export REV_GOBJECT_PATH=/usr/lib/libgobject-2.0.so.0
export REV_SSL_PATH=/usr/lib/libssl.so.0.9.7

# Needed to make symlinks/shortcuts work.
cd "/opt/Revolution-2.6.1"
runrev="./revolution.x86"
"$runrev" $* >& /dev/null
-------

You can bet this is going on my Tips page! I'm going to check on 
Kubuntu, but I'll bet it's the same issue there as well...

Thanks, Chris!

:-)

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the use-livecode mailing list