Print at Dec 19, 2025, 11:59:52 PM
Posted by Wololo at Mar 21, 2023, 2:45:33 PM
install sweethome 3D 7.1 on Linux Elementary OS
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:

  • 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: . The zoom-in and out icons doesn't change anything here. How can i improve this situation?

  • 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
. How can i resolve this?

Many thanks in advance for your help,

OS: Linux Elementary OS 6.1 (fork of Linux Ubuntu)

Posted by Wololo at Mar 23, 2023, 9:57:47 AM
confused   Re: install sweethome 3D 7.1 on Linux Elementary OS
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:
[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?

Posted by Puybaret at Mar 23, 2023, 10:26:05 AM
Re: install sweethome 3D 7.1 on Linux Elementary OS
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

Posted by Wololo at Mar 23, 2023, 12:51:39 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
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:
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?

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"


Posted by Puybaret at Mar 23, 2023, 2:28:47 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
Yes. Hope it will work better.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Wololo at Mar 23, 2023, 3:22:28 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
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:



How can i reduce de size of the menu texts?

Posted by Puybaret at Mar 23, 2023, 5:08:09 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
Change the values you set!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Wololo at Mar 24, 2023, 9:05:18 AM
biggrin   Re: install sweethome 3D 7.1 on Linux Elementary OS
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
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:

# 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


Posted by Wololo at Mar 28, 2023, 4:16:18 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
Actually my initial point 2 has been "forgotten" while point 1 has been resolved


  • 1) the software interface menus are very big [..]
  • 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
. 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?

Posted by Keet at Mar 28, 2023, 6:56:00 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
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

Posted by Wololo at Mar 31, 2023, 11:29:28 AM
Re: install sweethome 3D 7.1 on Linux Elementary OS
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.)


Thank you @Keet for your suggestion.

I tried it, but unfortunately i haven't seen any option like "open with that script" or "navigate to folder".

In the Files program, i make a right-click on my .sh3d file, then "open with > other application". There is no further option like "open with -> navigate to folder" or "navigate to script".


Would you know how to solve this?

I tried also Option 3. Set default apps via MIME type (Universal) (Link https://fostips.com/default-apps-opening-files-ubuntu)

with these commands

Try 1
otto@ROBERT:~$ gio mime application/zip sweethome3d-7.1.desktop
Set sweethome3d-7.1.desktop as the default for application/zip


Try 2
otto@ROBERT:~$ xdg-mime default sweethome3d-7.1.desktop application/zip


But it didn't helped. i was still unable to open my sh3d file in sweethome3D while double-clicking on the file.

Posted by Keet at Mar 31, 2023, 12:35:22 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
If you don't see an option "Open With" when you right-click a .sh3d file you can select "properties". This will show a window and there should be a tab with "Open With". From there on the instructions remain the same:

After "Open With" you should see a list of programs. SweetHome3D should be in the list but I assume it is not because of your question. If it is check the "Remember" or "Always use this" option.

If SweetHome3D is not in the list you should see an option called something like "Custom Command". After checking that you should get a button to browse to the script and select it. Of course check the "Remember" or "Always use this" option. Also use this option if SweetHome3D IS in the list but you have installed a second version in another location that you want to associate with .sh3d files.
I checked this on Debian and this should work.

By-the-way, don't use the option to default sweethome3d-7.1.desktop to application/zip. It can cause ALL zips to open with SweetHome3D. My described method does nothing more than associate the .sh3d extension with the SweetHome3D program, exactly what you want.
By-By-the-way, It's not so much the Linux distribution that makes a difference, it is the desktop you use (Gnome, Mate, KDE, etc). Every desktop manager can handle these things in slightly different ways but they mostly work the same with sometimes little differences in how options are named.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects

Posted by Wololo at Mar 31, 2023, 8:40:46 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
Many thanks @Keet for your help.
the trick with "properties" is unfortunately the same as with "open with"
The properties window looks like this:

under "ouvrir avec" i see the same list as earlier with "open with". No ability to set any path or any script.
If sweethome3d doesn't appear in this list of installed applications, no chance...

the desktop used by Elementary OS is Pantheon. Unfortunately it seems to be poorer than the desktop you use under Debian.
The executable file for sweethome3d is installed under /opt/SweetHome3D-7.1/SweetHome3D

Posted by Wololo at Apr 2, 2023, 1:33:32 PM
cool   Re: install sweethome 3D 7.1 on Linux Elementary OS
hello all,
i have found a solution today for my issue sweethome3d does not appear in "show all applications" list

As you said @Keet, the issue seems to come from the files manager (Pantheon) of my OS.

This solution comes from this webpage:
In pantheon-files, right click -> open wit... I add a new entry to it?

The trick is a change one line in the launcher file sweethome3d-7.1.desktop, the Exec line, i.e. adding %U at the line end
Exec=/opt/SweetHome3D-7.1/SweetHome3D %U


i don' know what this %U really means, but it solved my problem.

the next wish would be that the sweethome3D logo appears for each file name,
> <
but for now it is a secondary issue which i won't try to solve.

Posted by Keet at Apr 2, 2023, 2:15:34 PM
Re: install sweethome 3D 7.1 on Linux Elementary OS
The %U is a parameter that passes the filename you click to SweetHome3D to open that file. So the filenamager actually executes
/opt/SweetHome3D-7.1/SweetHome3D [yourfilename].sh3d

----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects