Fix thumbnail preview on XDG Desktops (#4078)

Merged, abandoned or rejected pull requests are moved here to clear the main Pull Requests forum.
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Fix thumbnail preview on XDG Desktops (#4078)

Post by wmayer »

Why?
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Fix thumbnail preview on XDG Desktops (#4078)

Post by drmacro »

wmayer wrote: Thu Dec 03, 2020 5:19 pmWhy?

Code: Select all

...
- This executable file should be on the PATH so it can be found
	"$ sudo cp freecad-thumbnailer /usr/share/bin"
...
	
On Debian and Ubuntu I find no evidence of a /usr/share/bin and freecad-thumbnailer is in /usr/bin"

Code: Select all

ls /usr/share/bin
ls: cannot access '/usr/share/bin': No such file or directory
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
pachiburke
Posts: 11
Joined: Tue Nov 24, 2020 9:46 am

Re: Fix thumbnail preview on XDG Desktops (#4078)

Post by pachiburke »

yes, sorry. It is indeed located in "/usr/bin"

"/usr/share/bin" is a traditional place for this sort of executables, but it's not used now.

Maybe freecad-thumbnailer should always be placed there by the installer, as well as the mimetype definition and thumbnailer config, but this last one could have the tryexec and exec parameters commented so it can be more easily activated by users.
Post Reply