Skip to content

Instantly share code, notes, and snippets.

@andrewpayne68
Last active May 27, 2026 17:01
Show Gist options
  • Select an option

  • Save andrewpayne68/1be45afa51977d5a91d51c69eafb9764 to your computer and use it in GitHub Desktop.

Select an option

Save andrewpayne68/1be45afa51977d5a91d51c69eafb9764 to your computer and use it in GitHub Desktop.
After latest April 2026 update to Ubuntu 24.04 LTS, thumbnails are no longer being generated

After latest April 2026 update to Ubuntu 24.04 LTS, thumbnails are no longer being generated

Steps to fix it:

Relax the security restriction (immediate fix): Open your terminal and run:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

Clear the "failed" thumbnail cache: This forces Nautilus to retry generating thumbnails for files that previously failed:

rm -rf ~/.cache/thumbnails/fail/*

Restart the file manager: Close all Nautilus instances to apply the changes:

nautilus -q

Single Line Command:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 && rm -rf ~/.cache/thumbnails/fail/* && nautilus -q
@LexGear
Copy link
Copy Markdown

LexGear commented May 22, 2026

This is actually driving me nuts. As someone who works with lots and lots of graphics, my workflow has been massively affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment