Print at Dec 16, 2025, 2:40:39 PM View all posts in this thread on one page
Posted by DerekvG at Mar 11, 2023, 10:53:01 AM
Starting SWH3D 7.1 on Linux Mint
Installed afresh SWH3D 7.1 on fresh Linux Mint 21.1.
1- when starting the app Linux mint says "Do you want to run SWH3D or display its content ?¨ Options "Run in terminal" "Display" "Cancel" "Run"
File propererties rw-r -r -x

2- This is the desktop file
[Desktop Entry]
Type=Application
Encoding=UTF-8
_Name=Yafaray -Djogamp.Gluegen.Usetempjarcache=False -Dcom.Eteks.Sweethome3D.Applicationid=Sweethome3D#Installer Com.Eteks.Sweethome3D.Sweethome3D -Open
Comment=Yafaray -Djogamp.Gluegen.Usetempjarcache=False -Dcom.Eteks.Sweethome3D.Applicationid=Sweethome3D#Installer Com.Eteks.Sweethome3D.Sweethome3D -Open
Exec=/home/derek/SweetHome3D/runtime/bin/java -Xmx2g -classpath /home/derek/SweetHome3D/lib/SweetHome3D.jar:/home/derek/SweetHome3D/lib/Furniture.jar:/home/derek/SweetHome3D/lib/Textures.jar:/home/derek/SweetHome3D/lib/Examples.jar:/home/derek/SweetHome3D/lib/Help.jar:/home/derek/SweetHome3D/lib/batik-svgpathparser-1.7.jar:/home/derek/SweetHome3D/lib/jeksparser-calculator.jar:/home/derek/SweetHome3D/lib/iText-2.1.7.jar:/home/derek/SweetHome3D/lib/freehep-vectorgraphics-svg-2.1.1c.jar:/home/derek/SweetHome3D/lib/sunflow-0.07.3i.jar:/home/derek/SweetHome3D/lib/jmf.jar:/home/derek/SweetHome3D/lib/java3d-1.6/j3dcore.jar:/home/derek/SweetHome3D/lib/java3d-1.6/j3dutils.jar:/home/derek/SweetHome3D/lib/java3d-1.6/vecmath.jar:/home/derek/SweetHome3D/lib/java3d-1.6/gluegen-rt.jar:/home/derek/SweetHome3D/lib/java3d-1.6/jogl-java3d.jar:/home/derek/SweetHome3D/lib/jnlp.jar -Djava.library.path=/home/derek/SweetHome3D/lib/java3d-1.6:/home/derek/SweetHome3D/lib/yafaray -Djogamp.gluegen.UseTempJarCache=false -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open
Terminal=false
StartupNotify=true
Name[en_US]=Sweethome3D
Icon=/home/derek/SweetHome3D/SweetHome3DIcon.png


Is all of this necessary, is there a simpler way ?

Posted by dorin at Mar 11, 2023, 6:51:48 PM
Re: Starting SWH3D 7.1 on Linux Mint
Is all of this necessary, is there a simpler way ?

Ask the guys who make the snap package for Mint.
If You read and follow the official linux install instructions from here and the few recommended links,
you could have something like this (mine) as desktop shortcut:
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/home/nea-dorin/Sweet_Home_3D/SweetHome3D-7.1/SweetHome3D-nimbus
GenericName[en_US]=Home designer
GenericName=Home designer
Icon=/home/nea-dorin/Sweet_Home_3D/SweetHome3DIcon.png
MimeType=
Name[en_US]=Sweet Home 3D
Name=Sweet Home 3D
Path=/home/nea-dorin/Sweet_Home_3D
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

In this way you will avoid many other headaches.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law

Posted by DerekvG at May 25, 2023, 3:17:08 PM
Re: Starting SWH3D 7.1 on Linux Mint

Ask the guys who make the snap package for Mint.
If You read and follow the official linux install instructions from here and the few recommended links,
In this way you will avoid many other headaches.

Dorin,
[moderated]
a) Mint doesn´t use SNAP, SNAP was the reason why I quit Ubuntu for Linux Mint in the first place, SNAP is turned off in Linux mint,
so there is no SNAP specialist at Linux Mint to ask silly questions
b) I installed the SWH3D from the sweethome3d.com/ repositories according to the instructions on the website
c) unless i missed something I did perform the actions necessary to create the desktop file That transcient desktop file is actually created when SWH#D is started, then I copied and saved it into a desktop file .

I will try if your desktop file works ...

Posted by dorin at May 25, 2023, 8:35:19 PM
Re: Starting SWH3D 7.1 on Linux Mint
I'm sorry!
The content of your desktop file suggested me the SNAP or other kind of installation.

Few unnecessary indications:
After you extract the SweetHome3D-7.1-linux-x64.tgz,
inside the folder SweetHome3D-7.1 you will have two bash files:
SweetHome3D and SweetHome3D-Java3D-1_5_2. To one of this have to point the Exec= statement from desktop file.
All your huge entry it is inside of this files and this is necessary for program to run.
My SweetHome3D-nimbus it is a customized file to use Nimbus Look and Fill.
Also, in my installation, I use an extra folder, to store multiple variants of SH3D and the editors, named Sweet_Home_3D.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law