Browser widget on linux

hh hh at hyperhh.de
Fri Apr 14 11:16:45 EDT 2017


Hi all.

Panos linked to the following bug report (it is more a discussion):

http://quality.livecode.com/show_bug.cgi?id=16848

The final 'workaround' there by Max Vessi solves several issues on linux.
The property inspector, the script editor, the dictionary and the browser widget
work correcly with that (I tried latest LTS of Ubuntu/Xubuntu/Lubuntu/Mint and
Debian and Fedora).

The trick is to launch LC by a shell script (here if LC Indy 8.1.3 is installed
'for this user only'):

#! /bin/bash
export LC_ALL= LC_NUMERIC=C 
export LIBGL_DRI3_DISABLE=1
"/home/<user>/.runrev/components/livecodeindy-8.1.3.x86/LiveCode\ Indy.x86"

** Thanks Max for elaborating this shell-script! **

I used the long path for the home because some desktop environments crash when
using tilde instead.

A utility stack for using this together with a ".desktop"-file is available in
the forum, so that one can launch after that LC "as usual":

http://forums.livecode.com/viewtopic.php?p=153351#p153351

It is there also described in detail for all of you who don't use linux as the
main OS, like me (but I switched already a main dev-machine to Mint-Cinnamon) and
prefer to do things 'manually'.

Why all the big fuss about that?

Just try "LC ImageToolBox89: Basics v103" (use livecodeshare or 'Sample stacks').
If you have a decent graphic card, you'll see an image processing speed that is,
compared to LC Script, _extremely_ fast. It handles images of screensize in less
than one second. This is also true for convolution kernels of size up to 7x7 and
color matrices. The latter is nearly finished and I'll make it soon available.

This shows from my view the biggest progress we could make with image processing
in LC in the last years. And LC 8/9 works fine with it, on Mac/ Win/ linux!!

Once again thanks to Jonathan Lynch for hinting to this application possibility of
the browser widget by his affine transform examples (see livecodeshare or 'Sample
stacks').



More information about the use-livecode mailing list