This fixes the issue and allows .ino sketches to be opened with
Arduino's Processing.
Peter
On Sun, May 13, 2012 at 7:52 PM, Scott Howard <email address hidden> wrote:
> Thanks - I don't think that arduino is capable of taking command line
> arguments (am I wrong?)
> We should probably not allow nautilus to "open with" arduino.
>
> If I open a .ino in arduino IDE, it opens fine - it's just the "open
> with" within nautilus
>
> --
> You received this bug notification because you are a member of Arduino
> on Ubuntu Packagers, which is subscribed to arduino in Ubuntu.
> https://bugs.launchpad.net/bugs/998952
>
> Title:
> Open With Ardunio, File Open Fails
>
> Status in “arduino” package in Ubuntu:
> New
>
> Bug description:
> Opening .ino files with Arduino results in IDE opening an empty
> sketch.
>
> Trying to opening a file on command line has similar effect.
>
> $ arduino ~/sketchbook/example.ino
>
>
> ---arky
> Ubuntu Bug Squad volunteer triager
> http://wiki.ubuntu.com/BugSquad
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: arduino 1:1.0+dfsg-9
> ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
> Uname: Linux 3.2.0-24-generic i686
> ApportVersion: 2.0.1-0ubuntu7
> Architecture: i386
> Date: Mon May 14 09:23:39 2012
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
> PackageArchitecture: all
> ProcEnviron:
> LANGUAGE=en_US:en
> TERM=xterm
> PATH=(custom, user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: arduino
> UpgradeStatus: Upgraded to precise on 2012-05-06 (7 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/998952/+subscriptions
>
> _______________________________________________
> Developers mailing list
> <email address hidden>
> http://arduino.cc/mailman/listinfo/developers_arduino.cc
Scott,
Fixed this manually a while back. Haven't submitted the patch to
Arduino, since the problem is trivial:
In your arduino shell script that runs the Java client (find it with
`which arduino`), make the following replacement:
- java -Dswing. defaultlaf= com.sun. java.swing. plaf.gtk. GTKLookAndFeel defaultlaf= com.sun. java.swing. plaf.gtk. GTKLookAndFeel
processing.app.Base
+ java -Dswing.
processing.app.Base "$@"
This fixes the issue and allows .ino sketches to be opened with
Arduino's Processing.
Peter
On Sun, May 13, 2012 at 7:52 PM, Scott Howard <email address hidden> wrote: /bugs.launchpad .net/bugs/ 998952 example. ino wiki.ubuntu. com/BugSquad ature: Ubuntu 3.2.0-24.37-generic 3.2.14 ture: all /bugs.launchpad .net/ubuntu/ +source/ arduino/ +bug/998952/ +subscriptions _______ _______ _______ _______ _______ _____ arduino. cc/mailman/ listinfo/ developers_ arduino. cc
> Thanks - I don't think that arduino is capable of taking command line
> arguments (am I wrong?)
> We should probably not allow nautilus to "open with" arduino.
>
> If I open a .ino in arduino IDE, it opens fine - it's just the "open
> with" within nautilus
>
> --
> You received this bug notification because you are a member of Arduino
> on Ubuntu Packagers, which is subscribed to arduino in Ubuntu.
> https:/
>
> Title:
> Open With Ardunio, File Open Fails
>
> Status in “arduino” package in Ubuntu:
> New
>
> Bug description:
> Opening .ino files with Arduino results in IDE opening an empty
> sketch.
>
> Trying to opening a file on command line has similar effect.
>
> $ arduino ~/sketchbook/
>
>
> ---arky
> Ubuntu Bug Squad volunteer triager
> http://
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: arduino 1:1.0+dfsg-9
> ProcVersionSign
> Uname: Linux 3.2.0-24-generic i686
> ApportVersion: 2.0.1-0ubuntu7
> Architecture: i386
> Date: Mon May 14 09:23:39 2012
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
> PackageArchitec
> ProcEnviron:
> LANGUAGE=en_US:en
> TERM=xterm
> PATH=(custom, user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: arduino
> UpgradeStatus: Upgraded to precise on 2012-05-06 (7 days ago)
>
> To manage notifications about this bug go to:
> https:/
>
> _______
> Developers mailing list
> <email address hidden>
> http://
--
Software Engineer
+15105575986