This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#126 2009-10-21 12:15:32

rogerm
Scratcher
Registered: 2007-06-12
Posts: 5

Re: ITopic: scratch on linux

Thanks for the replies!

I have both repositories installed and have hit reload, all without success. 
Running - aptitude search scratch - does not return any package related to Scratch.
So I will try the dpkg --force-architecture and follow up with getlibs as suggested in the link. 

One problem, I need to point dpkg to the Scratch .deb file, but I do not have access to it?  Any suggestions on how to resolve this?

Offline

 

#127 2009-10-21 13:29:31

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

You could try:
dpkg -i --force-architecture scratch

.. that might work. If not, you can download the scratch .deb package here:
http://info.scratch.mit.edu/Linux_installer


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#128 2009-10-22 06:42:08

rogerm
Scratcher
Registered: 2007-06-12
Posts: 5

Re: ITopic: scratch on linux

I tried:
dpkg -i --force-architecture scratch
but it still did not produce any results?  dpkg cannot find scratch, even though all the Launchpad sources are listed and selected in the Third Party Software tab?

So I have downloaded the installer from the Scratch site and run dpkg -i --force-architecture on it.  This has installed Scratch in Applications/Programming.  Following this, I installed the squeakvm from the repositories and changed /usr/bin/scratch from:

/usr/bin/scratch_squeak_vm \
-plugins /usr/lib/scratch/Plugins \
-vm-sound-PA \
/usr/lib/scratch/Scratch.image "${@}"

to:

/usr/bin/squeakvm \
-plugins /usr/lib/scratch/Plugins \
-vm-sound-PA \
/usr/lib/scratch/Scratch.image "${@}"

to use the sqeakvm instead of the scratch_squeak_vm (all as suggested in Lightnin's earlier post).  Trying to launch Scratch from Applications did not produce any results.  So I changed /usr/bin/scratch back to its original form - to use the scratch_squeak_vm - and it works fine.  The only problem does seem to be with going into full-screen mode (compiz), but advice from an earlier post on this matter:

"Meanwhile, you can solve this problem on computers running Ubuntu 9.04 by selecting System > Preferences > Appearance from the main menu. Choose the visual effects tab and select "none." This will disable compiz, and solve the fullscreen repaint problem. "

does seem to solve the problem.

Thanks for all the help : )

Offline

 

#129 2009-10-22 08:47:39

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

Interesting - this is very good to know! Thanks for trying this out Rogerm.

So if you have a 64 bit system, it seems like the thing to do is just force the install of Scratch, and then run it as normal.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#130 2009-10-22 10:28:51

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: ITopic: scratch on linux

Have someone tried using Scratch 1.4 on linux (Ubuntu 9.10) with a non-English language? Apparently the language files are there but they are not taken into account.

Last edited by s_federici (2009-10-22 10:32:58)

Offline

 

#131 2009-10-22 11:35:47

rogerm
Scratcher
Registered: 2007-06-12
Posts: 5

Re: ITopic: scratch on linux

Lightnin wrote:

Interesting - this is very good to know! Thanks for trying this out Rogerm.

So if you have a 64 bit system, it seems like the thing to do is just force the install of Scratch, and then run it as normal.

Yes, for the moment this seems like the only way to get Scratch up and running on 64 bit Ubuntu 9.04.

Offline

 

#132 2009-10-23 09:07:14

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

s_federici wrote:

Have someone tried using Scratch 1.4 on linux (Ubuntu 9.10) with a non-English language? Apparently the language files are there but they are not taken into account.

Yes, this is a known issue that has been fixed very recently. I hope to build and release a new version of the package later today that will solve this.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#133 2009-10-23 15:00:55

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

The Scratch 1.4 package for Debian / Ubuntu is now in Beta!
You can find instructions on how to add the Scratch PPA from Ubuntu Launchpad here:

http://info.scratch.mit.edu/Linux_installer

...as well as a downloadable binary package. We welcome feedback and bug reports on this thread or through Launchpad.

Scratch On!


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#134 2009-10-28 09:40:35

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: ITopic: scratch on linux

rioffe wrote:

nick wrote:

The Windows version is now available as a zip at http://scratch.mit.edu/download. We are working on getting some things (presentation mode and image effects) to compile in Linux, and creating a makefile. Eventually, we hope to have some binaries available for common linux flavors.

How about switching everything to CMake http://www.cmake.org

Otherwise, excellent idea, excellent implementation!!! Will try to use it to teach my son programming!

But.... scratch is better! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! truly true. if anyone says its worser, than cmake, they are joking

Offline

 

#135 2009-11-06 02:53:26

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: ITopic: scratch on linux

