Skip to content

Starting IDE creates "undefined" folder in current directory #394

Closed
@JayPi4c

Description

@JayPi4c

Describe the bug
It is more an oddity than a bug.
Whenever I start the IDE the program creates a folder called "undefined" in my home directory. This folder contains only one folder called "Arduino IDE" which contains logs of the IDE. I think it's good that the logs are saved in an easy to find location. But all the time I'm looking into my home-folder the "undefined" folder kind of confuses me.

To Reproduce
Steps to reproduce the behavior:

  1. Start the IDE
  2. go to home folder
  3. be happy with "undefined" folder

Expected behavior
Just giving it a more precise name would make me happy.

Screenshots
screenshot

Desktop (please complete the following information):

  • OS: Linux Ubuntu 20.04.2 LTS
  • Version: 2.0.0-beta.7

Additional context
As already mentioned in #110 it is not perfectly documented how to install the IDE correctly, so i guess it could also be an error of me in the installation process. In my point of view I went a straight forward way, downloading the newest IDE, unzipping the contents and copying the files to /opt/
To have it listed in the applications menu of Ubuntu I created the file Arduino 2.0 (beta).desktop in ~/.local/share/applications with the following content:

[Desktop Entry]
Type=Application
# desktop entry spec version
Version=6.4.2
Name=Arduino 2.0 (beta)
Comment=Arduino IDE 2.0 beta
Exec=/opt/arduino-ide_2.0.0-beta.07/arduino-ide
Icon=/opt/arduino-1.8.13/lib/arduino.png
MimeType=image/svg+xml;
Terminal=false
Categories=Development
X-Desktop-File-Install-Version=0.24

It is mostly a copy of another .desktop file in the directory.

Now starting the IDE results in generating the undefined-folder. Everything else works perfectly.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions