Can't open sketch, incorrect folder [SOLVED]

Aloha !

I'm running Suse Tumbleweed (Snapshot20250618) and I ran into a peculiar issue.
When I try to open a sketch from an USB stick, I get this message :

The file "Fan-RPM-Speed.ino" needs to be inside a sketch folder named "Fan-RPM-Speed"
Create this folder, move the file, and continue ?

No matter what I click, it will not open the sketch.

The weird thing, the "Fan-RPM-Speed.ino" IS in a folder named "Fan-RPM-Speed"
It gets even weirder; When I bluntly copy and paste the folder onto "Documents" on the SSD, it works without any problems.

So far I checked :

  • Upper and lower case, no difference
  • Permissions on the USB stick, root/owner/everyone can write and read
  • A different laptop with KUbuntu, it works there as it should
  • My Windows PC, also works directly from USB
  • Reformatted the USB stick with FAT32, did not help
  • Oh and Suse is a new, clean install.
  • I have Arduino IDE version 2.3.6

.

What am I doing wrong here ?

.

Cheeeeeeeeeeeeeeers

Jecepede

Hi @jecepede. I'm going to ask you to provide some additional information that might help us to identify the problem.


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Open a command line terminal in the folder that contains the AppImage file.
  3. Type the following command in the terminal window:
    ./arduino-ide_<version>_Linux_64bit.AppImage
    
    (where <version> is the Arduino IDE version number)
  4. Press the Enter key.
    Debug output should now be printed to the terminal window as Arduino IDE starts (or fails to start).
  5. Wait for Arduino IDE to finish starting.
  6. Attempt to open the sketch from the USB stick, just as you did before.
  7. Switch back to the terminal window if the Arduino IDE window took the focus.
  8. Use the mouse to select all the text in the terminal window. Make sure to scroll all the way up to the top.
  9. Press the Ctrl+Shift+C keyboard shortcut.
    This will copy the selected text to the clipboard.
  10. Open a reply here on this forum topic by clicking the "Reply" button.
  11. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  12. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  13. Move the cursor outside of the code block markup before you add any additional text to your reply.
  14. Click the "Reply" button to publish the post.

Please let us know if you have any questions or problems while following those instructions.

Are you sure the USB with the sketch is not mounted read-only, and that you have permission to write to the sketch folder?

Linux is built for security.

Add to post #4, the owner of the file might be a read-only owner.

Aloha everyone !

At first I thought it war read/write issues as well, but I can create, read, update and delete files on the USB stick. But not I have the info @ptillisch asked for and I'm not so sure anymore...

