Page 4 of 4

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

Posted: Thu Dec 03, 2020 5:19 pm
by wmayer
Why?

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

Posted: Thu Dec 03, 2020 5:40 pm
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

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

Posted: Wed Dec 09, 2020 11:13 am
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.