RaspberryPi 3 with PiTFT 3.5" Restive Touch & ElectronJS

@xyala it’s actually the exact same line (https://github.com/resin-io/resin-electronjs/blob/master/app/start.sh#L13) , prepended with FRAMEBUFFER=/dev/fb1 i.e.

FRAMEBUFFER=/dev/fb1 startx /usr/src/app/node_modules/electron/dist/electron /usr/src/app --enable-logging

I’m going to try this as soon as I touch down ! (Not sure it’s a good idea to take out the RPI on the plane

haha yeah, that would be wise I guess

You’re welcome, let us know if this worked for you. Fly safe.

1 Like

Hey guys!

Sorry for the delay, I’ve been held back by some work.
Just tested, and it works! So @lekkas your solution is the right one. Maybe this is something that could be highlighted on the readme page or something so it’s obvious for the next.

I’m going to now start playing with ElectronJS :slight_smile:

1 Like

Hey @xyala,

Glad the solution worked for you.

I’ve sent a PR here (https://github.com/resin-io/resin-electronjs/pull/56) to add the configuration instructions in the README. I realised that this configuration can also be applied as an environment variable without requiring any changes in the repository, so that’s the option I ended up documenting.

Thanks again for reaching out about this! Happy hacking with ElectronJS

1 Like