Discuss Scratch

markdav
Scratcher
2 posts

Scratch2 Offline Editor Extensions on Linux 64-bit

I installed Scratch 2 on linux by running this script to install air:
#!/bin/bash
apt-get install libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386
cd /tmp
apt-get download libgnome-keyring0:i386
dpkg-deb -R libgnome-keyring0_3.8.0-2_i386.deb gnome-keyring
cp gnome-keyring/usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/i386-linux-gnu/
ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/i386-linux-gnu/libgnome-keyring.so.0
ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
wget http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
chmod a+x AdobeAIRInstaller.bin
./AdobeAIRInstaller.bin
rm ./AdobeAIRInstaller.bin
rm /usr/lib/libgnome-keyring.so.0
rm /usr/lib/libgnome-keyring.so.0.2.0

and using the air file (431) from the scratch site. All good, seems to work just fine. However when I go to the More Blocks, there is no “Extensions” block, so I can't install any extensions.. The help for extensions is there but.. no extension. Any idea? Would like to get scratch 2 wedo working..

Thanks!!

Last edited by markdav (Jan. 26, 2015 22:58:30)

Paddle2See
Scratch Team
1000+ posts

Scratch2 Offline Editor Extensions on Linux 64-bit

I ran your question by our developers and one of them gave me this answer, which I now relay to you:

Unfortunately hardware extensions are not supported on the Linux offline editor. This is a limitation of Adobe Air – Adobe never released a version of Air for Linux above version 2.6, and version 2.6 doesn't have the capabilities we need in order to access hardware devices. (Specifically, there's no support for Air Native Extensions, which is the only way to access hardware devices from within Air.)

Since we also don't currently offer a Linux version of the browser plugin, I'm afraid Linux users are currently stuck without hardware extension support.

I'm not yet ready to promise, but there's a good chance that before April we will be putting together a version of the online editor that uses Chrome features instead of a browser plugin. If we do that it seems likely that it would automatically support Linux in addition to Mac and Windows without any extra work from us.

Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)



;
markdav
Scratcher
2 posts

Scratch2 Offline Editor Extensions on Linux 64-bit

Thanks.. I suspected that! Would be great if there were a way of using this online editor, offline as it were - i.e. replacing the adobe air version by spinning something up on localhost.
itchy20
Scratcher
100+ posts

Scratch2 Offline Editor Extensions on Linux 64-bit

I am using Linux 32 and not 64, so maybe this does not apply, but s2a_fm runs on Linux, Windows and Mac.

To get the offline editor to work, try following these instructions to install:

http://fromscratched.nl/index.php/scratch-2-0-offline-installeren-op-debian-linux/?lang=en

There is a link to 64 installation on that page.

Hope that helps.
itchy20
Scratcher
100+ posts

Scratch2 Offline Editor Extensions on Linux 64-bit

I reread the input from the Scratch developer. The answer provided is for the on-line version - there is no plugin needed for the off-line version. They are correct that there is no linux version for the on-line edtior, but another of my programs, Xi, doesn't require its use and works well without it on Linux, Windows and Mac. Xi works with both Chrome and Firefox.

To summarize, offline extensions require Adobe Air, online extensions do not. Xi does not require, nor use, the Scratch plugin to function.

Last edited by itchy20 (Jan. 28, 2015 19:02:40)

NoobeDeveloper
Scratcher
1 post

Scratch2 Offline Editor Extensions on Linux 64-bit

An update to this discussion, you can download the Scratch editor in linux simply by going to terminal and typing: sudo apt-get install scratch . Works like a charm!
Life_With_Birdington
Scratcher
12 posts

Scratch2 Offline Editor Extensions on Linux 64-bit

NoobeDeveloper wrote:

An update to this discussion, you can download the Scratch editor in linux simply by going to terminal and typing: sudo apt-get install scratch . Works like a charm!
This command, apt-get install sudo apt-get install scratch, only gets Scratch 1.4. With the inclusion of Adobe AIR, I believe @markdav is wanting Scratch 2.0, not 1.4.

Hello Everyone!
This is Life_With_Birdington
I am The Birdingtons! on Youtube
You can see my projects by going here
“Hi”
-The Birdingtons! 2020
BIRDS RULE!

Powered by DjangoBB