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
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
Offline
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
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.
Offline
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
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
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.
Offline
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!
Offline
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
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!
Offline
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
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)
Offline
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!
Offline
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
Offline
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....
Offline
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
Offline
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.
Offline
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).
Offline
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.
Offline
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
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!
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
Offline
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
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.
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!
Offline