Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions #8

Open
lurch opened this issue Sep 7, 2016 · 18 comments
Open

Suggestions #8

lurch opened this issue Sep 7, 2016 · 18 comments

Comments

@lurch
Copy link

lurch commented Sep 7, 2016

Some other nice "first boot" blocks might be some of the stuff that you typically use raspi-config to do just once, e.g. setting timezone, enabling camera, setting localisation, setting memory split, etc. etc.
You could look at https://github.com/RPi-Distro/rc_gui/blob/master/src/rc_gui.c to see how to 'drive' raspi-config using just command-line options.

@davidferguson
Copy link
Owner

Thanks - I'll look into it.

@dkirkby
Copy link
Contributor

dkirkby commented Sep 8, 2016

I agree this would be useful. It looks like you already have one block (Set hostname) that calls raspi-config and another (Set Boot Option) that is mostly copied from raspi-config. However, using one block per raspi-config option probably does not scale well, especially with all blocks currently in the same top-level directory.

@lurch
Copy link
Author

lurch commented Sep 8, 2016

However, using one block per raspi-config option

From what little I know of pibakery, that's the way it should work (although probably not necessary to cover every raspi-config option?)

especially with all blocks currently in the same top-level directory.

I wasn't aware of that. Maybe have different subdirectories for different categories?

@davidferguson
Copy link
Owner

From what little I know of pibakery, that's the way it should work (although probably not necessary to cover every raspi-config option?)

That's right, and I agree that not every option from raspi-config is needed (expand filesystem is redundant anyway, I believe the camera is auto-enabled now, etc).

The way PiBakery loads blocks at the moment requires them to all be in one directory. I can't see this being a problem in the immediate future, as I've worked with directories that contain many, many, many more directories than that (8 million at the last count).

@dkirkby
Copy link
Contributor

dkirkby commented Sep 8, 2016

With 5-10 raspi-config options, I agree that one per block is best for the new user but if you implemented all possible options (which someone will eventually ask for), the sheer number could be overwhelming unless there is some way to organize them hierarchically, and separate out the less common options.

@davidferguson
Copy link
Owner

If you're talking about how the blocks are viewed in Blockly, there is a way for me to set the order that blocks are displayed in each category in Blockly, and of course I can also add (and remove) categories as needed.

If you're talking about how they're saved in the pibakery-blocks directory, there's not much I can do about that now.

@lurch
Copy link
Author

lurch commented Sep 8, 2016

there's not much I can do about that now.

As an outside observer, it's great to see you putting so much emphasis on maintaining backwards-compatibility 👍

@dkirkby
Copy link
Contributor

dkirkby commented Sep 8, 2016

As another outside observer, the overall idea and execution of this project is great - thanks!!

@davidferguson
Copy link
Owner

I've added in blocks for Set SPI and Set I2C - any other suggestions from raspi-config?

@dkirkby
Copy link
Contributor

dkirkby commented Sep 18, 2016

I vote for setting the locale, timezone and keyboard map although the raspi-config menus are not very user friendly for this. It would be great to provide two versions, e.g. basiclocalize and expertlocalize, where basiclocalize has a single menu parameter of common choices (UK, USA, ...) and takes care of all three settings, while expertlocalize has three text parameters and requires that you know what you are doing.

@cognitivegears
Copy link
Contributor

FYI I just added a pull request for memsplit as I had need of this on a project I'm working on. I might take a try at the other ones mentioned above too if nobody else grabs them first.

@maitredede
Copy link

Hi :)

My suggestions :

  • Internationalization
  • GPIO Server (advanced options)
  • Audio (force output to jack, hdmi or auto)

@rmayol
Copy link

rmayol commented Oct 25, 2016

First of all: Thank you and congratulations for PiBakery!!
One question: I enable VPN server, but I don't know wich username and password it has configured. I configured RealVPN viewer on Mac and when I try to connect, it refuse my connection without more information.

@lurch
Copy link
Author

lurch commented Oct 25, 2016

Did you mean "VNC" instead of "VPN"? If you did, have a look at https://www.raspberrypi.org/documentation/remote-access/vnc/README.md

@eddwatts
Copy link

eddwatts commented Jan 6, 2017

i have an audio block (submitted for a pull request along with a few others), force to jack or hdmi but not the auto setting:
https://github.com/eddwatts/pibakery-blocks/tree/master/setaudio

@nsayer
Copy link

nsayer commented Mar 21, 2017

In addition to setting the locale, a good idea would be an option to set the WiFi regulatory domain.

@eddwatts
Copy link

WiFi regulatory domain:
have done this myself a few months ago - just not been added to the main section
my updated block:
https://github.com/eddwatts/pibakery-blocks/tree/master/wifisetup

@dannystaple
Copy link

Hmmm - did a fresh PiBakery write today - sadly looks like Camera is not enabled by default:

picamera.exc.PiCameraError: Camera is not enabled. Try running 'sudo raspi-config' and ensure that the camera has been enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants