Hi Peter,
> > > Alter the menu item to run a simple, non-AppImage, graphical
> > > program, e.g. /usr/bin/xclock. If that works, add the -digital
> > > argument to learn if arguments can be given.
>
> Ran Ralphs suggestion for xclock fine,
Good. Including the -digital argument as a second test?
> > > > the path in the menu item is
> > > > "/usr/local/bin/arduino-ide_2.3.3.Appimage --no-sandbox" and
> > > > when i tried to start it I see an error message that it is not
> > > > found.
>
> Browsed to usr/local/bin/ and ran the program from terminal and it
> worked, albeit with some errors that i ignored.
>
> peterm@peterm-kubuntu:/usr/local/bin$ arduino-ide_2.3.3.AppImage --no-sandbox
> Arduino IDE 2.3.3
Don't change directory to /usr/local/bin as the menu item probably isn't
doing that. At the shell prompt, do what you're asking the menu item to
do:
cd
/usr/local/bin/arduino-ide_2.3.3.Appimage
> > > Is the whole string treated as the path. Try using
> > > "/usr/local/bin/arduino-ide_2.3.3.Appimage" instead just to see if
> > > it starts, even if it later fails because of the sandbox's
> > > constraints.
> > >
> > > Is the /usr/local/bin/arduino-ide_2.3.3.Appimage file readable and
> > > executable? ‘chmod a+rx
> > > /usr/local/bin/arduino-ide_2.3.3.Appimage’.
These are unanswered.
That ‘arduino-ide_2.3.3.AppImage --no-sandbox’ worked when the current
directory was /usr/local/bin doesn't mean the arduino-ide_2.3.3.AppImage
which was run was the one in that directory. Perhaps you've another
elsewhere. What gets run depends on your PATH. What's the output of:
cd /usr/local/bin
echo $PATH
type arduino-ide_2.3.3.AppImage
stat arduino-ide_2.3.3.AppImage
Have you a text file .xsession-errors in your home directory which grows
over time? You could ‘tail -f .xsession-errors’ to watch it and run the
broken menu item to see if an error appears.
Really, we don't know what this menu editor is doing. Presumably,
creating a FreeDesktop file under your home directory somewhere
containing the definition. ~/.config/menus? Recent configuration files
would probably be at the top of the list:
cd
find .??* -type f -printf '%T@ %Tc %p\n' | sort -nr | less
--
Cheers, Ralph.
--
Next meeting: Online, Jitsi, Tuesday, 2024-11-12 20:00
Check to whom you are replying
Meetings, mailing list, IRC, ... https://dorset.lug.org.uk
New thread, don't hijack: mailto:[email protected]