como desativar evince-thumbnailer

1

Eu gostaria de desativar o evince-thumbnailer porque a capacidade do arquivo de log continua aumentando.

Deixe-me saber como desativar o evince-thumbnailer.

    
por LenItsuki 22.09.2015 / 05:56

2 respostas

1

Para desativá-lo em todo o sistema, comente a linha Exec= em /usr/share/thumbnailers/evince.thumbnailer :

sudo sed -i 's/^Exec=/# &/' /usr/share/thumbnailers/evince.thumbnailer
user@user-X550CL ~/tmp % sudo sed -i 's/^Exec=/# &/' /usr/share/thumbnailers/evince.thumbnailer
user@user-X550CL ~/tmp % cat /usr/share/thumbnailers/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

Para reativá-lo, descomente-o novamente:

sudo sed -i 's/^# \(Exec=\)//' /usr/share/thumbnailers/evince.thumbnailer
user@user-X550CL ~/tmp % sudo sed -i 's/^# \(Exec=\)//' /usr/share/thumbnailers/evince.thumbnailer
user@user-X550CL ~/tmp % cat /usr/share/thumbnailers/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
    
por kos 22.09.2015 / 06:04
0

Apenas sudo apt-get remove evince e instale o okular. Isso ajuda o meu pobre thinkpad a não congelar mais.

    
por jiamo 28.11.2015 / 18:15