Difference between revisions of "Scratch FixVariableDisplayIssue"

From eLinux.org
Jump to: navigation, search
m (Page no longer needed)
 
(One intermediate revision 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.
  
Line 6: Line 8:
  
  
Your Scratch.image file is at '''/usr/share/scratch'''.
+
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
  
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'''
+
'''sudo cp /home/pi/ScratchM.image /usr/share/scratch/Scratch.image'''
  
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.
+
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

Latest revision as of 14: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