problems with thumbnail cache with nemo

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bo333
Level 2
Level 2
Posts: 61
Joined: Sat Sep 05, 2015 7:04 pm

problems with thumbnail cache with nemo

Post by bo333 »

Hello,

Most folders I have now won't show thumbnails. Only a few load up and then just stop.

I have checked the preferences to enable everything.

I have used dconf-editor to increase the cache size.

I have emptied out the cache/thumbnails folder.

Oddly, when I open the folders that won't show thumbnails with root, it shows them all.
When I compare the permissions between root and normal user, they are the same.

Any idea why normal thumbnails are not always loading up?

My nemo is version 5.2.4


System:
Host: bo-System Kernel: 5.4.0-148-generic x86_64 bits: 64
Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una
Machine:
Type: Desktop System: ASUS product: N/A v: N/A
serial: <superuser/root required>
Mobo: ASUSTeK model: ROG STRIX B550-F GAMING v: Rev X.0x
serial: <superuser/root required> UEFI: American Megatrends v: 1004
date: 08/13/2020
CPU:
Topology: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP
L2 cache: 3072 KiB
Speed: 2196 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 2196 2: 2196
3: 2192 4: 2192 5: 2196 6: 2191 7: 2192 8: 2190 9: 2196 10: 2197 11: 2196
12: 2193
Graphics:
Device-1: NVIDIA GK208B [GeForce GT 710] driver: nvidia v: 470.182.03
Display: x11 server: X.Org 1.20.13 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1200~60Hz
OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2
v: 4.6.0 NVIDIA 470.182.03
Audio:
Device-1: NVIDIA GK208 HDMI/DP Audio driver: snd_hda_intel
Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.4.0-148-generic
Network:
Device-1: Intel driver: igc
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 3c:7c:3f:1d:9d:37
Drives:
Local Storage: total: 9.10 TiB used: 3.11 TiB (34.2%)
ID-1: /dev/sda vendor: Western Digital model: WD20EZRX-00D8PB0
size: 1.82 TiB
ID-2: /dev/sdb vendor: Seagate model: ST8000DM004-2CX188 size: 7.28 TiB
Partition:
ID-1: / size: 7.22 TiB used: 3.11 TiB (43.1%) fs: ext4 dev: /dev/sdb2
Sensors:
System Temperatures: cpu: 48.2 C mobo: N/A gpu: nvidia temp: 52 C
Fan Speeds (RPM): N/A
Info:
Processes: 333 Uptime: 43m Memory: 31.31 GiB used: 3.60 GiB (11.5%)
Shell: bash inxi: 3.0.38
Last edited by LockBot on Fri Dec 01, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Termy
Level 12
Level 12
Posts: 4254
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: problems with thumbnail cache with nemo

Post by Termy »

Just to check, please show us the results from the following:

Code: Select all

ls -nd ~/.cache ~/.cache/thumbnails; id -u; id -g
I'm also Terminalforlife on GitHub.
Coffeeee
Level 2
Level 2
Posts: 98
Joined: Sun Mar 13, 2022 8:30 am
Location: virgo supercluster, milky way galaxy, solar system, earth

Re: problems with thumbnail cache with nemo

Post by Coffeeee »

go to

user/share/thumbnailers

move or delete all files that contain extensions you are having problems with (except ffmpegthumbnailer)

eg
totem.thumbnailer
libgdk-pixbuf*


If ffmpegthumbnailer file does not exist, install the ffmpegthumbnailer package.

delete all png files in ~/.cache/thumbnails/fail
Subdirectories too.

It would be better to delete all thumbnails under directory and subdirectory ~/.cache/thumbnails/

close/restart nemo. You should have thumbnails.
bo333
Level 2
Level 2
Posts: 61
Joined: Sat Sep 05, 2015 7:04 pm

Re: problems with thumbnail cache with nemo

Post by bo333 »

Thanks for the imput. On the first suggestion.


o@bo-System:~$ ls -nd ~/.cache ~/.cache/thumbnails; id -u; id -g
drwx------ 23 1000 1000 4096 Feb 8 15:11 /home/bo/.cache
drwx------ 5 1000 1000 4096 Jan 4 06:10 /home/bo/.cache/thumbnails
1000
1000
bo333
Level 2
Level 2
Posts: 61
Joined: Sat Sep 05, 2015 7:04 pm

Re: problems with thumbnail cache with nemo

Post by bo333 »

I have quite a few png files in that folder.
I take it that the 'fail' means there is something wrong.
What is going wrong with them?
And why does deleting them help?
User avatar
Termy
Level 12
Level 12
Posts: 4254
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: problems with thumbnail cache with nemo

Post by Termy »

bo333 wrote: Fri Jun 02, 2023 8:25 am [...]
Thank you. All seems fine there. I just wanted to confirm things were set appropriately.
I'm also Terminalforlife on GitHub.
Coffeeee
Level 2
Level 2
Posts: 98
Joined: Sun Mar 13, 2022 8:30 am
Location: virgo supercluster, milky way galaxy, solar system, earth

Re: problems with thumbnail cache with nemo

Post by Coffeeee »

bo333 wrote: Fri Jun 02, 2023 8:51 am I have quite a few png files in that folder.
All your thumbnails are stored there. "~/.cache/thumbnails/"
bo333 wrote: Fri Jun 02, 2023 8:51 am I take it that the 'fail' means there is something wrong.
yes
bo333 wrote: Fri Jun 02, 2023 8:51 am What is going wrong with them?
a thumbnail could not be generated because it extension/mime could not be matched for program to generate thumbnail so a place holder image is set. Notice the small size. Open them and they are nothing, black.
bo333 wrote: Fri Jun 02, 2023 8:51 am And why does deleting them help?
Removes place holders for failed images and any other issues. Thumbnailer does not recheck failed thumbnails so it must be deleted manually.

did you get it working?
bo333
Level 2
Level 2
Posts: 61
Joined: Sat Sep 05, 2015 7:04 pm

Re: problems with thumbnail cache with nemo

Post by bo333 »

Well, the fail folder and others just fills up again whenever I open the folders I want to use.
You delete the fail folder and it fills up again.
However, webp photos never showed thumbnails until some one suggested this:

sudo add-apt-repository ppa:krifa75/eog-ordissimo

then

sudo apt update

then

sudo apt install webp-pixbuf-loader

and now they load fine.
Also the png files in the failfolder are no longer blank when you click on them but have a small picture.

I think the page below is the solution coupled with increase the cache size with dconf-editor

https://www.makeuseof.com/view-webp-ima ... inux-mint/



Thanks for the help, to both of you.

I'll wait a few days before tagging this as solved
Locked

Return to “Software & Applications”