well my cpu when running on linux scratch crashes sometimes unexpecteadly generally during the opening of projcts  > 7 mbs


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#136 2009-11-06 11:23:05

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

fanofcena wrote:

well my cpu when running on linux scratch crashes sometimes unexpecteadly generally during the opening of projcts  > 7 mbs

Interesting! Thanks for testing this out.

What version of Ubuntu are you using, and what version of the Scratch Package? Are there are any additional steps one needs to take to see this problem? If you could send a link to a project that causes Scratch to crash when you load it, that would be most helpful.

Thanks!


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#137 2009-11-07 08:10:07

tocsdetics
Scratcher
Registered: 2009-07-06
Posts: 9

Re: ITopic: scratch on linux

A easy way to install Scratch in ubuntu 9.10, with add-apt-repository! Type in your terminal:

$sudo add-apt-repository ppa:scratch
$sudo aptitude update
$sudo aptitude install scratch

In my EeePc whith Ubuntu 9.10, Scratch look very well... (web camera too).

Have fun! Salut! :-)

Offline

 

#138 2009-11-14 01:17:25

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: ITopic: scratch on linux

Lightnin wrote:

fanofcena wrote:

well my cpu when running on linux scratch crashes sometimes unexpecteadly generally during the opening of projcts  > 7 mbs

Interesting! Thanks for testing this out.

What version of Ubuntu are you using, and what version of the Scratch Package? Are there are any additional steps one needs to take to see this problem? If you could send a link to a project that causes Scratch to crash when you load it, that would be most helpful.

Thanks!

I m using ubuntu 9.10 now the problem occurs generally when i run huge projects dwnloded from the net as u could try my own space combat  crashes often while loading i dont remember the package no. right now but will tell u as soon as i get back to my home PC

Last edited by fanofcena (2009-11-14 01:18:14)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#139 2009-11-15 10:12:13

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

Interesting! I tried space combat (cool game!) on my system, which is running the latest Scratch package for linux, but didn't see any problems. Try installing Scratch by the method tocsdetics describes above. Then see if the problem still happens. Thanks!


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#140 2009-11-17 04:52:08

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: ITopic: scratch on linux

Lightnin wrote:

Interesting! I tried space combat (cool game!) on my system, which is running the latest Scratch package for linux, but didn't see any problems. Try installing Scratch by the method tocsdetics describes below. Then see if the problem still happens. Thanks!

Thank you very much (cause that helped) and btw for the text diss problem i have a solution i think it appeared only after true type support was added could u plz check the code cause thats only buzzing


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#141 2009-11-17 08:49:28

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

fanofcena wrote:

Lightnin wrote:

Interesting! I tried space combat (cool game!) on my system, which is running the latest Scratch package for linux, but didn't see any problems. Try installing Scratch by the method tocsdetics describes below. Then see if the problem still happens. Thanks!

Thank you very much (cause that helped) and btw for the text diss problem i have a solution i think it appeared only after true type support was added could u plz check the code cause thats only buzzing

Hmmm.... text diss problem? Not sure I understand this one. Perhaps there is another thread about it that I haven't read....


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#142 2009-11-18 03:40:12

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: ITopic: scratch on linux

Lightnin wrote:

fanofcena wrote:

Lightnin wrote:

Interesting! I tried space combat (cool game!) on my system, which is running the latest Scratch package for linux, but didn't see any problems. Try installing Scratch by the method tocsdetics describes below. Then see if the problem still happens. Thanks!

Thank you very much (cause that helped) and btw for the text diss problem i have a solution i think it appeared only after true type support was added could u plz check the code cause thats only buzzing

Hmmm.... text diss problem? Not sure I understand this one. Perhaps there is another thread about it that I haven't read....

I know this isnt the best place to share this but
i mean that the text eventually dissapears I tested scratch on my skool PC and gave it the max strain it can but the problem showed up only when i inserted awesome truetype fonts generally a new one in each costume and edited them eventually suddenly with the project size just being 2300KB the text dissapear this error i think is somewhere in the true type plugin


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#143 2009-11-18 08:58:38

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

Hi fanofcena -
Thats sounds like a general Scratch bug, unrelated to Linux. Can you post about it in the troubleshooting forum? It is most helpful when Scratchers post the OS they found the problem on, the version of Scratch they are using, and the exact steps it takes to make the problem show up. (Like step 1: Paste 2 pages of text into the talk block."...etc.) The more clear your steps are, the easier it is for us to repeat them so we can see the problem on our own computers, which is the first step to fixing it.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#144 2009-12-01 17:08:38

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

senorita wrote:

johnm wrote:

We hope to make Scratch work on Linux eventually but, unfortunately, it will probably not be soon. As Markus says, you can get much of Scratch to work on Linux by using a Linux Squeak VM. But a number of things don't work:

  - presentation mode (as noted)
  - image effects
  - the "note" and "drum" commands (require a MIDI package)
  - support for the (optional) Scratch Board hardware

Although it may be a while before we officially support Linux, it's great that folks like Markus can tell you how to get it (mostly) working. Thanks, Markus.

  -- John (for the Scratch team)

Thanks for sharing it. This one is very informative.

Hi Senorita -
Actually, that post is very outdated! Presentation mode will work, as do the image effects, and support for the Scratch board. (We've come a long way since then).


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#145 2009-12-04 21:31:18

Mike16112
Scratcher
Registered: 2007-06-09
Posts: 100+

Re: ITopic: scratch on linux

I tried it, I refused to install because it can't find "Libcario 2" even though it is installed.


The programmer has a nap. HOLD OUT! PROGRAMMER!

Offline

 

#146 2009-12-05 12:04:53

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

Mike16112 wrote:

I tried it, I refused to install because it can't find "Libcario 2" even though it is installed.

Hi Mike -

Hmm, what version of Ubuntu are you using? The latest build on the PPA is only for Karmic.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#147 2009-12-16 23:45:26

spikebike
Scratcher
Registered: 2009-12-16
Posts: 1

Re: ITopic: scratch on linux

Just wanted to mention that at least the basic functionality (audio record, audio playback, and simple usage) "just works" on ubuntu 9.10 (karmic) x86-64 with just:
dpkg -i --force-architecture ./scratch_1.4.0.debian.14_i386.deb

The audio playback is a bit fast, but still usable.

Kudos to the MIT folks for a linux port.

Last edited by spikebike (2009-12-16 23:45:57)

Offline

 

#148 2009-12-17 11:22:37

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

spikebike wrote:

Just wanted to mention that at least the basic functionality (audio record, audio playback, and simple usage) "just works" on ubuntu 9.10 (karmic) x86-64 with just:
dpkg -i --force-architecture ./scratch_1.4.0.debian.14_i386.deb

The audio playback is a bit fast, but still usable.

Kudos to the MIT folks for a linux port.

Awesome, thanks!  smile

I'm actually a bit surprised, since sound recording is garbled on Jaunty i386 ... maybe the 64 bit PulseAudio is different from 32? Also, do you mean the audio playback of the sounds that come with Scratch is fast, or the playback of recorded sounds is fast? If you have any info to add to this ticket, it would be much appreciated!

https://www.assembla.com/spaces/scratchonlinux/tickets/8-Sound-recording-is--choppy--in-Karmic


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#149 2010-01-17 13:08:38

bob84
Scratcher
Registered: 2008-05-18
Posts: 12

Re: ITopic: scratch on linux

hello,
while opening scratch in debian 5.0 using
$ squeak Scratch.image

i cannot use many features of the software:
- save, save as
- choose new sprite from file
- import project
- export sprite
and many many others;
is there any way to get away from all these issues ?
when these errors appear, a debugging pink window pops out with this title:
"message not understood: findTokens:"

and a whole bunch of errors which i do not understand and, unfortunately i cannot past them here


thank you very much in advance

Offline

 

#150 2010-01-18 09:47:18

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: ITopic: scratch on linux

bob84 wrote:

hello,
while opening scratch in debian 5.0 using
$ squeak Scratch.image

i cannot use many features of the software:
- save, save as
- choose new sprite from file
- import project
- export sprite
and many many others;
is there any way to get away from all these issues ?
when these errors appear, a debugging pink window pops out with this title:
"message not understood: findTokens:"

and a whole bunch of errors which i do not understand and, unfortunately i cannot past them here


thank you very much in advance

Hmm - have you tried installing the Ubuntu / Debian package from here? That's more likely to be a better solution:
http://info.scratch.mit.edu/Linux_installer
We haven't tested it on Debian, but it should work.  smile 

If for some reason that solution isn't practical, I'll provide a little more info. The problem you are seeing above is because you aren't including links to the Scratch Plugin. Here's a copy of the startup script that installs with Debian package:

/usr/bin/scratch_squeak_vm \
-plugins /usr/lib/scratch/Plugins \
-vm-sound-PA \
/usr/lib/scratch/Scratch.image "${@}"

You'll want to replace scratch_squeak_vm with your Squeak-vm

vm-sound-PA refers to the PulseAudio plugin, which I'm not sure if Debian is compatible with. So you might try replacing that with vm-sound-ALSA or vm-sound-OSS

Please post back if you get it working, or if you have any additional questions!


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

Board footer