jecepede@mint:/var/lib/flatpak/app/cc.arduino.IDE2/current/active/export/bin> ./cc.arduino.IDE2
[3 zypak-helper] Wait found events, but sd-event found none
Arduino IDE 2.3.6
Checking for frontend application configuration customizations. Module path: /app/arduino-ide/resources/app/lib/backend/electron-main.js, destination 'package.json': /app/arduino-ide/resources/app/package.json
Gtk-Message: 19:19:27.950: Failed to load module "canberra-gtk-module"
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.6" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.2.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2025-04-09T11:24:04.835Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{},"showWindowEarly":true,"splashScreenOptions":{},"uriScheme":"arduino-ide"},"defaultLocale":"","validatePreferencesSchema":false,"reloadOnReconnect":true,"uriScheme":"theia","preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.6","cliVersion":"1.2.0","buildDate":"2025-04-09T11:24:04.835Z"}
[69 zypak-helper] Using spawn strategy test 1 as set by environment
Starting backend process. PID: 69
Showing main window early
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///home/jecepede/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2025-06-22T17:19:29.576Z root WARN Backend u.initialize took longer than the expected maximum 50 milliseconds: 65.1 ms [Finished 1.250 s after backend start]
2025-06-22T17:19:29.577Z root WARN Backend Object.initialize took longer than the expected maximum 50 milliseconds: 61.5 ms [Finished 1.250 s after backend start]
2025-06-22T17:19:29.577Z root INFO Backend a.initialize: 2.1 ms [Finished 1.250 s after backend start]
2025-06-22T17:19:29.577Z root INFO Backend a.initialize: 1.6 ms [Finished 1.250 s after backend start]
2025-06-22T17:19:29.577Z root INFO Backend u.initialize: 2.2 ms [Finished 1.251 s after backend start]
2025-06-22T17:19:29.582Z root WARN Backend l.initialize took longer than the expected maximum 50 milliseconds: 63.9 ms [Finished 1.253 s after backend start]
2025-06-22T17:19:29.594Z root INFO configured all backend app contributions
2025-06-22T17:19:29.595Z root INFO Backend l.onStart: 3.5 ms [Finished 1.271 s after backend start]
2025-06-22T17:19:29.596Z root INFO Backend d.onStart: 0.2 ms [Finished 1.272 s after backend start]
2025-06-22T17:19:29.597Z root INFO Backend a.onStart: 0.7 ms [Finished 1.272 s after backend start]
2025-06-22T17:19:29.597Z config INFO >>> Initializing CLI configuration...
2025-06-22T17:19:29.597Z root INFO Backend x.onStart: 0.7 ms [Finished 1.273 s after backend start]
2025-06-22T17:19:29.597Z config INFO Loading CLI configuration from /home/jecepede/.arduinoIDE/arduino-cli.yaml...
2025-06-22T17:19:29.598Z daemon INFO Starting daemon from /app/arduino-ide/resources/app/lib/backend/resources/arduino-cli...
2025-06-22T17:19:29.598Z root INFO Backend w.onStart: 0.7 ms [Finished 1.274 s after backend start]
2025-06-22T17:19:29.598Z discovery-log INFO start
2025-06-22T17:19:29.598Z discovery-log INFO start new deferred
2025-06-22T17:19:29.598Z root INFO Backend v.onStart: 0.4 ms [Finished 1.275 s after backend start]
2025-06-22T17:19:29.598Z root INFO Backend a.onStart: 0.1 ms [Finished 1.275 s after backend start]
2025-06-22T17:19:29.607Z root INFO Theia app listening on http://127.0.0.1:43489.
2025-06-22T17:19:29.608Z root INFO Finished starting backend application: 9.4 ms [Finished 1.284 s after backend start]
2025-06-22T17:19:29.611Z root WARN The local plugin referenced by local-dir:/home/jecepede/.arduinoIDE/plugins does not exist.
2025-06-22T17:19:29.611Z root WARN The local plugin referenced by local-dir:/home/jecepede/.arduinoIDE/deployedPlugins does not exist.
2025-06-22T17:19:29.625Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"directories":{"builtin":{"libraries":"/home/jecepede/.arduino15/libraries"},"data":"/home/jecepede/.arduino15","user":"/home/jecepede/Arduino"},"locale":"en"}
2025-06-22T17:19:29.625Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2025-06-22T17:19:29.625Z config INFO Loaded the CLI configuration.
2025-06-22T17:19:29.665Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///home/jecepede/.arduino15","sketchDirUri":"file:///home/jecepede/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2025-06-22T17:19:29.665Z config INFO Validating the CLI configuration...
2025-06-22T17:19:29.667Z config INFO The CLI config is valid.
2025-06-22T17:19:29.667Z config INFO <<< Initialized the CLI configuration.
2025-06-22T17:19:29.738Z daemon INFO time="2025-06-22T19:19:29+02:00" level=info msg="arduino-cli version 1.2.0"
time="2025-06-22T19:19:29+02:00" level=info msg="Using config file: /home/jecepede/.arduinoIDE/arduino-cli.yaml"
time="2025-06-22T19:19:29+02:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:35195
{"IP":"127.0.0.1","Port":"35195"}
2025-06-22T17:19:29.740Z daemon INFO Daemon is running.
2025-06-22T17:19:29.898Z root INFO Resolve plugins list: 295.0 ms [Finished 1.572 s after backend start]
2025-06-22T17:19:29.943Z daemon INFO time="2025-06-22T19:19:29+02:00" level=info msg="Checking signature" index=/home/jecepede/.arduino15/package_index.json signatureFile=/home/jecepede/.arduino15/package_index.json.sig trusted=true
2025-06-22T17:19:29.945Z daemon INFO time="2025-06-22T19:19:29+02:00" level=info msg="Loading hardware from: /home/jecepede/.arduino15/packages"
time="2025-06-22T19:19:29+02:00" level=info msg="Loading package arduino from: /home/jecepede/.arduino15/packages/arduino/hardware"
2025-06-22T17:19:29.950Z daemon INFO time="2025-06-22T19:19:29+02:00" level=info msg="Missing signature file" index=/home/jecepede/.arduino15/packages/arduino/hardware/avr/1.8.6/installed.json
2025-06-22T17:19:29.958Z daemon INFO time="2025-06-22T19:19:29+02:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded platform" platform="arduino:avr@1.8.6"
time="2025-06-22T19:19:29+02:00" level=info msg="Checking existence of 'tools' path: /home/jecepede/.arduino15/packages/arduino/tools"
time="2025-06-22T19:19:29+02:00" level=info msg="Loading tools from dir: /home/jecepede/.arduino15/packages/arduino/tools"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
time="2025-06-22T19:19:29+02:00" level=info msg="Loading package builtin from: /home/jecepede/.arduino15/packages/builtin"
time="2025-06-22T19:19:29+02:00" level=info msg="Checking existence of 'tools' path: /home/jecepede/.arduino15/packages/builtin/tools"
time="2025-06-22T19:19:29+02:00" level=info msg="Loading tools from dir: /home/jecepede/.arduino15/packages/builtin/tools"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
time="2025-06-22T19:19:29+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.15.0"
2025-06-22T17:19:29.970Z daemon INFO time="2025-06-22T19:19:29+02:00" level=info msg="Adding libraries dir" dir=/home/jecepede/.arduino15/packages/arduino/hardware/avr/1.8.6/libraries isSingleLibrary=false location=platform
time="2025-06-22T19:19:29+02:00" level=info msg="Loading libraries index file" index=/home/jecepede/.arduino15/library_index.json
2025-06-22T17:19:31.252Z daemon INFO time="2025-06-22T19:19:31+02:00" level=info msg="Adding libraries dir" dir=/home/jecepede/.arduino15/libraries isSingleLibrary=false location=ide
time="2025-06-22T19:19:31+02:00" level=info msg="Adding libraries dir" dir=/home/jecepede/Arduino/libraries isSingleLibrary=false location=user
2025-06-22T17:19:31.265Z discovery-log INFO start resolved watching
2025-06-22T17:19:31.605Z root INFO Deploy plugins list: 2005.6 ms [Finished 3.283 s after backend start]
2025-06-22T17:19:32.037Z root INFO creating connection for 1
2025-06-22T17:19:34.018Z root ERROR [parcel-watcher: 123] [123 zypak-helper] Using spawn strategy test 1 as set by environment
2025-06-22T17:19:34.311Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 313.6 ms [Finished 4.677 s after frontend start]
2025-06-22T17:19:34.509Z root WARN A command editor.action.toggleStickyScroll is already registered.
2025-06-22T17:19:34.510Z root WARN Frontend commands.onStart took longer than the expected maximum 100 milliseconds: 178.0 ms [Finished 4.861 s after frontend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025-06-22T17:19:34.735Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 202.1 ms [Finished 5.064 s after frontend start]
2025-06-22T17:19:34.945Z root ERROR [hosted-plugin: 142] [142 zypak-helper] Using spawn strategy test 1 as set by environment
2025-06-22T17:19:34.977Z root INFO Start frontend contributions: 1177.9 ms [Finished 5.296 s after frontend start]
2025-06-22T17:19:34.978Z root INFO Changed application state from 'init' to 'started_contributions'.
2025-06-22T17:19:35.014Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2025-06-22T17:19:35.016Z root INFO >>> Restoring the layout state...
2025-06-22T17:19:35.288Z root INFO [5cf925eb-1fb2-4960-a294-192361615065] Waiting for backend deployment: 338.9 ms [Finished 5.621 s after frontend start]
2025-06-22T17:19:37.569Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142) starting instance
[Object: null prototype] {}
2025-06-22T17:19:39.679Z root INFO [5cf925eb-1fb2-4960-a294-192361615065] Sync of 23 plugins: 4427.7 ms [Finished 10.049 s after frontend start]
2025-06-22T17:19:39.771Z root INFO <<< Nothing to restore.
2025-06-22T17:19:40.008Z root WARN Frontend C.initializeLayout took longer than the expected maximum 100 milliseconds: 111.3 ms [Finished 10.374 s after frontend start]
2025-06-22T17:19:40.132Z root INFO Initialize the workbench layout: 4996.7 ms [Finished 10.379 s after frontend start]
2025-06-22T17:19:40.140Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2025-06-22T17:19:40.141Z root INFO [5cf925eb-1fb2-4960-a294-192361615065] Loading plugin contributions
2025-06-22T17:19:40.141Z root INFO [5cf925eb-1fb2-4960-a294-192361615065] Load contributions of 23 plugins: 86.4 ms [Finished 10.496 s after frontend start]
2025-06-22T17:19:40.330Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2025-06-22T17:19:40.333Z root WARN a registered grammar configuration for 'cpp' language is overridden
2025-06-22T17:19:41.795Z root INFO Replace loading indicator with ready workbench UI (animation): 1170.2 ms [Finished 11.679 s after frontend start]
2025-06-22T17:19:41.795Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2025-06-22T17:19:41.795Z root WARN Linked preference "workbench.colorCustomizations" not found.
2025-06-22T17:19:41.801Z root INFO Frontend application start: 7488.6 ms [Finished 13.393 s after backend start]
Checking for update
2025-06-22T17:19:42.547Z root ERROR [hosted-plugin: 142] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.linux as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.osx as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.windows as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.linux as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.osx as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.windows as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.linux as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.osx as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.windows as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.linux as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.osx as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.windows as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.linux as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.osx as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.windows as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.linux as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.osx as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.windows as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.linux as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.osx as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.windows as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.linux as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.osx as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.windows as cortex-debug.stm32cubeprogrammer is null
Update for version 2.3.6 is not available (latest version: 2.3.6, downgrade is allowed).
2025-06-22T17:19:43.907Z root ERROR ---- !!!SLOW!!! DURATION: search took 2114.353 ms. Args: [{"type":"Updatable"}] ----
2025-06-22T17:19:43.930Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): PluginManagerExtImpl/init()
2025-06-22T17:19:43.936Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-arduino-api@0.1.2 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.154Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(json-language-features@1.88.1 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.166Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(cortex-debug@1.5.1 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.172Z root INFO [hosted-plugin: 142] Debugger contribution has been registered: cortex-debug
2025-06-22T17:19:44.178Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-arduino-tools@0.1.3 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.182Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(cpp@1.88.1 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.186Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(json@1.88.1 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.190Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-bg@1.48.3 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.192Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-cs@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.195Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-de@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.198Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-es@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.203Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-fr@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.207Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-hu@1.48.3 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.207Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-it@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.208Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-ja@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.208Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-ko@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.211Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-nl@1.48.3 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.212Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-pl@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.213Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-pt-BR@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.213Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-ru@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.214Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-tr@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.215Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-uk@1.48.3 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.216Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-zh-hans@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.221Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): initializing(vscode-language-pack-zh-hant@1.96.0 with /app/arduino-ide/resources/app/lib/backend/plugin-vscode-init)
2025-06-22T17:19:44.234Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): PluginManagerExtImpl/loadPlugin(/app/arduino-ide/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/node/jsonClientMain)
2025-06-22T17:19:44.417Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): PluginManagerExtImpl/loadPlugin(/app/arduino-ide/resources/app/plugins/vscode-arduino-api/extension/dist/extension.js)
2025-06-22T17:19:44.453Z root INFO [hosted-plugin: 142] calling activation function on Arduino IDE API for VS Code extensions
2025-06-22T17:19:44.466Z root INFO [5cf925eb-1fb2-4960-a294-192361615065] Starting plugins.
2025-06-22T17:19:44.600Z root INFO [hosted-plugin: 142] PLUGIN_HOST(142): PluginManagerExtImpl/loadPlugin(/app/arduino-ide/resources/app/plugins/cortex-debug/extension/dist/extension.js)
2025-06-22T17:19:44.744Z root INFO [hosted-plugin: 142] Debug configuration provider has been registered: cortex-debug, trigger: 1
calling activation function on Cortex-Debug
2025-06-22T17:19:44.749Z root INFO [hosted-plugin: 142] GDB server console created
2025-06-22T17:19:44.787Z root INFO [5cf925eb-1fb2-4960-a294-192361615065] Start of 23 plugins: 4276.5 ms [Finished 15.141 s after frontend start]
2025-06-22T17:19:45.084Z root INFO [hosted-plugin: 142] calling activation function on JSON Language Features (built-in)
[3:0622/191950.522356:ERROR:browser_main_loop.cc(280)] GLib-GObject: ../gobject/gsignal.c:2684: instance '0x17a4032b6200' has no handler with id '2860'
2025-06-22T17:19:50.603Z root ERROR Failed to execute command: Error: Request 'mkdir' failed
    at Proxy.<anonymous> (file:///app/arduino-ide/resources/app/lib/frontend/bundle.js:2:11185512)
    at f.mkdir (file:///app/arduino-ide/resources/app/lib/frontend/bundle.js:2:3478806)
    at k.mkdirp (file:///app/arduino-ide/resources/app/lib/frontend/bundle.js:2:9148710)
    at async k.createFolder (file:///app/arduino-ide/resources/app/lib/frontend/bundle.js:2:9148010)
    at async u (file:///app/arduino-ide/resources/app/lib/frontend/bundle.js:2:13568789)
    at async Object.execute (file:///app/arduino-ide/resources/app/lib/frontend/bundle.js:2:13566716)
    at async u.executeCommand (file:///app/arduino-ide/resources/app/lib/frontend/bundle.js:2:5737568)
Caused by: NoPermissions (FileSystemError): Error: EPERM: operation not permitted, mkdir '/run/user/1000/doc/632dc63/Fan-RPM-Speed'
    at h (/app/arduino-ide/resources/app/lib/backend/main.js:2:1034963)
    at D.toFileSystemProviderError (/app/arduino-ide/resources/app/lib/backend/main.js:2:6546076)
    at D.mkdir (/app/arduino-ide/resources/app/lib/backend/main.js:2:6540526)
    at async f.onRequest (/app/arduino-ide/resources/app/lib/backend/main.js:2:4942944)
    at async c.handleRequest (/app/arduino-ide/resources/app/lib/backend/main.js:2:524475)

.

Cheeeeeeeeeeeeers

Jecepede

Looks like the app needs privs.

Aloha @xfpd

Yes, I figured that much.
But.... which app, what privs and how ?
(Sorry for being such a noob)

Cheeeeeeeeers

Jecepede

I suspect the problem is specific to the 3rd party Flatpak package of Arduino IDE, caused by the restrictions of the Flatpak sandboxing.

Are you also using the Flatpak package on the Kubuntu machine where you don't encounter this problem?

Oooowwwww...

Suddenly the penny has dropped. Oh man I'm such an idiot.
I opened the "Systems settings" and went to "Application Permissions" where I gave Arduino IDE access to filesystems.

Voila, it works..

.

Thanks every one for the help...

Jecepede

.

< offtopic>
Isn't sandboxing a thing of the past ? I mean I get the benefits but now a days we should be at Linux distros and applications which are not riddled with security holes right ?
< /offtopic>

1 Like