install sweethome 3D 7.1 on Linux Elementary OS

This topic has been viewed 11473 times and has 14 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Wololo
Posts: 34
Joined: Sun Nov 06, 2016 11:33 am

install sweethome 3D 7.1 on Linux Elementary OS

Post by Wololo »

Hello,
i have just instaled sweethome 3D 7.1 on my computer.
I have exactly followed the instruction of this link which is linked on the official download page.
I have currently these 2 issues:
  1. the software interface menus are very big (see areas 1,2 and 3 on the picture) compared to the rest of the interface, i mean the menu icons: Image. The zoom-in and out icons doesn't change anything here. How can i improve this situation?
  2. when i double click on a .sh3d file, sweethome 3D does not start. The archive software starts. doing "righ-click > open with > other application" lists all my application, but SH3D does not appear in that list.
    However, SH3D is installed and can be started via the applications menu Image
    [/list=1]. How can i resolve this?

    Many thanks in advance for your help,

    OS: Linux Elementary OS 6.1 (fork of Linux Ubuntu)
Wololo
Posts: 34
Joined: Sun Nov 06, 2016 11:33 am

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Wololo »

i have tried today installing versions 7.0.1 back, then version 6.5 as well.
The software interface menus texts are still very big, there is no change compared to my screenshot of the previous message.

My .desktop file is like this:

Code: Select all

[Desktop Entry]
Version=1.0
Name=Sweet Home 3D 7.1
GenericName=Interior 2D design application with 3D preview
GenericName[fr]=Plans architecture d//'intérieur
Comment=Interior design Java application for quickly choosing and placing furniture on a house 2D plan drawn by the end-user with a 3D preview
Exec=/opt/SweetHome3D-7.1/SweetHome3D
Icon=SweetHome3DIcon
StartupNotify=true
StartupWMClass=com-eteks-sweethome3d-SweetHome3D
Terminal=false
Type=Application
Categories=Graphics;2DGraphics;3DGraphics;
Keywords=interior;design;2D;3D;home;house;furniture;java;
has someone an idea how i can make the menu texts size smaller?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Puybaret »

Try to set the properties listed in the FAQ Texts in the furniture catalog are not displayed correctly or icons in the toolbar appear very small on my computer. How can I fix that?
Emmanuel Puybaret, Sweet Home 3D creator
Wololo
Posts: 34
Joined: Sun Nov 06, 2016 11:33 am

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Wololo »

Try to set the properties listed in the FAQ Texts in the furniture catalog are not displayed correctly or icons in the toolbar appear very small on my computer. How can I fix that?
Many thanks. The FAQ says Under Linux, edit SweetHome3D script and add the previous options before -classpath Java option without line returns.


under Linux, the SweetHome3D script has 11 rows.
The row 11 is:

Code: Select all

exec "$PROGRAM_DIR"/runtime/bin/java -Xmx2g -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/jeksparser-calculator.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1c.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dcore.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dutils.jar:"$PROGRAM_DIR"/lib/java3d-1.6/vecmath.jar:"$PROGRAM_DIR"/lib/java3d-1.6/gluegen-rt.jar:"$PROGRAM_DIR"/lib/java3d-1.6/jogl-java3d.jar:"$PROGRAM_DIR"/lib/jnlp.jar -Djava.library.path="$PROGRAM_DIR"/lib/java3d-1.6:"$PROGRAM_DIR"/lib/yafaray -Djogamp.gluegen.UseTempJarCache=false -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open "$1"
Should i edit the script for the row 11 like this?

Code: Select all

exec "$PROGRAM_DIR"/runtime/bin/java -Xmx2g -Dcom.eteks.sweethome3d.resolutionScale=2.5 -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -Dswing.plaf.metal.controlFont=Dialog-11 -Dswing.plaf.metal.userFont=SansSerif-11 -Dswing.plaf.metal.systemFont=SansSerif-11 -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/jeksparser-calculator.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1c.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dcore.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dutils.jar:"$PROGRAM_DIR"/lib/java3d-1.6/vecmath.jar:"$PROGRAM_DIR"/lib/java3d-1.6/gluegen-rt.jar:"$PROGRAM_DIR"/lib/java3d-1.6/jogl-java3d.jar:"$PROGRAM_DIR"/lib/jnlp.jar -Djava.library.path="$PROGRAM_DIR"/lib/java3d-1.6:"$PROGRAM_DIR"/lib/yafaray -Djogamp.gluegen.UseTempJarCache=false -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open "$1"
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Puybaret »

Yes. Hope it will work better.
Emmanuel Puybaret, Sweet Home 3D creator
Wololo
Posts: 34
Joined: Sun Nov 06, 2016 11:33 am

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Wololo »

unfortunately it has not brough the expected result.
Now, all the interface is written in a huge size. You can see what a "normal size" would be if you compare the window's header (where the file name "sans titre" appears:

Image

How can i reduce de size of the menu texts?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Puybaret »

Change the values you set!
Emmanuel Puybaret, Sweet Home 3D creator
Wololo
Posts: 34
Joined: Sun Nov 06, 2016 11:33 am

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Wololo »

Change the values you set!
problème résolu !

many thanks for the simple suggestion, at the end the proper factor was 1.0 :) in

Code: Select all

resolutionScale=1.0
i have tried with resolution = 2.5 as said in the FAQ, then with resolution = 0.5, =0.75 and finally = 1.0

i haven't thought to set 1.0 because i was supposing that this is the standard value which doesn't need an extra specification of it....

here the rows 10 and the beginning of row 11:

Code: Select all

# Run Sweet Home 3D
exec "$PROGRAM_DIR"/runtime/bin/java -Xmx2g -Dcom.eteks.sweethome3d.resolutionScale=1.0 -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -Dswing.plaf.metal.controlFont=Dialog-11 -Dswing.plaf.metal.userFont=SansSerif-11 -Dswing.plaf.metal.systemFont=SansSerif-11 -classpath HERE REST OF ROW 11
Wololo
Posts: 34
Joined: Sun Nov 06, 2016 11:33 am

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Wololo »

Actually my initial point 2 has been "forgotten" while point 1 has been resolved
  1. 1) the software interface menus are very big [..]
  2. 2) when i double click on a .sh3d file, sweethome 3D does not start. The archive software starts. doing "righ-click > open with > other application" lists all my application, but SH3D does not appear in that list.
    However, SH3D is installed and can be started via the applications menu Image
    [/list=1]. How can i resolve this?

    Many thanks in advance for your help,

    OS: Linux Elementary OS 6.1 (fork of Linux Ubuntu)
does someone have an idea on this issue?
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: install sweethome 3D 7.1 on Linux Elementary OS

Post by Keet »

Note the location of the SweetHome3D start script. This is the script you edited before.

Right click on a .sh3d file
Click "Open With Other Application"
Navigate to the SweetHome3D script and select to open with that script.
Don't forget to mark "Remember this applicatpon for sh3d documents".

From now on double clicking on a sh3d file should start SweetHome3D with the clicked file.

(This is on Debian but it's probably the same on Elementary.)
Dodecagon.nl
1300+ 3D models, manuals, and projects
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest