Toolbar disappeared in Linux

Hello, I've installed the IDE 2.x in my Linux machine, but the toolbar isn't showing anywhere. I don't know what to do. My DE is Gnome and my Distro is endeavouros. If anyone can help me, I'll be so grateful. Thanks!

1 Like

Strange, I only know this issue from Windows.

It usually comes right after a few restarts of the IDE. There are a few more topics (Windows related) where the cause of the issue is described; e.g. A setting has changed - #4 by ptillisch. Did you get a popup "a setting has changed"?

There is a previous report of a Linux-specific issue here:

Not really working, the moment i pressed [CTRL]+[SHIFT]+[P] the IDE froze. It isn't an Appimage version.

1 Like

I'll provide instructions for an alternative way to enable the "compact menu bar" setting that was shared as a workaround for the problem of the normal menu bar being missing:

  1. Select File > Quit from the Arduino IDE menus.
    All Arduino IDE windows will close.
  2. Open the file at the following path in any text editor:
    /home/<username>/.arduinoIDE/settings.json
    
    (where <username> is your Linux username)
    :exclamation: The .arduinoIDE folder may be hidden by default in your file manager and terminal.
  3. The contents of the file should look something like this
    {
      "window.titleBarStyle": "native"
    }
    
    Change the contents of the file to:
    {
      "window.menuBarVisibility": "compact",
      "window.titleBarStyle": "native"
    }
    
  4. Save the file.
  5. Start Arduino IDE.

You should now see a "hamburger" icon at the top of the "activity bar" on the left side of the Arduino IDE window:

image

When you click that icon, a menu will open that gives access to all the same things you would normally use the menu bar for.

Do you have a reference file I could use? My settings.json file is missing

Here you go:
settings.json (80 Bytes)

Now it doesn't launch. Tried deleting everything and reinstalling, nothing happened, same results. Not even launching.

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


:exclamation: 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 Arduino IDE installation.
  3. Type the following command:
    ./arduino-ide
    
  4. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts (or fails to start).
  5. Wait for Arduino IDE to finish starting, or failing to start.
  6. Switch back to the terminal window if the Arduino IDE window took the focus.
  7. Use the mouse to select all the text in the terminal window. Make sure to scroll all the way up to the top.
  8. Press the Ctrl+Shift+C keyboard shortcut.
    This will copy the selected text to the clipboard.
  9. Open a forum reply here by clicking the "Reply" button.
  10. 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.
    Code block icon on toolbar
  11. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  12. Move the cursor outside of the code block markup before you add any additional text to your reply.
  13. Click the "Reply" button to post the output.

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

Not working again, the command line isn't showing any debug info. The process you are describing, I think, is for debugging on Windows.

Also the IDE it is not logging any data on the logs folder.

Edit:
Nevermind, I found a way.

Arduino IDE 27.3.11
Skipping frontend application configuration customizations. Running in dev mode.
Starting backend process. PID: 38212
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///home/slaythrax/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-05-30T00:31:49.880Z root INFO Backend Object.initialize: 4.2 ms [Finished 0.992 s after backend start]
2024-05-30T00:31:49.880Z root INFO Backend Object.configure: 3.3 ms [Finished 0.992 s after backend start]
2024-05-30T00:31:49.880Z root INFO Backend s.onStart: 1.8 ms [Finished 0.992 s after backend start]
2024-05-30T00:31:49.881Z root INFO Backend s.configure: 0.3 ms [Finished 1.023 s after backend start]
2024-05-30T00:31:49.881Z root INFO Backend d.onStart: 0.2 ms [Finished 1.023 s after backend start]
2024-05-30T00:31:49.882Z root INFO Backend d.configure: 0.1 ms [Finished 1.024 s after backend start]
2024-05-30T00:31:49.883Z root INFO Backend d.initialize: 31.0 ms [Finished 1.024 s after backend start]
2024-05-30T00:31:49.883Z root INFO Backend c.onStart: 0.3 ms [Finished 1.024 s after backend start]
2024-05-30T00:31:49.883Z root INFO Backend a.configure: 0.6 ms [Finished 1.025 s after backend start]
2024-05-30T00:31:49.885Z config INFO >>> Initializing CLI configuration...
2024-05-30T00:31:49.885Z root INFO Backend c.initialize: 0.6 ms [Finished 1.025 s after backend start]
2024-05-30T00:31:49.885Z root INFO Backend R.onStart: 0.8 ms [Finished 1.025 s after backend start]
2024-05-30T00:31:49.886Z config INFO Loading CLI configuration from /home/slaythrax/.arduinoIDE/arduino-cli.yaml...
2024-05-30T00:31:49.886Z daemon INFO Starting daemon from /usr/lib/arduino-ide/lib/backend/resources/arduino-cli...
2024-05-30T00:31:49.886Z root INFO Backend a.initialize: 0.5 ms [Finished 1.026 s after backend start]
2024-05-30T00:31:49.886Z root INFO Backend w.onStart: 1.0 ms [Finished 1.027 s after backend start]
2024-05-30T00:31:49.886Z root INFO Backend r.configure: 1.6 ms [Finished 1.027 s after backend start]
2024-05-30T00:31:49.886Z discovery-log INFO start
2024-05-30T00:31:49.886Z discovery-log INFO start new deferred
2024-05-30T00:31:49.886Z root INFO Backend d.initialize: 0.4 ms [Finished 1.027 s after backend start]
2024-05-30T00:31:49.886Z root INFO Backend y.onStart: 1.7 ms [Finished 1.029 s after backend start]
2024-05-30T00:31:49.887Z root INFO Backend r.configure: 1.5 ms [Finished 1.029 s after backend start]
2024-05-30T00:31:49.887Z root INFO Backend a.onStart: 0.5 ms [Finished 1.030 s after backend start]
2024-05-30T00:31:49.887Z root INFO Backend h.configure: 0.4 ms [Finished 1.030 s after backend start]
2024-05-30T00:31:49.887Z root INFO Backend s.configure: 0.1 ms [Finished 1.030 s after backend start]
2024-05-30T00:31:49.887Z root INFO Backend l.configure: 0.1 ms [Finished 1.031 s after backend start]
2024-05-30T00:31:49.888Z root WARN The local plugin referenced by local-dir:/home/slaythrax/.arduinoIDE/plugins does not exist.
2024-05-30T00:31:49.888Z root WARN The local plugin referenced by local-dir:/home/slaythrax/.arduinoIDE/extensions does not exist.
2024-05-30T00:31:49.938Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"/home/slaythrax/.arduino15","downloads":"/home/slaythrax/.arduino15/staging","user":"/home/slaythrax/Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-05-30T00:31:49.938Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-05-30T00:31:49.938Z config INFO Loaded the CLI configuration.
2024-05-30T00:31:49.939Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///home/slaythrax/.arduino15","sketchDirUri":"file:///home/slaythrax/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-05-30T00:31:49.939Z config INFO Validating the CLI configuration...
2024-05-30T00:31:49.939Z config INFO The CLI config is valid.
2024-05-30T00:31:49.939Z config INFO <<< Initialized the CLI configuration.
2024-05-30T00:31:50.014Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Using config file: /home/slaythrax/.arduinoIDE/arduino-cli.yaml"
time="2024-05-29T19:31:50-05:00" level=info msg="arduino-cli version 0.35.3"
time="2024-05-29T19:31:50-05:00" level=info msg="Executing `arduino-cli daemon`"
2024-05-30T00:31:50.037Z daemon INFO Daemon is now listening on 127.0.0.1:46307
{"IP":"127.0.0.1","Port":"46307"}
2024-05-30T00:31:50.037Z daemon INFO Daemon is running.
2024-05-30T00:31:50.145Z root INFO Theia app listening on http://127.0.0.1:43833.
Error: App version is not a valid semver version: "0.0"
    at t.newError (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:63605)
    at new v (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:73215)
    at new n (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:81847)
    at new p (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:70215)
    at Object.get [as autoUpdater] (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:112930)
    at new u (/usr/lib/arduino-ide/lib/backend/electron-main.js:2:56794)
    at Ee (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:616577)
    at /usr/lib/arduino-ide/lib/backend/electron-main.js:8:620554
    at Le (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:620623)
    at /usr/lib/arduino-ide/lib/backend/electron-main.js:8:621010 {
  code: 'ERR_UPDATER_INVALID_VERSION'
}
2024-05-30T00:31:50.146Z root INFO Finished starting backend application: 259.0 ms [Finished 1.289 s after backend start]
2024-05-30T00:31:50.396Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Checking signature" index=/home/slaythrax/.arduino15/package_index.json signatureFile=/home/slaythrax/.arduino15/package_index.json.sig trusted=true
2024-05-30T00:31:50.403Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loading hardware from: /home/slaythrax/.arduino15/packages"
2024-05-30T00:31:50.411Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loading package builtin from: /home/slaythrax/.arduino15/packages/builtin"
2024-05-30T00:31:50.412Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Checking existence of 'tools' path: /home/slaythrax/.arduino15/packages/builtin/tools"
time="2024-05-29T19:31:50-05:00" level=info msg="Loading tools from dir: /home/slaythrax/.arduino15/packages/builtin/tools"
2024-05-30T00:31:50.423Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-05-30T00:31:50.424Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-05-30T00:31:50.425Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-05-30T00:31:50.425Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
2024-05-30T00:31:50.426Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-05-30T00:31:50.428Z daemon INFO time="2024-05-29T19:31:50-05:00" level=info msg="Loading libraries index file" index=/home/slaythrax/.arduino15/library_index.json
2024-05-30T00:31:50.989Z root INFO Resolve plugins list: 1103.7 ms [Finished 2.133 s after backend start]
2024-05-30T00:31:51.431Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="Adding libraries dir" dir=/home/slaythrax/.arduino15/libraries location=ide
2024-05-30T00:31:51.431Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="Adding libraries dir" dir=/home/slaythrax/Arduino/libraries location=user
2024-05-30T00:31:51.435Z discovery-log INFO start resolved watching
2024-05-30T00:31:51.435Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="starting discovery builtin:mdns-discovery process"
2024-05-30T00:31:51.435Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="starting discovery builtin:serial-discovery process"
2024-05-30T00:31:51.436Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="started discovery builtin:serial-discovery process"
2024-05-30T00:31:51.436Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.35.3\" to discovery builtin:serial-discovery"
2024-05-30T00:31:51.462Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="started discovery builtin:mdns-discovery process"
time="2024-05-29T19:31:51-05:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.35.3\" to discovery builtin:mdns-discovery"
2024-05-30T00:31:51.751Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="from discovery builtin:mdns-discovery received message type: hello, mensaje: OK, versión del protocolo: 1"
time="2024-05-29T19:31:51-05:00" level=info msg="sending command START_SYNC to discovery builtin:mdns-discovery"
2024-05-30T00:31:51.751Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="from discovery builtin:mdns-discovery received message type: start_sync, mensaje: OK"
2024-05-30T00:31:51.850Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="from discovery builtin:serial-discovery received message type: hello, mensaje: OK, versión del protocolo: 1"
time="2024-05-29T19:31:51-05:00" level=info msg="sending command START_SYNC to discovery builtin:serial-discovery"
2024-05-30T00:31:51.871Z daemon INFO time="2024-05-29T19:31:51-05:00" level=info msg="from discovery builtin:serial-discovery received message type: start_sync, mensaje: OK"
time="2024-05-29T19:31:51-05:00" level=info msg="from discovery builtin:serial-discovery received message type: add, puerto: /dev/ttyS4"
2024-05-30T00:31:51.879Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/ttyS4","label":"/dev/ttyS4","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[],"hardwareId":""}},"error":""}
WebContents #1 called ipcRenderer.sendSync() with 'GetSecurityToken' channel without listeners.
2024-05-30T00:31:53.736Z root INFO Deploy plugins list: 1103.7 ms [Finished 4.880 s after backend start]

This could be caused by already having Arduino IDE running. Please make sure all Arduino IDE windows are closed and then try performing the instructions again.

I assure you this works for all operating systems. I use it all the time on a Linux machine.

I think the "way" you found is causing the logs to be irrelevant. Please try my way again.

Just used the verbose flag tbh.

Anyway, with a rebooted system here is the output.

[slaythrax@AsusVivobook ~]$ cd /usr/bin
[slaythrax@AsusVivobook bin]$ ./arduino-ide
Arduino IDE 27.3.11
Skipping frontend application configuration customizations. Running in dev mode.
Starting backend process. PID: 2262
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///home/slaythrax/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-05-30T22:17:43.219Z root INFO Backend Object.initialize: 4.1 ms [Finished 1.058 s after backend start]
2024-05-30T22:17:43.415Z root INFO Backend Object.configure: 3.2 ms [Finished 1.058 s after backend start]
2024-05-30T22:17:43.416Z root INFO Backend s.onStart: 1.9 ms [Finished 1.058 s after backend start]
2024-05-30T22:17:43.418Z root INFO Backend s.configure: 0.4 ms [Finished 1.083 s after backend start]
2024-05-30T22:17:43.421Z root INFO Backend d.onStart: 0.3 ms [Finished 1.083 s after backend start]
2024-05-30T22:17:43.424Z root INFO Backend d.configure: 0.1 ms [Finished 1.083 s after backend start]
2024-05-30T22:17:43.425Z root INFO Backend d.initialize: 24.7 ms [Finished 1.083 s after backend start]
2024-05-30T22:17:43.426Z root INFO Backend c.onStart: 0.3 ms [Finished 1.083 s after backend start]
2024-05-30T22:17:43.427Z root WARN Backend a.configure took longer than the expected maximum 50 milliseconds: 198.1 ms [Finished 1.281 s after backend start]
2024-05-30T22:17:43.430Z config INFO >>> Initializing CLI configuration...
2024-05-30T22:17:43.430Z root INFO Backend c.initialize: 2.6 ms [Finished 1.283 s after backend start]
2024-05-30T22:17:43.430Z root INFO Backend R.onStart: 3.3 ms [Finished 1.285 s after backend start]
2024-05-30T22:17:43.431Z config INFO Loading CLI configuration from /home/slaythrax/.arduinoIDE/arduino-cli.yaml...
2024-05-30T22:17:43.432Z daemon INFO Starting daemon from /usr/lib/arduino-ide/lib/backend/resources/arduino-cli...
2024-05-30T22:17:43.432Z root INFO Backend a.initialize: 1.5 ms [Finished 1.288 s after backend start]
2024-05-30T22:17:43.432Z root INFO Backend w.onStart: 2.7 ms [Finished 1.289 s after backend start]
2024-05-30T22:17:43.432Z root INFO Backend r.configure: 4.7 ms [Finished 1.290 s after backend start]
2024-05-30T22:17:43.433Z discovery-log INFO start
2024-05-30T22:17:43.433Z discovery-log INFO start new deferred
2024-05-30T22:17:43.433Z root INFO Backend d.initialize: 1.0 ms [Finished 1.291 s after backend start]
2024-05-30T22:17:43.433Z root INFO Backend y.onStart: 3.8 ms [Finished 1.294 s after backend start]
2024-05-30T22:17:43.433Z root INFO Backend r.configure: 3.2 ms [Finished 1.294 s after backend start]
2024-05-30T22:17:43.433Z root INFO Backend a.onStart: 1.0 ms [Finished 1.297 s after backend start]
2024-05-30T22:17:43.433Z root INFO Backend h.configure: 0.8 ms [Finished 1.297 s after backend start]
2024-05-30T22:17:43.433Z root INFO Backend s.configure: 0.2 ms [Finished 1.297 s after backend start]
2024-05-30T22:17:43.433Z root INFO Backend l.configure: 0.1 ms [Finished 1.297 s after backend start]
2024-05-30T22:17:43.437Z root INFO Theia app listening on http://127.0.0.1:35751.
2024-05-30T22:17:43.437Z root INFO Finished starting backend application: 4.3 ms [Finished 1.301 s after backend start]
2024-05-30T22:17:43.573Z root WARN The local plugin referenced by local-dir:/home/slaythrax/.arduinoIDE/plugins does not exist.
2024-05-30T22:17:43.573Z root WARN The local plugin referenced by local-dir:/home/slaythrax/.arduinoIDE/extensions does not exist.
2024-05-30T22:17:43.704Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"/home/slaythrax/.arduino15","downloads":"/home/slaythrax/.arduino15/staging","user":"/home/slaythrax/Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-05-30T22:17:43.704Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-05-30T22:17:43.704Z config INFO Loaded the CLI configuration.
2024-05-30T22:17:43.943Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///home/slaythrax/.arduino15","sketchDirUri":"file:///home/slaythrax/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-05-30T22:17:43.943Z config INFO Validating the CLI configuration...
2024-05-30T22:17:44.087Z config INFO The CLI config is valid.
2024-05-30T22:17:44.087Z config INFO <<< Initialized the CLI configuration.
2024-05-30T22:17:44.333Z root INFO Resolve plugins list: 901.2 ms [Finished 2.196 s after backend start]
2024-05-30T22:17:46.004Z daemon INFO time="2024-05-30T17:17:46-05:00" level=info msg="Using config file: /home/slaythrax/.arduinoIDE/arduino-cli.yaml"
time="2024-05-30T17:17:46-05:00" level=info msg="arduino-cli version 0.35.3"
time="2024-05-30T17:17:46-05:00" level=info msg="Executing `arduino-cli daemon`"
2024-05-30T22:17:46.016Z daemon INFO Daemon is now listening on 127.0.0.1:43907
{"IP":"127.0.0.1","Port":"43907"}
2024-05-30T22:17:46.016Z daemon INFO Daemon is running.
2024-05-30T22:17:46.238Z daemon INFO time="2024-05-30T17:17:46-05:00" level=info msg="Checking signature" index=/home/slaythrax/.arduino15/package_index.json signatureFile=/home/slaythrax/.arduino15/package_index.json.sig trusted=true
time="2024-05-30T17:17:46-05:00" level=info msg="Loading hardware from: /home/slaythrax/.arduino15/packages"
Error: App version is not a valid semver version: "0.0"
    at t.newError (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:63605)
    at new v (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:73215)
    at new n (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:81847)
    at new p (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:70215)
    at Object.get [as autoUpdater] (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:112930)
    at new u (/usr/lib/arduino-ide/lib/backend/electron-main.js:2:56794)
    at Ee (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:616577)
    at /usr/lib/arduino-ide/lib/backend/electron-main.js:8:620554
    at Le (/usr/lib/arduino-ide/lib/backend/electron-main.js:8:620623)
    at /usr/lib/arduino-ide/lib/backend/electron-main.js:8:621010 {
  code: 'ERR_UPDATER_INVALID_VERSION'
}
2024-05-30T22:17:47.658Z daemon INFO time="2024-05-30T17:17:47-05:00" level=info msg="Loading package arduino from: /home/slaythrax/.arduino15/packages/arduino/hardware"
2024-05-30T22:17:47.895Z daemon INFO time="2024-05-30T17:17:47-05:00" level=info msg="Missing signature file" index=/home/slaythrax/.arduino15/packages/arduino/hardware/avr/1.8.6/installed.json
2024-05-30T22:17:47.961Z daemon INFO time="2024-05-30T17:17:47-05:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-05-30T17:17:47-05:00" level=info msg="Loaded platform" platform="arduino:avr@1.8.6"
time="2024-05-30T17:17:47-05:00" level=info msg="Checking existence of 'tools' path: /home/slaythrax/.arduino15/packages/arduino/tools"
time="2024-05-30T17:17:47-05:00" level=info msg="Loading tools from dir: /home/slaythrax/.arduino15/packages/arduino/tools"
time="2024-05-30T17:17:47-05:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
time="2024-05-30T17:17:47-05:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2024-05-30T17:17:47-05:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
2024-05-30T22:17:48.049Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loaded tool" tool="arduino:dfu-util@0.11.0-arduino5"
2024-05-30T22:17:48.055Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loading package builtin from: /home/slaythrax/.arduino15/packages/builtin"
time="2024-05-30T17:17:48-05:00" level=info msg="Checking existence of 'tools' path: /home/slaythrax/.arduino15/packages/builtin/tools"
time="2024-05-30T17:17:48-05:00" level=info msg="Loading tools from dir: /home/slaythrax/.arduino15/packages/builtin/tools"
2024-05-30T22:17:48.058Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-05-30T22:17:48.065Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-05-30T22:17:48.067Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-05-30T22:17:48.067Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
2024-05-30T22:17:48.067Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-05-30T22:17:48.078Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Loading package esp32 from: /home/slaythrax/.arduino15/packages/esp32/hardware"
2024-05-30T22:17:48.420Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Missing signature file" index=/home/slaythrax/.arduino15/packages/esp32/hardware/esp32/3.0.0/installed.json
2024-05-30T22:17:48.606Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-05-30T17:17:48-05:00" level=info msg="Loaded platform" platform="esp32:esp32@3.0.0"
2024-05-30T22:17:48.606Z daemon INFO time="2024-05-30T17:17:48-05:00" level=info msg="Checking existence of 'tools' path: /home/slaythrax/.arduino15/packages/esp32/tools"
time="2024-05-30T17:17:48-05:00" level=info msg="Loading tools from dir: /home/slaythrax/.arduino15/packages/esp32/tools"
2024-05-30T22:17:49.053Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:esp-rv32@2302"
2024-05-30T22:17:49.149Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:esp32-arduino-libs@idf-release_v5.1-442a798083"
2024-05-30T22:17:49.151Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:esptool_py@4.6"
2024-05-30T22:17:49.151Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
2024-05-30T22:17:49.152Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
2024-05-30T22:17:49.173Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:openocd-esp32@v0.12.0-esp32-20230921"
2024-05-30T22:17:49.174Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gdb@12.1_20231023"
2024-05-30T22:17:49.175Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp-elf-gdb@12.1_20231023"
2024-05-30T22:17:49.181Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@esp-12.2.0_20230208"
2024-05-30T22:17:49.388Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s2-elf-gcc@esp-12.2.0_20230208"
time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s3-elf-gcc@esp-12.2.0_20230208"
2024-05-30T22:17:49.392Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loading package esp8266 from: /home/slaythrax/.arduino15/packages/esp8266/hardware"
2024-05-30T22:17:49.395Z root INFO Deploy plugins list: 901.2 ms [Finished 7.259 s after backend start]
2024-05-30T22:17:49.548Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-05-30T17:17:49-05:00" level=info msg="Loaded platform" platform="esp8266:esp8266@3.1.2"
time="2024-05-30T17:17:49-05:00" level=info msg="Checking existence of 'tools' path: /home/slaythrax/.arduino15/packages/esp8266/tools"
time="2024-05-30T17:17:49-05:00" level=info msg="Loading tools from dir: /home/slaythrax/.arduino15/packages/esp8266/tools"
2024-05-30T22:17:49.548Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp8266:mklittlefs@3.1.0-gcc10.3-e5f9fec"
2024-05-30T22:17:49.549Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp8266:mkspiffs@3.1.0-gcc10.3-e5f9fec"
2024-05-30T22:17:49.549Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp8266:python3@3.7.2-post1"
2024-05-30T22:17:49.549Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Loaded tool" tool="esp8266:xtensa-lx106-elf-gcc@3.1.0-gcc10.3-e5f9fec"
2024-05-30T22:17:49.581Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Adding libraries dir" dir=/home/slaythrax/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries location=platform
2024-05-30T22:17:49.581Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Adding libraries dir" dir=/home/slaythrax/.arduino15/packages/arduino/hardware/avr/1.8.6/libraries location=platform
2024-05-30T22:17:49.582Z daemon INFO time="2024-05-30T17:17:49-05:00" level=info msg="Adding libraries dir" dir=/home/slaythrax/.arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries location=platform
time="2024-05-30T17:17:49-05:00" level=info msg="Loading libraries index file" index=/home/slaythrax/.arduino15/library_index.json
2024-05-30T22:17:50.757Z daemon INFO time="2024-05-30T17:17:50-05:00" level=info msg="Adding libraries dir" dir=/home/slaythrax/.arduino15/libraries location=ide
time="2024-05-30T17:17:50-05:00" level=info msg="Adding libraries dir" dir=/home/slaythrax/Arduino/libraries location=user
2024-05-30T22:17:54.999Z discovery-log INFO start resolved watching
2024-05-30T22:17:55.001Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="starting discovery builtin:mdns-discovery process"
2024-05-30T22:17:55.001Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="starting discovery builtin:serial-discovery process"
2024-05-30T22:17:55.098Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="started discovery builtin:serial-discovery process"
time="2024-05-30T17:17:55-05:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.35.3\" to discovery builtin:serial-discovery"
2024-05-30T22:17:55.258Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="started discovery builtin:mdns-discovery process"
time="2024-05-30T17:17:55-05:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.35.3\" to discovery builtin:mdns-discovery"
2024-05-30T22:17:55.442Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="from discovery builtin:serial-discovery received message type: hello, mensaje: OK, versión del protocolo: 1"
time="2024-05-30T17:17:55-05:00" level=info msg="sending command START_SYNC to discovery builtin:serial-discovery"
2024-05-30T22:17:55.458Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="from discovery builtin:serial-discovery received message type: start_sync, mensaje: OK"
2024-05-30T22:17:55.458Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="from discovery builtin:serial-discovery received message type: add, puerto: /dev/ttyS4"
2024-05-30T22:17:55.619Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="from discovery builtin:mdns-discovery received message type: hello, mensaje: OK, versión del protocolo: 1"
time="2024-05-30T17:17:55-05:00" level=info msg="sending command START_SYNC to discovery builtin:mdns-discovery"
2024-05-30T22:17:55.619Z daemon INFO time="2024-05-30T17:17:55-05:00" level=info msg="from discovery builtin:mdns-discovery received message type: start_sync, mensaje: OK"
2024-05-30T22:17:55.812Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/ttyS4","label":"/dev/ttyS4","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[],"hardwareId":""}},"error":""}
WebContents #1 called ipcRenderer.sendSync() with 'GetSecurityToken' channel without listeners.
Error occurred in handler for 'GetTitleStyleAtStartup': Error: No handler registered for 'GetTitleStyleAtStartup'
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:79778)
    at WebContents.emit (node:events:514:28)
2024-05-30T22:18:18.212Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 461.0 ms [Finished 25.087 s after frontend start]
2024-05-30T22:18:18.284Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-05-30T22:18:18.328Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 101.0 ms [Finished 25.224 s after frontend start]
Error occurred in handler for 'GetTitleStyleAtStartup': Error: No handler registered for 'GetTitleStyleAtStartup'
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:79778)
    at WebContents.emit (node:events:514:28)
WebContents #1 called ipcRenderer.sendSync() with 'IsFullScreen' channel without listeners.


I have the same problem as described by @slaythrax! Couldnt fix it yet.
Im currently running on Linux Manjaro also with gnome.

On my build, also the pop up menues don't work ( No menu is popping up, when i press on any 3 small buttons e.g top right)
Further, i cant select any sketches, only the one I edited at least is coming up on default.

On pressing the 3 buttons, i get the following error message. For me the error seems to come with electron? But Im not Sure

Error occurred in handler for 'OpenPopup': Error: No handler registered for 'OpenPopup'
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:79778)
    at WebContents.emit (node:events:514:28)

Exact same problem also on Manjaro (but with KDE), same problems with ctrl+shift+p causing program to freeze, and the hamburger icon from changing the settings.json didn't work (menu was just empty). I solved it by installing the arduino-ide-bin package from the AUR rather than the arduino-ide package from the main repository, and it works just like it should.

