{"id":874,"date":"2016-10-07T19:37:13","date_gmt":"2016-10-07T17:37:13","guid":{"rendered":"http:\/\/heppg.de\/ikg\/wordpress\/?p=874"},"modified":"2016-11-17T20:03:07","modified_gmt":"2016-11-17T19:03:07","slug":"scratch-ini","status":"publish","type":"post","link":"https:\/\/heppg.de\/ikg\/wordpress\/?p=874","title":{"rendered":".scratch.ini"},"content":{"rendered":"<p>Scratch 1.4 on raspberry pi has some possibilities to tweak the behavior.<br \/>\nThis is done with a properties file &#8216;.scratch.ini&#8217; which is usually located in \/home\/pi.<br \/>\nNote the dot in front of the file name, which makes it a hidden file for linux.<br \/>\nYou need to enable the &#8216;hidden file&#8217;-feature in filemanager to see these files.<\/p>\n<p><strong>fontscale<\/strong>=1.2<br \/>\nChange the default size of fonts used for all the texts.<br \/>\nValues are floating point numbers, good values are [0.7 .. 1.5]<\/p>\n<p><strong>remoteconnectiondialog<\/strong>=0<br \/>\nPrevents the little sensor block dialogue to tell the using that remote sensing has been tuned on from popping up, useful for many projects<br \/>\nValues are [0, 1]<\/p>\n<p><strong>gpioserver<\/strong> = 0<br \/>\nDisables the gpioserver, 1 enables it, 2 makes it be on by default<br \/>\nValues are [0, 1, 2]<br \/>\nPlease note that with the scratch start script, the &#8216;pigpiod&#8217;-code is started independent from this setting. On pi A, this takes considerable cpu power with 15-20%.<\/p>\n<p><strong>presentation<\/strong>= 0<br \/>\nWill open Scratch in presentation mode; &#8216;1&#8217; will open Scratch in presentation mode<br \/>\nValues are [0, 1]<\/p>\n<p><strong>language<\/strong>=en<br \/>\nSome language descriptor fitting the two-letter ISO 639-1 standard<br \/>\nFor values see https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes<\/p>\n<p>Values I never tested:<\/p>\n<p><strong>home <\/strong>= directory for home<br \/>\n<strong>visibledrives<\/strong> = a list of drive names (Windows) or root directories (Mac) to add to the file dialogues.<br \/>\n<strong>share<\/strong> = 0 or non-0. 0 means do not allow sharing of project files<br \/>\n<strong>proxyserver<\/strong> = IP for a server<br \/>\n<strong>proxyport<\/strong> = port number for the server<br \/>\n<strong>renderplugin <\/strong>= 0 or non-0. 0 will try to force not using the PAngoCairo font renderer and likely make things ugly.<\/p>\n<p>Post is based on https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?p=1031498#p1031498<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scratch 1.4 on raspberry pi has some possibilities to tweak the behavior. This is done with a properties file &#8216;.scratch.ini&#8217; which is usually located in \/home\/pi. Note the dot in front of the file name, which makes it a hidden file for linux. You need to enable the &#8216;hidden file&#8217;-feature in filemanager to see these [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-874","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=874"}],"version-history":[{"count":3,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/874\/revisions"}],"predecessor-version":[{"id":880,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/874\/revisions\/880"}],"wp:attachment":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}