I am wondering what the state of the art in controllers is?

@Brandon_Satterfield Can you post the content of this file:

/etc/xdg/lxsession/LXDE/autostart

I will try to get it working on my test system in the next few days and see what I learn.

This is a brand new load of Raspbian. The file is stock I just added
@/Documents/bCNC-master/bCNC.py to the end of
“sudo nano /etc/xdg/lxsession/LXDE/autostart”
Nothing happens with this and tried a few variations.
What I did after was to add to the end of .bashrc
“sudo nano .bashrc”
“python Documents/bCNC-master/bcnc.py”
Each time I open the LXTerminal bCNC starts.
Looking now auto starting the LXTerminal at boot. This would actually be an OK method.

I have not tried a sleep yet though.

I can get about anything to run from /etc/rc.local but bCNC.py.
Added a sleep and can see it try, but no dice. About wore out, calling it a day.

@/home/pi/bCNC-master/bCNC

That is the path on my system. I’ll try now.

This worked for me:

sudo nano ~/.config/lxsession/LXDE-pi/autostart

@/home/pi/bCNC-master/bCNC

I also have Xscreensaver installed and disabled.

I need the GUI but if you don’t you would disable it and run in terminal all the time. It would save memory but I am not sure if it is important. Note, I am not running the .py file.

Here are all of my install notes:

bCNC install on rpi

Download Rasperian Image
Use SD Formatter to format the card
Use Etcher to burn the image to the SD Card
Add blank file to the root directory named ssh
Install SD card into RPi
Attach Ethernet Cable
Boot RPi
Search for IP in the Router
Putty into Rpi
Change Password with passwd
sudo apt-get update
sudo apt-get upgrade
sudo nano /etc/hosts
Change to 121.0.1.1 to bcnc
sudo raspi-config
Enable VNC in interface options
sudo apt-get install python-pip
sudo pip install pyserial --upgrade
Download and unzip bCNC
Move folder to home/pi

Create desktop file:
[Desktop Entry]
Name=bCNC
Comment=This icon starts bCNC
Icon=/usr/share/pixmaps/openbox.xpm
Exec=/home/pi/bCNC-master/bCNC
Type=Application
Encoding=UTF-8
Terminal=false

Install Xscreensaver and diable
sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra
Preferences>Screensaver>Mode>Disable

To autostart bCNC after the Desktop:
sudo nano ~/.config/lxsession/LXDE-pi/autostart
Add:
@/home/pi/bCNC-master/bCNC

Interesting. Maybe trying to run the .py file is the issue. Let me aim at the executable.

I am keeping the pixel GUI. For native PC users this will make life easier.

Installed Xscreensaver but disabled. I have a short clip play at first during boot just to make it look cooler than text Linux spits. But that’s just an OXmplayer and bashrc direct.

Have a few things to do this morning but after will start digging through this. Thank you again for the help.

@Brandon_Satterfield Make sure you notice I am using a different file than I first posted. They files look the same but only the second one worked on my pi.

Worked like a charm!!!

@Colin_Kaminski thank you brother!

@Brandon_Satterfield No worries. Now I just need a controller compatible with bCNC…

If the budget calls for it. All in one control box is. :slight_smile:

Don’t tell the Mrs…

Following