From 7e62ab7137754dda1748316489254b07af61a18c Mon Sep 17 00:00:00 2001 From: ArduinoShop <72320885+ArduinoShop@users.noreply.github.com> Date: Mon, 3 May 2021 19:23:09 -0600 Subject: [PATCH 01/12] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 532c5eaa8..2966c1f04 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ [![Arduino IDE](https://github.com/arduino/arduino-ide/workflows/Arduino%20IDE/badge.svg)](https://github.com/arduino/arduino-ide/actions?query=workflow%3A%22Arduino+IDE%22) +Added - Linux_Install script + This repository contains the source code of the Arduino IDE 2.x, which is currently in beta stage. If you're looking for the stable IDE, go to the repository of the 1.x version at https://github.com/arduino/Arduino. The Arduino IDE 2.x is a major rewrite, sharing no code with the IDE 1.x. It is based on the [Theia IDE](https://theia-ide.org/) framework and built with [Electron](https://www.electronjs.org/). The backend operations such as compilation and uploading are offloaded to an [arduino-cli](https://github.com/arduino/arduino-cli) instance running in daemon mode. This new IDE was developed with the goal of preserving the same interface and user experience of the previous major version in order to provide a frictionless upgrade. From d20f71a94142876bbada3647aae6f9cfff7eb3a7 Mon Sep 17 00:00:00 2001 From: ArduinoShop <72320885+ArduinoShop@users.noreply.github.com> Date: Mon, 3 May 2021 19:37:06 -0600 Subject: [PATCH 02/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2966c1f04..7d4ad4f5a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Added - Linux_Install script -This repository contains the source code of the Arduino IDE 2.x, which is currently in beta stage. If you're looking for the stable IDE, go to the repository of the 1.x version at https://github.com/arduino/Arduino. +This repository also contains the Linux_Install script the source code of the Arduino IDE 2.x, which is currently in beta stage. If you're looking for the stable IDE, go to the repository of the 1.x version at https://github.com/arduino/Arduino. The Arduino IDE 2.x is a major rewrite, sharing no code with the IDE 1.x. It is based on the [Theia IDE](https://theia-ide.org/) framework and built with [Electron](https://www.electronjs.org/). The backend operations such as compilation and uploading are offloaded to an [arduino-cli](https://github.com/arduino/arduino-cli) instance running in daemon mode. This new IDE was developed with the goal of preserving the same interface and user experience of the previous major version in order to provide a frictionless upgrade. From 47df75385dcf4c3a542388aea13f27c125b88160 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Tue, 4 May 2021 04:21:30 -0600 Subject: [PATCH 03/12] testing 1.2.3 --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 7d4ad4f5a..5a4765cab 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ [![Arduino IDE](https://github.com/arduino/arduino-ide/workflows/Arduino%20IDE/badge.svg)](https://github.com/arduino/arduino-ide/actions?query=workflow%3A%22Arduino+IDE%22) -Added - Linux_Install script - This repository also contains the Linux_Install script the source code of the Arduino IDE 2.x, which is currently in beta stage. If you're looking for the stable IDE, go to the repository of the 1.x version at https://github.com/arduino/Arduino. The Arduino IDE 2.x is a major rewrite, sharing no code with the IDE 1.x. It is based on the [Theia IDE](https://theia-ide.org/) framework and built with [Electron](https://www.electronjs.org/). The backend operations such as compilation and uploading are offloaded to an [arduino-cli](https://github.com/arduino/arduino-cli) instance running in daemon mode. This new IDE was developed with the goal of preserving the same interface and user experience of the previous major version in order to provide a frictionless upgrade. From 6fc7fd31d6ce9abf00ddbdbaf4772813c1365f26 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Tue, 4 May 2021 04:41:42 -0600 Subject: [PATCH 04/12] getting synced --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a4765cab..532c5eaa8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Arduino IDE](https://github.com/arduino/arduino-ide/workflows/Arduino%20IDE/badge.svg)](https://github.com/arduino/arduino-ide/actions?query=workflow%3A%22Arduino+IDE%22) -This repository also contains the Linux_Install script the source code of the Arduino IDE 2.x, which is currently in beta stage. If you're looking for the stable IDE, go to the repository of the 1.x version at https://github.com/arduino/Arduino. +This repository contains the source code of the Arduino IDE 2.x, which is currently in beta stage. If you're looking for the stable IDE, go to the repository of the 1.x version at https://github.com/arduino/Arduino. The Arduino IDE 2.x is a major rewrite, sharing no code with the IDE 1.x. It is based on the [Theia IDE](https://theia-ide.org/) framework and built with [Electron](https://www.electronjs.org/). The backend operations such as compilation and uploading are offloaded to an [arduino-cli](https://github.com/arduino/arduino-cli) instance running in daemon mode. This new IDE was developed with the goal of preserving the same interface and user experience of the previous major version in order to provide a frictionless upgrade. From d78149f3c5699e6ce413f83582707da541bd26f1 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Tue, 4 May 2021 17:23:41 -0600 Subject: [PATCH 05/12] include Linux_Intall_ReadME.md and Arduino2 icon --- Linux_Intall_ReadME.md | 36 ++++++++++++++++++++++++++++++++++++ arduino2.png | Bin 0 -> 18982 bytes 2 files changed, 36 insertions(+) create mode 100644 Linux_Intall_ReadME.md create mode 100644 arduino2.png diff --git a/Linux_Intall_ReadME.md b/Linux_Intall_ReadME.md new file mode 100644 index 000000000..331f5a65a --- /dev/null +++ b/Linux_Intall_ReadME.md @@ -0,0 +1,36 @@ + + +# Arduino IDE 2.x (beta) Linux Installer + +[![Arduino IDE](https://github.com/arduino/arduino-ide/workflows/Arduino%20IDE/badge.svg)](https://github.com/arduino/arduino-ide/actions?query=workflow%3A%22Arduino+IDE%22) + +This bash script installs the Arduino IDE 2.0 on Linux Desktop.. + +-- May 4 2021 - testing on Ubuntu 21.04 ( Hippo ) + +# Instructions + +1). open a termina window from the directory where you installed IDE 2.0 +2). type ./Linux_Install.sh [option] where option is one of the following + local - installs the IDE for the local user only ( default is no option is given ) + system - installs the IDE system wide for all users + ulocal - uninstalls the IDE from the current user. + usystem - uninstalls the IDE system wide from all users + +3). go to Show Application ( button in lower left corner - or hit Home/Windows key ) +4). type Arduino in the search bar - you should see an icon for Arduino 2.0 +5). you can click on the icon to run the IDE - or right-click to add a it to the dock. + + + + + + +==================================================================================================================== + + +This open source code was written by the Arduino team and is maintained on a daily basis with the help of the community. We invest a considerable amount of time in development, testing and optimization. Please consider [donating](https://www.arduino.cc/en/donate/) or [sponsoring](https://github.com/sponsors/arduino) to support our work, as well as [buying original Arduino boards](https://store.arduino.cc/) which is the best way to make sure our effort can continue in the long term. + +## License + +The code contained in this repository and the executable distributions are licensed under the terms of the GNU AGPLv3. The executable distributions contain third-party code licensed under other compatible licenses such as GPLv2, MIT and BSD-3. If you have questions about licensing please contact us at [license@arduino.cc](mailto:license@arduino.cc). diff --git a/arduino2.png b/arduino2.png new file mode 100644 index 0000000000000000000000000000000000000000..b407e39c94d5e23afc3f95ae5fad225e147a1258 GIT binary patch literal 18982 zcmeIaWq4alwk;~#F*7sUiJ6(1nVDr~#@LRTA!dr1nK3a_%*;$NGsAWE-rc?X-Sf_U z=lkCM*U~4bsxil$HELEZm9&<^6y(I=VQ^po006wCgox7nE5q*x6vX?pI_N_P06=B! zsiNVmWavg@?`UUgVGSg5_OJ&M0o^T30RZ=)9LE9^u=4NZpt^s&YxouJr?|w)OWb*@p3N4sR}O zYrbdS&iVSr`3czd<=qKj)~l>veY~$Y*4ys(Z$F1VwZA&$jI&o>={|nWy}P@(xVpH| zo0wmxzm6tq-v4^yxqhxkaqlK_@!;{Dbhsjku&HtHY3RbI`12c~@C7GOo#ai-PI@Tn ztgNYq;hQuV{O;#=)^GBUJm(J&S4!h4&j@rHuQy%%d2o;GL1XiSKX`22b6~>=b)fFT zyg#kgCcyc_Htly8EmsXayV!o;Kd^g!=5D$P9)b_3QhjQ@wY#{uS+(0#e0*|uCwTj= z@cQ^@tjQnKcD=m4d1U+?gFJgCf6Fg6zwH2!Zt_T~v+>3!dt zCpd?(_pM*jsQY)(C*g#ti+nxMVYkM(i^_{zl#joEe4OXkTIhr+5T`@vlfYRM?oVEgDV2vn8aJ^gQfN{Wqyj%a7lie)*+_}P-Bc7 zHrNZAJW0iovLH##6P|TW#fi3IPR;9z7R!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@s`9~c<@hrz8xm*-9G(kTLmWRv2(6%1iUiBi&jGpJ7`f-yU40*_LqXKhvwhh z6?;U}Lp0KokHp4(DY&guCm_ee8M9f|ZGGS0cw7$>93GP77T>Golzz-r3`8=hq3awG zV$=2W5EvOD^41d}16BG6^j-gXIqUoMF|0Spdf}M`6hOxDFo_%<{wON>s{%B`$P~h8 z5^lu@2Nuwq3sr@QoFYc{6)6g0Cr)@h(e6hJJk|@@`(HR%sllQrM)cw1{vbcZCFruA z^BJ-f-CK-B;NDrJdre{@m}Vu265?u8nQi9r+JkR-TRpk={^U=I(YR~oDNo}EYI&qa z;b!|xO;vW*Z#g>tz&V>1mn73jr=mLWdh7{CL=ZE0F)8f$wziLj&j}#|s9En#_heQ8 zs6=S9uL#?$iYeBaRYL_i#ulC(db)qjK!=Iuua1rqiX_#FPWNE(qv4#by+AxkLd l_bR3|ot^2}d3(B8H!@NvrbmqHd*2=cBt_*!DuoQb{4X{TMw|cu literal 0 HcmV?d00001 From 6b96b6a55a50cfb50a2eddd26a51578fcf74ebd8 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Tue, 4 May 2021 17:30:34 -0600 Subject: [PATCH 06/12] updat Linux_Intall_ReadME.md --- Linux_Intall_ReadME.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux_Intall_ReadME.md b/Linux_Intall_ReadME.md index 331f5a65a..e17c545c0 100644 --- a/Linux_Intall_ReadME.md +++ b/Linux_Intall_ReadME.md @@ -21,7 +21,7 @@ This bash script installs the Arduino IDE 2.0 on Linux Desktop.. 4). type Arduino in the search bar - you should see an icon for Arduino 2.0 5). you can click on the icon to run the IDE - or right-click to add a it to the dock. - + From bc4b309b8f00707e9280e6bb271fd111fa9db311 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Tue, 4 May 2021 17:38:30 -0600 Subject: [PATCH 07/12] update Linux_Install.md --- Linux_Intall_ReadME.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Linux_Intall_ReadME.md b/Linux_Intall_ReadME.md index e17c545c0..7fbc51973 100644 --- a/Linux_Intall_ReadME.md +++ b/Linux_Intall_ReadME.md @@ -18,10 +18,10 @@ This bash script installs the Arduino IDE 2.0 on Linux Desktop.. usystem - uninstalls the IDE system wide from all users 3). go to Show Application ( button in lower left corner - or hit Home/Windows key ) -4). type Arduino in the search bar - you should see an icon for Arduino 2.0 -5). you can click on the icon to run the IDE - or right-click to add a it to the dock. +4). type Arduino in the search bar - you should see an icon for Arduino 2.0 +5). click on the icon to run the IDE - or right-click to add a it to the dock. + - From c024184b79bcd466c40bddd735aa75bbc23e866f Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Tue, 4 May 2021 21:23:28 -0600 Subject: [PATCH 08/12] Move to .txt instead of .md - more suitable for Linux --- Linux_Intall_ReadME.md | 36 ------------------------------------ Linux_Intall_ReadME.txt | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 36 deletions(-) delete mode 100644 Linux_Intall_ReadME.md create mode 100644 Linux_Intall_ReadME.txt diff --git a/Linux_Intall_ReadME.md b/Linux_Intall_ReadME.md deleted file mode 100644 index 7fbc51973..000000000 --- a/Linux_Intall_ReadME.md +++ /dev/null @@ -1,36 +0,0 @@ - - -# Arduino IDE 2.x (beta) Linux Installer - -[![Arduino IDE](https://github.com/arduino/arduino-ide/workflows/Arduino%20IDE/badge.svg)](https://github.com/arduino/arduino-ide/actions?query=workflow%3A%22Arduino+IDE%22) - -This bash script installs the Arduino IDE 2.0 on Linux Desktop.. - --- May 4 2021 - testing on Ubuntu 21.04 ( Hippo ) - -# Instructions - -1). open a termina window from the directory where you installed IDE 2.0 -2). type ./Linux_Install.sh [option] where option is one of the following - local - installs the IDE for the local user only ( default is no option is given ) - system - installs the IDE system wide for all users - ulocal - uninstalls the IDE from the current user. - usystem - uninstalls the IDE system wide from all users - -3). go to Show Application ( button in lower left corner - or hit Home/Windows key ) -4). type Arduino in the search bar - you should see an icon for Arduino 2.0 -5). click on the icon to run the IDE - or right-click to add a it to the dock. - - - - - - -==================================================================================================================== - - -This open source code was written by the Arduino team and is maintained on a daily basis with the help of the community. We invest a considerable amount of time in development, testing and optimization. Please consider [donating](https://www.arduino.cc/en/donate/) or [sponsoring](https://github.com/sponsors/arduino) to support our work, as well as [buying original Arduino boards](https://store.arduino.cc/) which is the best way to make sure our effort can continue in the long term. - -## License - -The code contained in this repository and the executable distributions are licensed under the terms of the GNU AGPLv3. The executable distributions contain third-party code licensed under other compatible licenses such as GPLv2, MIT and BSD-3. If you have questions about licensing please contact us at [license@arduino.cc](mailto:license@arduino.cc). diff --git a/Linux_Intall_ReadME.txt b/Linux_Intall_ReadME.txt new file mode 100644 index 000000000..a714aef5f --- /dev/null +++ b/Linux_Intall_ReadME.txt @@ -0,0 +1,32 @@ + +# Arduino IDE 2.x (beta) Linux Installer by Art Sayler - https://ArduinoShop.ca + +This bash script installs the Arduino IDE 2.0 on the Linux Desktop.. + +-- May 4 2021 - testing on Ubuntu 21.04 ( Hippo ) + +# Instructions + +1). open a termina window from the directory where you installed IDE 2.0. + +2). type ./Linux_Install.sh [option] where option is one of the following: + local - installs the IDE for the local user only ( default if no option is given ). + system - installs the IDE system wide for all users. + ulocal - uninstalls the IDE from the current user. + usystem - uninstalls the IDE system wide from all users. + +3). go to "Show Applications" ( button in lower left corner - or hit Home/Windows key ) + +4). type Arduino in the search bar - you should see an icon for Arduino 2.0 + +5). click on the icon to run the IDE - or right-click to add it to the dock. + + +==================================================================================================================== + + +This open source code was written by the Arduino team and is maintained on a daily basis with the help of the community. We invest a considerable amount of time in development, testing and optimization. Please consider donating to support our work, as well as buying original Arduino boards which is the best way to make sure our efforts can continue in the long term. + +## License + +The code contained in this repository and the executable distributions are licensed under the terms of the GNU AGPLv3. The executable distributions contain third-party code licensed under other compatible licenses such as GPLv2, MIT and BSD-3. If you have questions about licensing please contact us at license@arduino.cc From b4db350ffbc80bf42a177a959f120e73c959a2f2 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Thu, 6 May 2021 14:27:32 -0600 Subject: [PATCH 09/12] added Linux_Install.sh and desktop.template --- Linux_Install.sh | 238 +++++++++++++++++++++++++++++++++++++++++++++++ desktop.template | 12 +++ 2 files changed, 250 insertions(+) create mode 100755 Linux_Install.sh create mode 100644 desktop.template diff --git a/Linux_Install.sh b/Linux_Install.sh new file mode 100755 index 000000000..ab9fbda3d --- /dev/null +++ b/Linux_Install.sh @@ -0,0 +1,238 @@ +#!/bin/sh + +############################################################################ +## Linux install script for Arduino IDE 2.0 - contributed by Art Sayler ## +## https://github.com/arduinoshop ## +## +## +############################################################################ + +echo "\nLinux install script for the Arduino IDE 2.0 ${SCRIPT_PATH}\n" + +MODE=U +YN=n +RESOURCE_NAME=arduino-arduinoide2 +RED='\033[0;31m' +NOCOLOR='\033[0m' + +if [ -z $1 ] +then + echo no option selected - defaulting to single user instalation + echo "usage: ./Linux_Install.sh [local] | [ulocal]" + echo " local - installs IDE for user $USER only ( default if no option given )" + echo " ulocal - uninstall IDE from user $USER" + echo "usage: sudo ./Linux_Install.sh [system] | [usystem]" + echo " system - install IDE systemwide for all users" + echo " usystem - uninstall IDE systemwide from all users\n" + echo "Both local and system installations may be used on the same computer" + echo "for example - a stable release installed systemwide and a nightly for a development user\n" + + MSG="Install IDE 2.0 for user $USER only?" + +elif [ $1 = local ] +then + MSG="Install IDE 2.0 for user $USER only?" +elif [ $1 = ulocal ] +then + MSG="UnInstall IDE 2.0 from user $USER?" + MODE=u +elif [ $1 = usystem ] +then + MSG="UnInstall IDE 2.0 system wide (all users will be affected)?" + MODE=s +elif [ $1 = system ] +then + MSG="Install IDE 2.0 system wide (all users will have access)?" + MODE=S +fi + +# Get absolute path from which this script file was executed +# (Could be changed to "pwd -P" to resolve symlinks to their target) +SCRIPT_PATH=$( pwd -P ) +LIB_PATH=$SCRIPT_PATH +EXE_PATH=$SCRIPT_PATH +# echo S_PATH = $SCRIPT_PATH + +# Install by simply copying desktop file (fallback) +simple_install_f() { + echo +# Using Simple - MODE = $MODE +###### Remove local user installation + + if [ $MODE = u ] + then + echo Uninstalling IDE 2.0 from user $USER + echo "Deleting ${HOME}/.local/share/applications/${RESOURCE_NAME}l.desktop" + rm ${HOME}/.local/share/applications/${RESOURCE_NAME}l.desktop + + echo "Deleting ${HOME}/.local/lib/${RESOURCE_NAME}" + rm -rf ${HOME}/.local/lib/${RESOURCE_NAME} + + echo "Deleting ${HOME}/.local/bin/${RESOURCE_NAME}" + rm ${HOME}/.local/bin/${RESOURCE_NAME} + + echo "Installation directory and it's contents including this script can be removed" + read -p "Delete directory ${SCRIPT_PATH}? (YES for the affirmative)" YN + if [ -z $YN ] + then + echo exiting; exit + elif [ $YN = YES ] + then + echo "Removing Directory ${SCRIPT_PATH}" + fi + fi + +###### Perform local user only installation + if [ $MODE = U ] + then + echo "For a more professional installation... and to remove clutter" + echo "in ${SCRIPT_PATH}\nyou have the option to move these files." + read -p "Move downloaded files to ~/.local/bin and lib ? (Y/N) " YN + if [ -z $YN ] + then + YN=n; echo "Installion files will not be copied." + fi + + LIB_PATH=${HOME}/.local/lib/${RESOURCE_NAME} + EXE_PATH=${HOME}/.local/bin + + if [ $YN = Y ] || [ $YN = y ] + then + mkdir -p $LIB_PATH + echo -n "Copying files... " + cp -rf * ${HOME}/.local/lib/${RESOURCE_NAME} + echo "Files copied...\n" + fi + + mkdir -p "${HOME}/.local/bin" + rm -f ${HOME}/.local/bin/${RESOURCE_NAME} + ln -s ${HOME}/.local/lib/${RESOURCE_NAME}/arduino-ide ${HOME}/.local/bin/${RESOURCE_NAME} + + # Create a temp dir accessible by all users + TMP_DIR=`mktemp --directory` + + # Create *.desktop file using the existing template file + sed -e "s,,${EXE_PATH}/${RESOURCE_NAME},g" \ + -e "s,,local,g" \ + -e "s,,${LIB_PATH}/arduino2.png,g" "${SCRIPT_PATH}/desktop.template" > "${TMP_DIR}/${RESOURCE_NAME}l.desktop" + + mkdir -p "${HOME}/.local/share/applications" + cp "${TMP_DIR}/${RESOURCE_NAME}l.desktop" "${HOME}/.local/share/applications/" + echo "Installing Launcher and Icon\n" + + echo "Launcher and Icon Installed\n" + echo "Go to \"Show Application\" ( button in lower left / \"Windows Key\")" + echo "Search for \"Arduino\" - you will see an Icon labeled \"2.0 system\"" + echo "click on this icon to run the IDE or right-click to add it to the Dock\n" + + # mkdir -p "${HOME}/.local/share/metainfo" + # cp "${SCRIPT_PATH}/lib/appdata.xml" "${HOME}/.local/share/metainfo/${RESOURCE_NAME}.appdata.xml" + + # Clean up temp dir + rm "${TMP_DIR}/${RESOURCE_NAME}l.desktop" + rmdir "${TMP_DIR}" + fi + +######## System Wide Install / UnInstall + if [ $MODE = s ] || [ $MODE = S ] + then + if [ $USER != root ] + then + echo "$RED You must be SuperUser to make SystemWide changes$NOCOLOR\007" + echo "Use sudo ./Linux_Install.sh [option]\n" + exit + fi + fi + +######## System Wide UnInstall + + if [ $MODE = s ] + then + echo Uninstalling IDE 2.0 systemwide + + if [ -f /usr/local/share/applications/${RESOURCE_NAME}.desktop ] + then + echo "Deleting /usr/local/share/applications/${RESOURCE_NAME}.desktop" + rm /usr/local/share/applications/${RESOURCE_NAME}.desktop + fi + + if [ -f /usr/local/bin/${RESOURCE_NAME} ] + then + echo "Deleting /usr/local/bin/${RESOURCE_NAME}" + rm /usr/local/bin/${RESOURCE_NAME} + fi + + if [ -d /usr/local/lib/${RESOURCE_NAME} ] + then + echo "Deleting Directory /usr/local/lib/${RESOURCE_NAME}" + rm -rf /usr/local/lib/${RESOURCE_NAME} + else + echo "/usr/local/lib/${RESOURCE_NAME} does not exist" + fi + + echo "Installation directory and it's contents including this script can be removed" + read -p "Delete directory ${SCRIPT_PATH} (YES)? " YN + if [ -z $YN ] + then + echo "Directory ${SCRIPT_PATH} will not be removed" + elif [ $YN != YES ] + then + echo "Directory ${SCRIPT_PATH} will not be removed" + else + echo "Removing Directory ${SCRIPT_PATH}" + fi + fi + +###### Perform SystemWide installation + if [ $MODE = S ] + then + echo -n "Copying downloaded files to /usr/local/lib... " + LIB_PATH=/usr/local/lib/${RESOURCE_NAME} + EXE_PATH=/usr/local/bin + mkdir -p $LIB_PATH + cp -rf * $LIB_PATH + rm -f $EXE_PATH/${RESOURCE_NAME} + ln -s $LIB_PATH/arduino-ide $EXE_PATH/${RESOURCE_NAME} + echo "Files copied...\n" + + # Create a temp dir accessible by all users + TMP_DIR=`mktemp --directory` + + # Create *.desktop file using the existing template file + sed -e "s,,${EXE_PATH}/${RESOURCE_NAME},g" \ + -e "s,,system,g" \ + -e "s,,${LIB_PATH}/arduino2.png,g" "${SCRIPT_PATH}/desktop.template" > "${TMP_DIR}/${RESOURCE_NAME}.desktop" + + mkdir -p "${HOME}/.local/share/applications" + cp "${TMP_DIR}/${RESOURCE_NAME}.desktop" "/usr/local/share/applications/" + echo "Launcher and Icon Installed\n" + echo "Go to \"Show Application\" ( button in lower left / \"Windows Key\")" + echo "Search for \"Arduino\" - you will see an Icon labeled \"2.0 system\"" + echo "click on this icon to run the IDE or right-click to add it to the Dock\n" + + # mkdir -p "${HOME}/.local/share/metainfo" + # cp "${SCRIPT_PATH}/lib/appdata.xml" "${HOME}/.local/share/metainfo/${RESOURCE_NAME}.appdata.xml" + + # Clean up temp dir + rm "${TMP_DIR}/${RESOURCE_NAME}.desktop" + rmdir "${TMP_DIR}" + fi + } + +# --- main Script starts here --- + +read -p "$MSG (Y/N) " YN + +if [ -z $YN ] +then + echo OK - exiting + exit +elif [ $YN = n ] +then + echo OK - No is No... exiting + exit +fi + +simple_install_f + +exit diff --git a/desktop.template b/desktop.template new file mode 100644 index 000000000..e195705af --- /dev/null +++ b/desktop.template @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Name=IDE +GenericName=Arduino IDE +Comment=Open-source electronics prototyping platform +Exec= +Icon= +Terminal=false +Categories=Development;IDE;Electronics; +MimeType=text/x-arduino; +Keywords=embedded electronics;electronics;avr;microcontroller; +StartupWMClass=processing-app-Base From 582f3ce9b23714d8056a28eb4dedd70cf4998e66 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Thu, 6 May 2021 15:05:39 -0600 Subject: [PATCH 10/12] correct spelling err on readME.txt --- Linux_Intall_ReadME.txt => Linux_Install_ReadME.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Linux_Intall_ReadME.txt => Linux_Install_ReadME.txt (100%) diff --git a/Linux_Intall_ReadME.txt b/Linux_Install_ReadME.txt similarity index 100% rename from Linux_Intall_ReadME.txt rename to Linux_Install_ReadME.txt From f16423e5834c4ce1912219ab0fecf54723f75836 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Fri, 7 May 2021 23:51:19 -0600 Subject: [PATCH 11/12] added Lubuntu Testing details --- Linux_Install_ReadME.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Linux_Install_ReadME.txt b/Linux_Install_ReadME.txt index a714aef5f..c28ae043d 100644 --- a/Linux_Install_ReadME.txt +++ b/Linux_Install_ReadME.txt @@ -3,7 +3,10 @@ This bash script installs the Arduino IDE 2.0 on the Linux Desktop.. --- May 4 2021 - testing on Ubuntu 21.04 ( Hippo ) +-- May 5 2021 - tested on Gnome3 / Ubuntu 21.04 ( Hippo ) +-- May 6 2021 - tested on Gnome3 / Ubuntu 20.10 ( Gorilla ) +-- May 6 2021 - tested on Gnome3 / Debian 10 ( Buster ) +-- May 7 2021 - tested on LXQt / Lubuntu 21.04 ( Hippo ) # Instructions From a57ffc5b3e9258f63eb808cf11990ddb34843795 Mon Sep 17 00:00:00 2001 From: "IDE 2.0" Date: Sat, 8 May 2021 09:17:27 -0600 Subject: [PATCH 12/12] ver 1.00 of Linux_Install.sh updated Linux_Install_ReadME.txt with Lubuntu details --- Linux_Install.sh | 67 +++++++++++++++++----------------------- Linux_Install_ReadME.txt | 4 +++ 2 files changed, 32 insertions(+), 39 deletions(-) diff --git a/Linux_Install.sh b/Linux_Install.sh index ab9fbda3d..775caf7e1 100755 --- a/Linux_Install.sh +++ b/Linux_Install.sh @@ -4,16 +4,17 @@ ## Linux install script for Arduino IDE 2.0 - contributed by Art Sayler ## ## https://github.com/arduinoshop ## ## -## +## version 1.00 ############################################################################ -echo "\nLinux install script for the Arduino IDE 2.0 ${SCRIPT_PATH}\n" - MODE=U YN=n RESOURCE_NAME=arduino-arduinoide2 RED='\033[0;31m' NOCOLOR='\033[0m' +VERSION="1.00" + +echo "\nLinux_Install.sh ver. $VERSION for the Arduino IDE 2.0\n" if [ -z $1 ] then @@ -53,10 +54,21 @@ LIB_PATH=$SCRIPT_PATH EXE_PATH=$SCRIPT_PATH # echo S_PATH = $SCRIPT_PATH -# Install by simply copying desktop file (fallback) -simple_install_f() { - echo -# Using Simple - MODE = $MODE + +read -p "$MSG (Y/N) " YN + +if [ -z $YN ] +then + echo OK - exiting + exit +elif [ $YN = n ] +then + echo OK - No is No... exiting + exit +fi + +echo + ###### Remove local user installation if [ $MODE = u ] @@ -79,19 +91,14 @@ simple_install_f() { elif [ $YN = YES ] then echo "Removing Directory ${SCRIPT_PATH}" + cd .. + rm -rf ${SCRIPT_PATH} fi fi ###### Perform local user only installation if [ $MODE = U ] then - echo "For a more professional installation... and to remove clutter" - echo "in ${SCRIPT_PATH}\nyou have the option to move these files." - read -p "Move downloaded files to ~/.local/bin and lib ? (Y/N) " YN - if [ -z $YN ] - then - YN=n; echo "Installion files will not be copied." - fi LIB_PATH=${HOME}/.local/lib/${RESOURCE_NAME} EXE_PATH=${HOME}/.local/bin @@ -121,14 +128,11 @@ simple_install_f() { echo "Installing Launcher and Icon\n" echo "Launcher and Icon Installed\n" - echo "Go to \"Show Application\" ( button in lower left / \"Windows Key\")" - echo "Search for \"Arduino\" - you will see an Icon labeled \"2.0 system\"" + echo "Go to \"Show Application\" ( button in lower left or hit \"Super/Windows Key\")" + echo "Search for \"Arduino\" - you will see an Icon labeled \"2.0 $1\"" echo "click on this icon to run the IDE or right-click to add it to the Dock\n" - # mkdir -p "${HOME}/.local/share/metainfo" - # cp "${SCRIPT_PATH}/lib/appdata.xml" "${HOME}/.local/share/metainfo/${RESOURCE_NAME}.appdata.xml" - - # Clean up temp dir +# Clean up temp dir rm "${TMP_DIR}/${RESOURCE_NAME}l.desktop" rmdir "${TMP_DIR}" fi @@ -180,6 +184,8 @@ simple_install_f() { echo "Directory ${SCRIPT_PATH} will not be removed" else echo "Removing Directory ${SCRIPT_PATH}" + cd .. + rm -rf ${SCRIPT_PATH} fi fi @@ -206,8 +212,8 @@ simple_install_f() { mkdir -p "${HOME}/.local/share/applications" cp "${TMP_DIR}/${RESOURCE_NAME}.desktop" "/usr/local/share/applications/" echo "Launcher and Icon Installed\n" - echo "Go to \"Show Application\" ( button in lower left / \"Windows Key\")" - echo "Search for \"Arduino\" - you will see an Icon labeled \"2.0 system\"" + echo "Go to \"Show Application\" ( button in lower left or hit \"Super/Windows Key\")" + echo "Search for \"Arduino\" - you will see an Icon labeled \"2.0 $1\"" echo "click on this icon to run the IDE or right-click to add it to the Dock\n" # mkdir -p "${HOME}/.local/share/metainfo" @@ -217,22 +223,5 @@ simple_install_f() { rm "${TMP_DIR}/${RESOURCE_NAME}.desktop" rmdir "${TMP_DIR}" fi - } - -# --- main Script starts here --- - -read -p "$MSG (Y/N) " YN - -if [ -z $YN ] -then - echo OK - exiting - exit -elif [ $YN = n ] -then - echo OK - No is No... exiting - exit -fi - -simple_install_f exit diff --git a/Linux_Install_ReadME.txt b/Linux_Install_ReadME.txt index c28ae043d..3bf84535f 100644 --- a/Linux_Install_ReadME.txt +++ b/Linux_Install_ReadME.txt @@ -24,6 +24,10 @@ This bash script installs the Arduino IDE 2.0 on the Linux Desktop.. 5). click on the icon to run the IDE - or right-click to add it to the dock. +NoTE: for LXQt/Lubuntu - the IDE will be accessible from the menu under "Programming" + an icon will also appear on the desktop with a warning symbol + you can delete the icon or right-click to enable "trusted mode" + ====================================================================================================================