-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
Can't start from File Explorer on Linux #690
Comments
Thanks @NormanDunbar! In order to collect relevant information in one place, I'll share a couple of links to some previous suggestions from the Arduino Forum:
Related: |
Hi @per1234 yes, I'm fine with those suggestions, thanks. I was trying to helpfully point out a solution (assuming gcc or course) that would avoid the need to create desktop files or one line shell scripts to execute the IDE. I see from the first link you gave me that this need for a one liner has been noted.(by @pert on 6th March) but even at RC2, there is no script. I'm happy messing about in the bowels of Linux, it's what I do, but other beginners may not be so clued up and if you can't get the "obvious" executable to run from the file manager, then many will possibly give up there and then. Take care. Cheers, |
How is this still an issue? In my world of s/w development, RC candidates mean that the development team believes that the s/w is feature complete, there are no serious show stopper issues. and this image could be the actual release. Given there are some really simple solutions to this, why has this not been fixed? |
For example, we are spending more time writing about the issue and tracking than the amount of time to fix it. |
I'm really sorry this grinds your gears so much. Ubi |
I do apologize that I may have come off as being a bit harsh. My comments were intended to be constructive criticism intended to raise the level of attention to get the issue resolved. Many linux users these days are similar to Windows users and simply don't have the technical skills to solve an issue like this. |
@bperrybap no need to apologise, really I have been following this silly, easy to fix issue for a while, it's just that sometimes giving priority to everything is not working well. In the end we're all here to make a better product, you included :) I'm sorry that the RC is still exhibiting these glitches (I know, this is more than a "glitch"), and I understand how they can be a show-stopper for beginners. The new year is going to bring more fixes, more RC(s) and soon a Final Release. |
here is the arduino executable wrapper script I use on linux mint.
|
Although the requested functionality is still not available when using the ZIP format Arduino IDE for Linux, it is now provided by the newly added (#846) AppImage format package of Arduino IDE for Linux. The 2.0.0-rc4 and release and onward, as well as the tester builds and nightly builds, are published in AppImage format in addition to the previous ZIP format. It also has auto-update support. The ZIP package is retained to offer options to the users, but the AppImage package is the preferred one. In addition to the capability requested here, it also provides auto-update support. So we recommend the use of the AppImage package instead of the ZIP package, especially if you are bothered by the need to start the IDE from the terminal. |
Hi - I have been working with the Arduino team to write "Linux Launcher" scripts. The idea is to be able to Launch IDE 2.0 from icons in a Gnome dock.. I have the scripts posted on my github... https://github.com/ArduinoShop/arduino-ide/tree/main/AppImage%20Launcher I am not an adept at using git so I am not sure how to "merge" them with Arduino's efforts. |
RC9 and this is still an issue. |
Is there any updates on this feature |
With the the 2.0.0 release on linux mint 21 mate edition (that is all I tested) there is an executable file that can be started. I have no clue why the 2.x release has chosen to use the file name "arduino-ide" vs "arduino" like all the 1.x releases did. |
Describe the bug
The
arduino-ide
application has a file type of 'shared object' and as such, cannot be executed from within a file manager, only from the command line in a terminal session.To Reproduce
Steps to reproduce the behavior:
arduino-ide
Expected behavior
Double click arduino-ide in my file explorer to open the IDE.
Screenshots
Not applicable.
Desktop (please complete the following information):
Additional context
According to https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing#linux, the new 2.0 IDE can only be executed from a terminal session. This is a bug, however, I have a possible fix.
If I view the extracted files in the file explorer, I see that the
arduino-ide
file shows up as a shared object. The same is true in a terminal session with thefile
command:I've had this problem since updating
gcc
some time back, and discovered that there is an option when linking to make the output an executable file, not a shared object. The option is-no-pie
.If you compile with that option, then the new IDE will be able to be executed from the file manager.
Kind regards,
Norm.
The text was updated successfully, but these errors were encountered: