Toolbar disappeared in Linux

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.