Difference between revisions of "Scratch FixVariableDisplayIssue"

From eLinux.org
Jump to: navigation, search
(Info on fixing variable display slowness in Scratch)
 
m (Page no longer needed)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
NOTE - THE FIX IS NOW INCORPORATED IN UPDATED RASPBIAN RELEASE SO IS NO LONGER REQUIRED
 +
 
There is a bug within all offical versions of Scratch on all platforms that maninfests itself  badly on low power devices such as the RPi.
 
There is a bug within all offical versions of Scratch on all platforms that maninfests itself  badly on low power devices such as the RPi.
  
MathsWhizz from the Scratch forums has developed a solution which only just involves a few small changes to the Scratch.image.  This image is availble to download here.
+
MathsWhizz from the Scratch forums has developed a solution which only just involves a few small changes to the Scratch.image.  A modified image for use on Raspbian based systems is available to download here  
 +
 
 +
https://dl.dropbox.com/s/qjv9gk3qae3oy7k/ScratchM.image
 +
 
 +
 
 +
So, your Scratch.image file is situated in the
 +
 
 +
'''/usr/share/scratch'''
 +
 
 +
folder.
 +
 
 +
To avoid any issues, make a backup copy by using LX Terminal and typing
 +
 
 +
'''sudo cp /usr/share/scratch/Scratch.image /usr/share/scratch/Scratch.orig.image'''
 +
 
 +
Once this is complete, all we need to do is copy the downloaded image and overwrite the default one
 +
 
 +
'''sudo cp /home/pi/ScratchM.image /usr/share/scratch/Scratch.image'''
 +
 
 +
The modifications do nothing else than stop the variable values being updated on the screen unnecessarily .  No changes are made to any of the core code of Scratch and any Scratch scripts created with this version of Scratch are identical to any scripts produced by the default Scratch image.
  
The instructions for installing this slightly modified image will be posted shortly.
+
Back to Scratch page
 +
http://elinux.org/Scratch_on_RPi

Latest revision as of 21:08, 10 February 2013

NOTE - THE FIX IS NOW INCORPORATED IN UPDATED RASPBIAN RELEASE SO IS NO LONGER REQUIRED

There is a bug within all offical versions of Scratch on all platforms that maninfests itself badly on low power devices such as the RPi.

MathsWhizz from the Scratch forums has developed a solution which only just involves a few small changes to the Scratch.image. A modified image for use on Raspbian based systems is available to download here

https://dl.dropbox.com/s/qjv9gk3qae3oy7k/ScratchM.image


So, your Scratch.image file is situated in the

/usr/share/scratch

folder.

To avoid any issues, make a backup copy by using LX Terminal and typing

sudo cp /usr/share/scratch/Scratch.image /usr/share/scratch/Scratch.orig.image

Once this is complete, all we need to do is copy the downloaded image and overwrite the default one

sudo cp /home/pi/ScratchM.image /usr/share/scratch/Scratch.image

The modifications do nothing else than stop the variable values being updated on the screen unnecessarily . No changes are made to any of the core code of Scratch and any Scratch scripts created with this version of Scratch are identical to any scripts produced by the default Scratch image.

Back to Scratch page http://elinux.org/Scratch_on_RPi