Skip to content

Commit

Permalink
update blocks to 0.3.2
Browse files Browse the repository at this point in the history
Update pibakery-blocks to 0.3.2.

This update removes the tightvncserver blocks, and adds in the block
for running the RealVNC serve that is now preinstalled on new versions
of Raspbian.
  • Loading branch information
davidferguson committed Sep 29, 2016
1 parent efb5a0a commit 2ce21d2
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 77 deletions.
9 changes: 4 additions & 5 deletions pibakery-blocks/info.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"version": 3.0,
"compressedMD5": "0641d49724465a4b589fe5f77af2c756",
"downloadUrl": "https://github.com/davidferguson/pibakery-blocks/releases/download/v0.3.0/pibakery-blocks.zip",
"version": 3.2,
"compressedMD5": "56424ce5b2fe4c4a61fc6e2eaaada5f3",
"downloadUrl": "https://github.com/davidferguson/pibakery-blocks/releases/download/v0.3.2/pibakery-blocks.zip",
"loadOrder": [
"vncenable",
"packageinstall",
"lampinstall",
"iqaudio",
"vncserver",
"vncstart",
"wifisetup",
"downloadfile",
"otgether",
Expand Down
21 changes: 21 additions & 0 deletions pibakery-blocks/memsplit/memsplit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "memsplit",
"text": "Set the GPU memory to %1\\nRequires restart to take effect",
"script": "memsplit.sh",
"network": false,
"continue": true,
"type": "setting",
"category": "setting",
"supportedOperatingSystems": [
"raspbian-pibakery.img",
"raspbian-lite-pibakery.img"
],
"shortDescription":"Changes the GPU memory split. Requires reboot to take effect.",
"longDescription":"Set the memory split (the amount of memory used by the GPU.) For console-only systems, this value can be lowered to make more memory available, while GUI users may want to leave this or set it higher. Valid values include: 16/32/64/128/256. Requires reboot to take effect.",
"args": [
{
"type": "menu",
"options": ["16", "32", "64", "128", "256"]
}
]
}
3 changes: 3 additions & 0 deletions pibakery-blocks/memsplit/memsplit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

raspi-config nonint do_memory_split $1
20 changes: 20 additions & 0 deletions pibakery-blocks/vncenable/vncenable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "vncenable",
"text": "%1 VNC Server at Boot",
"script": "vncenable.sh",
"args": [
{
"type": "menu",
"options": ["Enable", "Disable"]
}
],
"network": false,
"continue": true,
"type": "software",
"category":"software",
"supportedOperatingSystems": [
"raspbian-pibakery.img"
],
"shortDescription":"Enable or disable the built in VNC server.",
"longDescription":"By default, the built in VNC server does not run on startup. Using this block you can enable it, or disable it if you have already enabled it."
}
10 changes: 10 additions & 0 deletions pibakery-blocks/vncenable/vncenable.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

if [ "$1" == "Enable" ]
then
systemctl enable vncserver-x11-serviced.service
systemctl start vncserver-x11-serviced.service
else
systemctl disable vncserver-x11-serviced.service
systemctl stop vncserver-x11-serviced.service
fi
Binary file not shown.
9 changes: 0 additions & 9 deletions pibakery-blocks/vncserver/vncInstall.sh

This file was deleted.

7 changes: 0 additions & 7 deletions pibakery-blocks/vncserver/vncSetup.sh

This file was deleted.

21 changes: 0 additions & 21 deletions pibakery-blocks/vncserver/vncserver.json

This file was deleted.

Binary file removed pibakery-blocks/vncserver/xfonts-base_1.0.3_all.deb
Binary file not shown.
5 changes: 0 additions & 5 deletions pibakery-blocks/vncstart/vncPrerun.sh

This file was deleted.

9 changes: 0 additions & 9 deletions pibakery-blocks/vncstart/vncRun.sh

This file was deleted.

21 changes: 0 additions & 21 deletions pibakery-blocks/vncstart/vncstart.json

This file was deleted.

0 comments on commit 2ce21d2

Please sign in to comment.