Package Details: arduino-ide-bin 2.3.4-2

Git Clone URL: https://aur.archlinux.org/arduino-ide-bin.git (read-only, click to copy)
Package Base: arduino-ide-bin
Description: Arduino prototyping platform IDE, rewrite based on the Theia IDE framework.
Upstream URL: https://github.com/arduino/arduino-ide
Licenses: AGPL3
Conflicts: arduino-ide
Provides: arduino-ide
Replaces: arduino-ide-beta-bin
Submitter: SuperNinja_4965
Maintainer: SuperNinja_4965
Last Packager: SuperNinja_4965
Votes: 36
Popularity: 1.38
First Submitted: 2022-09-14 17:38 (UTC)
Last Updated: 2024-12-04 04:46 (UTC)

Dependencies (10)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

ecetin commented on 2024-03-02 21:38 (UTC) (edited on 2024-03-02 21:38 (UTC) by ecetin)

To make the IDE work better with Wayland it might make sense to add flags as a config file like visual-studio-code-bin does.

I have modified /usr/share/arduino-ide to look like this instead of a symlink to the arduino-ide exectuable in /opt

#!/bin/bash

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/arduino-flags.conf ]]; then
   ARDUINO_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/arduino-flags.conf | tr '\n' ' ')"
fi

# Launch
exec /opt/arduino-ide/arduino-ide "$@" $ARDUINO_USER_FLAGS

nerdoc commented on 2023-10-03 19:13 (UTC)

After installing, the ide crashes at start:

[178335:1003/210508.527780:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/arduino-ide/chrome-sandbox is owned by root and has mode 4755.

The file is already owned by root:root, just chowning it 4755 did the trick, the IDE worked afterwords.

This should be done by the package.

chasekosborne commented on 2023-09-26 19:45 (UTC)

I've finally gotten it to work, my problem came mostly from the fact that I had a strange setup with my $PATH variables, I didn't have /usr/bin (my arduino-ide binary install location) added to $PATH, all I had to do was run that as user from there and got it working. Thank you for your help.

FabioLolix commented on 2023-09-26 19:43 (UTC)

$ which arduino-ide /usr/bin/arduino-ide

I cannot start arduino-ide as user and must use

@chasekosborne about which output it says /usr/bin instead /usr/sbin so I guess you modified your PATH

About you can't launch it as a user; you haven't posted the error (can't help you about running as sudo, I will not try that)

chasekosborne commented on 2023-09-26 19:30 (UTC) (edited on 2023-09-26 19:31 (UTC) by chasekosborne)

So I've finally had more time to look into this, and to answer your question I had done a clean install and had not modified any of the files. On a clean install the

$ which arduino-ide
    /usr/bin/arduino-ide

gives me this output, which is better. However I cannot start arduino-ide as user and must use sudo arduino-ide --no-sandbox To get the program to start. Even more interestingly I get a new error.

Failed to connect to the bus: Could not parse server address

and

Authorization required, but no authorization protocol specified

So at the moment I have made progress but am unsure how to proceed from here. As I get a window to pop up but none of the GUI loads. And I'm just stuck with a white screen from here.

FabioLolix commented on 2023-09-22 21:30 (UTC)

That is correct, and thank you for the help. To explain a little more on that it was the default install location when I used the makepkg -si command.

If you put it manually is not makepkg or pkgbuild fault, the pkgbuild always installed in /opt/ for what I see

chasekosborne commented on 2023-09-22 20:51 (UTC)

That is correct, and thank you for the help. To explain a little more on that it was the default install location when I used the makepkg -si command.

However I typically contain all of my cloned AUR packages inside an Applications folder in my Home directory. Granted, I have no idea if this is proper file management, I just haven't had problems with doing so until now. If this happens to be the case, how should I go about correcting this problem?

FabioLolix commented on 2023-09-22 20:37 (UTC)

$ which arduino-ide
    /usr/local/bin/arduino-ide

This is the issue, this isn't where the package install, you put there manually?

Btw, to know if the file belong to a package use pacman -Qo /usr/local/bin/arduino-ide but with this will be empty I guess

chasekosborne commented on 2023-09-22 20:34 (UTC)

$ ldd /opt/arduino-ide/arduino-ide | grep libffmpeg
    libffmpeg.so => /opt/arduino-ide/libffmpeg.so (0x00007f1e6e600000)
$ which arduino-ide
    /usr/local/bin/arduino-ide

Are my respective inputs and outputs.

FabioLolix commented on 2023-09-22 20:05 (UTC) (edited on 2023-09-22 20:05 (UTC) by FabioLolix)

@chasekosborne you output of:

$ ldd /opt/arduino-ide/arduino-ide | grep libffmpeg
    libffmpeg.so => /opt/arduino-ide/libffmpeg.so (0x00007f4f59800000)

$ which arduino-ide
/usr/sbin/arduino-ide

btw please use backticks for quoting text, 3 above, 3 below, other wise in the email message I get <p> </p> <pre><code> etc which is making it a bit harder to read