Okay, so I found a resolution at https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2148074 The steps are:
- Update AppArmor to version 4.0.1really4.0.1-0ubuntu0.24.04.6.
- Notice that the file /etc/apparmor.d/nautilus is missing.
- Open Nautilus: thumbnails are no longer displayed.
Manually restore the /etc/apparmor.d/nautilus profile. Open a terminal and use the following command to create the file using nano:
sudo nano /etc/apparmor.d/nautilus
Then, copy the following content into the nano editor. Right click on the nano editor and select Paste from the context menu:
#This profile allows everything and only exists to give the
#application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile nautilus /usr/bin/nautilus flags=(unconfined) {
userns,
#Site-specific additions and overrides. See local/README for details.
include if exists <local/nautilus>
}
Save the file with Ctrl+S. Exit the nano editor with Ctrl+X.
Then reload the profile with:
sudo apparmor_parser -r /etc/apparmor.d/nautilus
A couple of extra steps were needed based on the comment by david6. The next two commands deletes the existing generic thumbnails from the cache and restarts nautilus:
rm -r ~/.cache/thumbnails/fail
nautilus -q
This restores thumbnail display.
Before the update: the "nautilus" profile was present in the AppArmor profile list (see aa-status). After the update: the profile is missing, and thumbnails no longer appear.
Answer from Tanay on askubuntu.comI've done all the recommended remedies (deleting thumbnails in .cache etc.), the thumbnails are still not being created. Anybody else having the same problem?
Image thumbnails disappeared in Ubuntu 24.04 - nautilus bug
Nautilus does not generate thumbnails for mp4 files in Ubuntu 24.04
Thumbnails in file managers
Thumbnails for images aren't appear in the Files manager in Ubuntu 24.04.4 LTS?
Okay, so I found a resolution at https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2148074 The steps are:
- Update AppArmor to version 4.0.1really4.0.1-0ubuntu0.24.04.6.
- Notice that the file /etc/apparmor.d/nautilus is missing.
- Open Nautilus: thumbnails are no longer displayed.
Manually restore the /etc/apparmor.d/nautilus profile. Open a terminal and use the following command to create the file using nano:
sudo nano /etc/apparmor.d/nautilus
Then, copy the following content into the nano editor. Right click on the nano editor and select Paste from the context menu:
#This profile allows everything and only exists to give the
#application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile nautilus /usr/bin/nautilus flags=(unconfined) {
userns,
#Site-specific additions and overrides. See local/README for details.
include if exists <local/nautilus>
}
Save the file with Ctrl+S. Exit the nano editor with Ctrl+X.
Then reload the profile with:
sudo apparmor_parser -r /etc/apparmor.d/nautilus
A couple of extra steps were needed based on the comment by david6. The next two commands deletes the existing generic thumbnails from the cache and restarts nautilus:
rm -r ~/.cache/thumbnails/fail
nautilus -q
This restores thumbnail display.
Before the update: the "nautilus" profile was present in the AppArmor profile list (see aa-status). After the update: the profile is missing, and thumbnails no longer appear.
You can install thunar as the temporary workaround til they patch this bug. That's what I did.
sudo apt update
sudo apt install thunar
Many users are just using thunar til they patch this bug
This is what worked for me on Ubuntu 24.10.
- Add "GSK_RENDERER=gl" to
/etc/environmentfile - Run
rm -rf ~/.cache/thumbnails/fail - Either restart or execute
sudo systemctl restart gdm.service
In my case, the following has helped:
- Add
OPENBLAS_NUM_THREADS=1to/etc/environment - Restart the Gnome session.
Note that there are clearly more than 1 possible causes of Gnome not showing thumbnails.
More generally, you may be able to diagnose the problem with Gnome's thumbnailer by doing these 2 steps:
- First, find what app is supposed to generate thumbnails for your file, and what command line options it takes. To do that, check
/usr/share/thumbnailers/. - Run the associated app manually.
- For instance, if you're having trouble with video thumbnails, it is likely that
/usr/bin/totem-video-thumbnaileris in charge.
This is what I did to diagnose the problem.
Ubuntu 22.04 and Firefox 104:
Type about:config in the address bar to be able to access the advanced settings page and confirm that you accept the risk.
Set widget.use-xdg-desktop-portal.file-picker to 0.
Ubuntu 20.04.x
Gimp 2.10.28
Open Gimp
Menu > Edit > Preferences > System Resources > Image Thumbnails
Select something else than "No thumbnails"
Nautilus (from Bash prompt), AKA "Files":
The three dash (horizontal version of ///) clickable gadget just beside "_" (minimize window) in the upper right corner of the window has the settings.
In that menu you have Preferences > Search and preview (tab) > Thumbnails: move away from Never if set to that.
Firefox 99.0:
Enter about:config in the address field
Click Accept the risk ...
Then type Thumbnail in the search field that appears.
(No related settings as it seems, hmm? Neither so in Settings)
Hi all, just wondering if there is a way to fix this?. I tried googling this and I did find a couple videos on YT about fixing it but nothing worked.
When you take a screenshot, a thumbnail appears in Nautilus. But if you take a screenshot without opening Nautilus, and instead select images in Google Chrome/Firefox when uploading, for example, to Reddit, the thumbnail won't be generated. Why is that? I checked in Kubuntu, and there it works fine. But the GNOME environment can't handle it.