Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-01-07 18:14:34

Pizio
Member
From: Italy
Registered: 2017-03-30
Posts: 24

File symbol and preview

Hi there and Happy New Year,
well, just a little question: I have many pdf files and they are shown not as pdf symbol, but as a small preview. Is it possible to change them just as symbol? Same happens also with video media files.

Thanks

Offline

#2 2018-01-07 20:46:31

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,660

Re: File symbol and preview

Have a look at the tumbler documentation here - specifically the configuration section where you can override the default configuration file and enable/disable certain thumbnailers.

Offline

#3 2018-01-08 10:27:09

Pizio
Member
From: Italy
Registered: 2017-03-30
Posts: 24

Re: File symbol and preview

Thank you for your rapid answer.
I have done as show, but every time I get the directory "tumbler" in the system directory and not in my HOME. What I did from path of my Home:

sudo mkdir -p $XDG_CONFIG_HOME/tumbler
sudo cp /etc/xdg/tumbler/tumbler.rc $XDG_CONFIG_HOME/tumbler/

is there something wrong or am I wrong?

Offline

#4 2018-01-08 11:30:56

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,660

Re: File symbol and preview

First, don't use sudo. You don't need it as you will be creating a local copy. Did the directory get created?

ls -l ~/.config | grep tumbler

Secondly, does $XDG_CONFIG_HOME return anything on your system?

echo $XDG_CONFIG_HOME

And finally, does tumbler.rc exist in /etc/xdg?

locate tumbler.rc

Offline

#5 2018-01-08 16:44:09

Pizio
Member
From: Italy
Registered: 2017-03-30
Posts: 24

Re: File symbol and preview

Well,
using those command from the link you have posted it has been created a directory in my file system "/tumbler/tumbler.rc", but any with XDG_CONFIG_HOME.
If I try suggestions you have posted I get nothing from the first one - nothing from the second - and from the third "/etc/xdg/tumbler/tumbler.rc", but this last has bee installed long time ago not today.

Offline

#6 2018-01-08 22:04:18

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,660

Re: File symbol and preview

In that case, try these instructions:

First close any open thunar windows.

Then:

mkdir -p ~/.config/tumbler
cp /etc/xdg/tumbler/tumbler.rc ~/.config/tumbler

...then edit the ~/.config/tumbler/tumbler.rc file and set "Disabled=true" in the "[PopplerThumbnailer]" section so it looks like:

# PDF/PS thumbnailer
[PopplerThumbnailer]
Disabled=true
Priority=1
Locations=
MaxFileSize=0

Then delete the existing thumbnails:

rm -rf ~/.cache/thumbnails

And log out and back in again.

Offline

#7 2018-01-09 09:04:53

Pizio
Member
From: Italy
Registered: 2017-03-30
Posts: 24

Re: File symbol and preview

Well, it works! Thank you a lot for your support and I am sorry if I cant reciprocate.

Offline

Board footer

Powered by FluxBB