-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Provide an installer for Linux #641
Comments
That goes fast... xdg-desktop-icon install /usr/share/applications/processing-pde.desktop |
Yes, it seems the script doesn't add a desktop shortcut icon when running the ./install.sh script of the stable IDE as root. After running the install script, I had to run as normal user (not root): I wonder if that shouldn't be /usr/local/share/applications though. It's a local install I would think. |
I'm not an expert, but reading this tells me that if one installs in /opt, no files of that package should be placed outside of /opt It could be that the xdg tool is placing the *.desktop file in /usr/share/applications, when used as root. |
https://unix.stackexchange.com/questions/196636/system-wide-desktop-file-installation-for-unpackaged-software A bit confusing. I tend to think that those tools (xdg-tools, desktop-file-install) are for packaged packages (which you can install via apt etc.). Maybe the best way for third party package is to copy the *.desktop file to the right place (/opt/arduino-/usr/share/applications/arduino-arduinoide.desktop) (?) Or to arduino-/usr/share/applications/arduino-arduinoide.desktop (as it is now, its a users/ system administrators choice where to place the arduino folder. This probably should be in /opt, but it's not a requirement. And then make a symbolic link from the Desktop folder to the Arduino *.desktop file in /opt/arduino.... But this has to be confirmed by someone more knowledgeable then I am on this topic. |
A symlink from /usr/local/share/applications/arduino-arduinoide.desktop to /opt/arduino..../arduino-arduinoide.desktop, should add arduino to the menu. A symlink from ~/Desktop to /opt/arduino..../arduino-arduinoide.desktop should add a shortcut on the Desktop to open Arduino. Would be a solution, for a system wide installation probably. Like I said, needs confirmation though. I could be wrong. |
I think I would install in /opt instead of /usr/local for a package like Arduino. |
I just thought I'd share that i am helping with working on a flatpak (on flathub) release for the new Arduino IDE. Related #356 |
Are you against installing using Flatpak? |
Describe the request
Provide some way of automatically configuring the Linux system for the Arduino IDE installation:
This will be accomplished by generating a "desktop entry" file (
.desktop
file).🙂 It will be more convenient for Linux users to use Arduino IDE.
Describe the current behavior
No installer is provided for the Linux build of Arduino IDE.
🙁 Users must launch Arduino IDE directly from the installation package or else figure out how to create the desktop entry manually.
Arduino IDE version
Original report
Not stated
Last verified with
117b2a4
Operating system
Linux
Operating system version
Any
Additional context
This is accomplished by Arduino IDE 1.x users by running the
install.sh
script that is included in the built package:https://github.com/arduino/Arduino/blob/89539b1131f8cde9f7a83225f21c811071af53a8/build/linux/dist/install.sh
Related
Additional requests
Issue checklist
The text was updated successfully, but these errors were encountered: