Difference between revisions of "Scratch FixVariableDisplayIssue"

From eLinux.org
Jump to: navigation, search
m
Line 6: Line 6:
  
  
Your Scratch.image file is at '''/usr/share/scratch'''.
+
So, your Scratch.image file is situated in the
  
I suggest a '''sudo cp /usr/share/scratch/Scratch.image /usr/share/scratch/Scratch.orig.image''' to give you selves a backup first and then '''sudo cp /home/pi/ScratchM.image /usr/share/scratch/Scratch.image'''
+
'''/usr/share/scratch'''
  
The modifications to nothing else than stop the variable values being updated on the screen unncessarily .  No changes are made to any of the core code of Sratch and any Scratch scripts created wiith this version of Scratch are identical to any scripts produced by the default Scratch image.
+
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
 
Back to Scratch page
 
http://elinux.org/Scratch_on_RPi
 
http://elinux.org/Scratch_on_RPi

Revision as of 10:16, 5 January 2013

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