Problems with Desktop Integration on Linux (GNOME)
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Hey guys,
I figured out a couple bugs when you download the current Arduino IDE from the website.
The install.sh script is buggy in two things:
- 1. The path has to be properly escaped with whitespaces ("Arduino IDE" as folder name will not put a "/blabla/Arduino\ IDE/arduino" in the resulting .desktop file
- 2. The command will fail because it's no binary. It's a shell script. That means "bash /path/to/arduino" whilst Terminal being false will only work. Never should've worked before.
- 3. The desktop file should've been placed inside "~/.local/share/applications/arduino-arduinoide.desktop" (as done already). With the above bugs fixed you can use it properly in GNOME 2 and 3.
How can I help on fixing these bugs? Would love to pick those up and to make a pull request.
Are pull requests accepted here?
Contributor guide
Research direction
Start by inspecting the install.sh script and the desktop-file generation it performs. Verify handling of spaces in the installation path, the command used to launch the shell script, and placement at ~/.local/share/applications/arduino-arduinoide.desktop; done means the resulting launcher works in GNOME.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100