Re: Association files sh3d

by Puybaret » Fri Jun 03, 2016 10:58 am

[Translated from the French version. Bass_man, please don't double all your messages in French and English!]

As suggested here, create a [font=courier new]sweethome3d.desktop[/font] file with the following content, or download and modify this file:

Code: Select all

[Desktop Entry]
Version=1.0
Type=Application
Name=Sweet Home 3D
GenericName=Sweet Home 3D
Comment=Design home interiors
Exec=/installationFolder/SweetHome3D-5.2/SweetHome3D %U
Icon=/installationFolder/SweetHome3D-5.2/SweetHome3DIcon.png
Terminal=false
Categories=Graphics
MimeType=application/SweetHome3D
In this text file, replace the installationFolder folder by the one where [font=courier new]SweetHome3D[/font] program is stored.
If you want an icon (not mandatory), download this one (it will be also available in the installation folder of the next version 5.3).

Once the [font=courier new]sweethome3d.desktop[/font] file is ready, move it in the folder [font=courier new] ~/.local/share/applications[/font] (if you want to make it available only to you) or in [font=courier new]/usr/share/applications[/font] (for all systems users).
Finally, choose the Open with > Other application... item in the contextual menu of the .sh3d file you want to open, and in the displayed dialog box, click on the Show other applications to select Sweet Home 3D.