Can't launch IDE without sudo on Manjaro

Hello everyone!

My problem started after last successful opening Arduino IDE. New session was start and crushed after few seconds when cursor rolled with words “packages initialization”. I tried to reinstall Arduino IDE (with deleting orphans) and Java (same). That’s not work. But I tried to launch IDE from terminal with this results:
https: //ibb. co/1Q1MsjV (please remove spaces, forum not allows me to paste screen or link to any photo hostings)
As you can see, I can launch IDE, but only via terminal with root permissions. I didn’t install or remove any packages since last success launch and before IDE failed first time. Even didn’t exit active user session (shutdown, reboot, change user…etc.)
Besides, terminal launch option is not solution because I can’t even open Library manager, IDE freezes after pushing any interface button!
Unfortunately, I can’t understand the point of terminal warning messages at the screenshot. Please help me to solve this problem.

If you can’t (or don’t want) open link, terminal messages below:

╭─*****@pinebook ~
╰─$ arduino
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /home/*****/.arduino15

(java:24089): Gtk-WARNING **: 22:25:57.846: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(java:24089): Gtk-WARNING **: 22:25:57.846: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(java:24089): Gtk-WARNING **: 22:25:57.846: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(java:24089): Gtk-WARNING : 22:25:57.846: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
java.net.MalformedURLException: unknown protocol: ttps
at java.net.URL.(URL.java:618)
at java.net.URL.(URL.java:508)
at java.net.URL.(URL.java:457)
at cc.arduino.contributions.packages.ContributionsIndexer.get3rdPartyIndexFiles(ContributionsIndexer.java:150)
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:113)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.(Base.java:278)
at processing.app.Base.main(Base.java:150)
╭─
***@pinebook ~
╰─$ sudo arduino 255 ↵
[sudo] пароль для *****:
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /root/.arduino15

P.S. In “unknown protocol: ttps” missed “h” before “ttps” as is. But I can't find this file.

You have an interesting problem. You have installed it as root, therefore it it will not launch unless done by a super user or "superuser do" (sudo). I fixed it by deleting it (it was a new box) and installing it again. Same problem so I downloaded it and installed it again without sudo and it now works fine.

I think it's one of the 3rd party Boards Manager URLs you have configured. Please review the contents of the Arduino IDE's Additional Boards Manager URLs field in the Arduino IDE's File > Preferences dialog.;

Thanks a lot!!

It was a problem. But I couldn't find it because of different directories of URLs config in situation of different permissions start (default user /home/***/.arduino15 and root /root/.arduino15). I couldn't imagine that it can be different (location of boards URLs).

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