A configuração para os thumbnailers para o seu gerenciador de arquivos está em
/usr/share/thumbnailers
e os binários estão em
/usr/bin
por exemplo:
cat evince.thumbnailer
[Thumbnailer Entry]
TryExec=evince-thumbnailer
Exec=evince-thumbnailer -s %s %u %o
MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/x-ext-pdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-ext-ps;application/x-ext-eps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;application/x-ext-dvi;image/vnd.djvu;application/x-ext-djv;application/x-ext-djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/x-ext-cbr;application/x-ext-cbz;application/x-ext-cb7;application/x-ext-cbt;application/oxps;application/vnd.ms-xpsdocument
-
Identifique a configuração do thumbnailer para o tipo MIME
text/x-python
via
grep -r 'text/x-python' /usr/share/thumbnailers
ou apenas o nome do arquivo da configuração do thumbnailer com
grep -ro 'text/x-python' /usr/share/thumbnailers | awk -F: '{print }'
-
Desativar a configuração do thumbnailer via
grep -ro 'text/x-python' /usr/share/thumbnailers | awk -F: '{system("sudo chmod o-r " )}'
-
Ativar via (agora você precisa de
sudo
)sudo grep -ro 'text/x-python' /usr/share/thumbnailers | awk -F: '{system("sudo chmod o+r " )}'