From jebrhansen+SBo at gmail.com Fri Apr 3 02:39:56 2026 From: jebrhansen+SBo at gmail.com (Jeremy Hansen) Date: Thu, 2 Apr 2026 22:39:56 -0400 Subject: [Slackbuilds-users] SweetHome3D tiny improvement In-Reply-To: References: <8211b62a-40d2-4be5-f0b0-1f10368785a5@online.be> <0cdcb7ab-ed7e-4442-8679-a18d4a6dbf89@slacky.it> <69baa25a-1faf-be04-2ad0-65715d5d778e@online.be> Message-ID: My internet at home finally came back up and I had a chance to look into it. The script in /opt/ that the other script from /usr/bin launches is designed to only support one argument to open a file. While this could be tweaked to support adding additional java commands, it would get quite messy and probably not be worth the effort with how few would probably expect to be able to pass java launch options when launching via CLI, while still retaining the ability to pass a single argument that it would know to use the java "-open" option. I added support for passing just a single option while launching from the CLI, and it expects it to be a file location/filename. It should show up in this week's public update. Thanks for the suggestion! Jeremy On Tue, Mar 31, 2026 at 4:06?AM Jeremy Hansen wrote: > I'm the current maintainer of SweetHome3D. > > It shouldn't be an issue to modify the scripts to take a single argument, > or multiple arguments if the binary supports it (I'll need to do some > testing -- I didn't even realize it took arguments, since I've always > launched it via the "start" menu and didn't dig too deeply when I took over > maintenance). > > I'm currently on an extended business trip and, unfortunately, my internet > has been down back at my house for the last 20 hours (or the power is out, > I'm not sure which, since I'm about 3000 miles away -- I really should set > up notifications when the power is out and my UPS is gearing to shut down > my computer so I know whenever it's power or internet issues). Once my > system is back up, I'll play around with things to see what is able to be > supported. If it's not up by tomorrow, something else might be wrong and I > may be SoL for a few months until I get back and can troubleshoot in person. > > As an aside, in the future, you should always email the maintainer, > whether singularly or CC'd in a message to this distro. While I am > subscribed to this distro, and thus saw this message, not all maintainers > are. They may never see your suggestion and it's not common for people on > this distro to modify SlackBuilds they don't maintain unless it's due to > security issues or breakage. > > Thanks for the suggestion! Hopefully my system comes back up and I can > push an update before this weekend's public update of SBo. > > Jeremy > > > On Tue, Mar 31, 2026, 3:45?AM Karel Venken via SlackBuilds-users < > slackbuilds-users at slackbuilds.org> wrote: > >> 414N wrote: >> > >> > Il 30/03/26 18:04, Karel Venken via SlackBuilds-users ha scritto: >> >> #!/bin/sh >> >> exec /opt/SweetHome3D/SweetHome3D "$1" >> > >> > Or maybe better, use "$@" to pass any argument to the original binary >> > instead of only the first one. >> > >> > >> I would fully agree except for the fact that it points to >> /opt/SweetHome3D/SweetHome3D which itself only uses "$1", so the other >> parameters are ignored anyway unless this one is adapted as well but it >> is provided by the origin. >> _______________________________________________ >> SlackBuilds-users mailing list >> SlackBuilds-users at slackbuilds.org >> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users >> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ >> FAQ - https://slackbuilds.org/faq/ >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: