-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
efb5a0a
commit 2ce21d2
Showing
13 changed files
with
58 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
raspi-config nonint do_memory_split $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.