Starting SWH3D 7.1 on Linux Mint

This topic has been viewed 6607 times and has 3 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
DerekvG
Posts: 33
Joined: Wed Apr 19, 2017 11:39 pm
Country: Belgium

Starting SWH3D 7.1 on Linux Mint

Post by DerekvG »

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

Code: Select all

[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 ?
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Starting SWH3D 7.1 on Linux Mint

Post by dorin »

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:

Code: Select all

[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
DerekvG
Posts: 33
Joined: Wed Apr 19, 2017 11:39 pm
Country: Belgium

Re: Starting SWH3D 7.1 on Linux Mint

Post by DerekvG »

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 ...
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Starting SWH3D 7.1 on Linux Mint

Post by dorin »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest