Thumbnails: Difference between revisions
No edit summary |
|||
Line 53: | Line 53: | ||
On minimal GNOME environments (for example ones with the option <code>services.gnome.core-utilities.enable</code> set to <code>false</code>, or ones without <code>pkgs.gnome.totem</code>), video thumbnails do not work by default. To fix this, you can use <code>ffmpegthumbnailer</code>: | On minimal GNOME environments (for example ones with the option <code>services.gnome.core-utilities.enable</code> set to <code>false</code>, or ones without <code>pkgs.gnome.totem</code>), video thumbnails do not work by default. To fix this, you can use <code>ffmpegthumbnailer</code>: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"># configuration.nix | ||
# configuration.nix | |||
{ pkgs, ... }: | { pkgs, ... }: | ||
{ | { | ||
Line 70: | Line 69: | ||
]; | ]; | ||
} | }</syntaxhighlight> | ||
</syntaxhighlight> | |||
=== HEIC thumbnailer === | === HEIC thumbnailer === | ||
On minimal GNOME environments as explained in the FFmpeg thumbnailer section above HEIC thumbnails do not work despite the <code>libheif</code> package being installed. To fix this, you | On minimal GNOME environments as explained in the 'FFmpeg thumbnailer' section above HEIC thumbnails do not work despite the <code>libheif</code> package being installed. To fix this, you need <code>libheif.out</code> . HEIF thumbnails should now work correctly if the symlinks to 'share/thumbnailers' are defined: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> |