1 Like

@dkenagy Thanks a lot, works for me as well.

necrobumping to say thanks, august and the main package still with this issue, the AUR version is ok

Same problem here (Manjaro Cinnamon). I was using 1.18 and thought I’d try v.2, but was mystified by the missing menu. Program fairly quickly froze.

There is no file /home/<username>/.arduinoIDE/settings.json. Should there be?

./arduino-ide means run this program (which exists in the current directory), which will fail if you’re not in the right directory. A normally installed program will run with just the name of the file: arduino-ide.

I get a few errors:

Error occurred in handler for 'AttachSecurityToken': Error: No handler registered for 'AttachSecurityToken'
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:79778)
    at WebContents.emit (node:events:514:28)
2024-08-29T07:06:29.661Z root ERROR [hosted-plugin: 2306166] Promise rejection not handled in one second: Error: Error invoking remote method 'AttachSecurityToken': Error: No handler registered for 'AttachSecurityToken' , reason: Error: Error invoking remote method 'AttachSecurityToken': Error: No handler registered for 'AttachSecurityToken'
With stack trace: Error: Error invoking remote method 'AttachSecurityToken': Error: No handler registered for 'AttachSecurityToken'
Warning: loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

Using Ctrl+Shift+P:

WebContents #1 called ipcRenderer.sendSync() with 'IsFullScreenable' channel without listeners.

The app then freezes and since there’s no process called arduino-ide it seems you have to start System Monitor and kill all the electron processes.

Removed the official Manjaro repository package (Arch package) and installed AUR arduino-ide-bin and it started without errors and generated a settings file, but it still starts without a menu or any clear way of configuring it.

Clearly there’s something wrong with the Arch package.

This can happen if the IDE's "Window: Title Bar Style" advanced setting is changed to the "custom" setting. I will provide instructions for changing the setting back to the normal state via the Arduino IDE GUI:

  1. Press the Ctrl+Shift+P keyboard shortcut to open the "Command Palette".
    A menu will appear on the editor toolbar:
    Command Palette screenshot
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    You can scroll down through the list of commands to find it or type the name in the field.
    A "Settings" tab will open in the Arduino IDE main panel.
  3. Type window.titleBarStyle in the "Search Settings" field of the "Preferences" tab.
  4. Select "native" from the menu under the "Window: Title Bar Style" setting entry.
    The "Restart" dialog will open.
  5. Click the "RESTART" button in the dialog.
    The Arduino IDE window will reload.
  6. Close the Settings tab by clicking its X icon.

The IDE should now be back to the normal functional design with separate title and menu bars.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.