Realthunder's Link branch Snap packages
Re: Realthunder's Link branch Snap packages
I tested with external links. The problem is that you're accessing the file through the document portal for some reason. This usually happens for files the snap has no access to. In this case, only the selected file gets exposed to the snap (like e.g. in Android). It won't see other files in the main file's vicinity.
If you're accessing a local path in your home directory though, it should _not_ use the document portal, but return the actual path. Why this is the case for you, I don't know.
If you're accessing a local path in your home directory though, it should _not_ use the document portal, but return the actual path. Why this is the case for you, I don't know.
Re: Realthunder's Link branch Snap packages
The solution to the assembly with external links problem is described here: https://github.com/realthunder/FreeCAD_ ... 1022043527
You can force FreeCAD to use the internal file dialog instead of the portal's file dialog, which is uglier, but only works with real paths and attempts no proxying of files. It will then behave like an AppImage would.
You can force FreeCAD to use the internal file dialog instead of the portal's file dialog, which is uglier, but only works with real paths and attempts no proxying of files. It will then behave like an AppImage would.
Re: Realthunder's Link branch Snap packages
Many thanks for your support!
I now have an option of using either appimage or snap (for both master and link branch) or even flatpak ( master branch only).
I am keeping both snap and appimage (on separate Linux installations) to see how the experience compares long term
I thought it would be good to discuss relative merits of each solution as far as using FreeCAD is concerned:
https://forum.freecadweb.org/viewtopic.php?f=8&t=65691
to help people to making choice?
I now have an option of using either appimage or snap (for both master and link branch) or even flatpak ( master branch only).
I am keeping both snap and appimage (on separate Linux installations) to see how the experience compares long term
I thought it would be good to discuss relative merits of each solution as far as using FreeCAD is concerned:
https://forum.freecadweb.org/viewtopic.php?f=8&t=65691
to help people to making choice?
Re: Realthunder's Link branch Snap packages
Quick question please.ppd wrote: ping...
With me running both snap and appimage it would be great to customise system icons to easily know which of the two I am about to fire
I can easily customise appimage (OS integration is done by myself, so I know where things are and how to modify them), but snap is proving a challenge.
Can you help, please?
Code: Select all
OS: elementary OS 6.1 Jólnir (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 2022.430.26244 +4758 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: b024b876480a533018fdc702145e9e38f8c54ba6
Python version: 3.9.12
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
Code: Select all
OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 2022.512.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.05.12-edge)
Hash: 8f837b53c108a2444535be2604fdf31170dcf7f0
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/United Kingdom (en_GB)
Re: Realthunder's Link branch Snap packages
@bambuko I guess:
Then you should be able to edit the copied desktop file (name, icon...) and your desktop environment should display it instead of the original one.
Code: Select all
cp /var/lib/snapd/desktop/applications/freecad-realthunder_freecad-realthunder.desktop ~/.local/share/applications/
Re: Realthunder's Link branch Snap packages
Perfect, that's what I was missing (i.e. .desktop location for snap packages)
Will play with it and come back if I have any problems.
Thank you very much indeed!!
Will play with it and come back if I have any problems.
Thank you very much indeed!!
Re: Realthunder's Link branch Snap packages
That was my final solution - thank you for your help: https://forum.freecadweb.org/viewtopic. ... 74#p595174
Re: Realthunder's Link branch Snap packages
@ppd another question, please about integration of snap package?
When I try to open FreeCAD file using "open with" option I get the following message:
I can open the file from within FreeCAD, so it is probably an issue with my OS?
Any advice, please?
BTW it says Ubuntu Core 20, but actually it is Elementary OS
(just in case it makes difference?)
When I try to open FreeCAD file using "open with" option I get the following message:
I can open the file from within FreeCAD, so it is probably an issue with my OS?
Any advice, please?
BTW it says Ubuntu Core 20, but actually it is Elementary OS
(just in case it makes difference?)
Code: Select all
OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 2022.520.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.05.20-edge)
Hash: d47fafeec334a1069256639f391f17368276068c
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/United Kingdom (en_GB)
Re: Realthunder's Link branch Snap packages
I only tried with the official freecad snap and standard Nautilus in Ubuntu 22.04, and my file opened just fine.
However, in my case, the FCStd file is identified as a zip file because snaps cannot register new MIME types at the moment.
The snap uses the core20 base image, which is kind of a minimal Ubuntu 20.04 running within your Elementary OS. That's why it displays as such.