Robertspark's CNC Setup

More
4 years 4 months ago #244449 by robertspark
Replied by robertspark on topic Robertspark's CNC Setup
Simple Update Script

create a desktop shortcut and within it add the following text:
Call it something line Update.Desktop
You will probably need to change the icon file to one you like or have available.
Code:
[Desktop Entry] Version=1.0 Type=Application Name=Update Comment= Exec=bash /home/chips/update.sh Icon=xfsm-reboot Path= Terminal=true StartupNotify=false


Create a file in the home directory called "update.sh" {if you change it to something else change the text in the desktop icon.....}

Once you save the file you will need to make it executable
via terminal type:
Code:
chmod 774 update.sh

cope and paste the following text into your update.sh file.
Note this is what I use.... you may not want to update your system....
I am also running a RIP install (for QTPlasmaC on Master) and a 2.8.2 install on Buster so that I can use NativeCAM (python2.7) for mill and lathe.
Hence I have 2 installs of linuxcnc as I would like to still use Python2.7 (for the time being).
Code:
#! /bin/sh sudo apt update sudo apt upgrade -y #cd ~/linuxcnc-dev/src ./autogen.sh ./configure --with-realtime=uspace make -j4 sudo make setuid echo -e "\e[1;41mall done!!\e[1;m" cd

Please Log in to join the conversation.

Time to create page: 0.043 seconds
Powered by Kunena Forum