![]() Create a temporary directory: /tmp/gnome-desktop-thumbnailer-67FG80.Nautilus (with libgnome-desktop 3.37.2 or newer) will do the following:. ![]() usr/bin/gdk-pixbuf-thumbnailer -s 128 /home/calico/Pictures/image.gif /tmp/.mate_desktop_thumbnail.DE3450 usr/bin/gdk-pixbuf-thumbnailer -s 256 /home/calico/Pictures/image.gif /tmp/.gnome_desktop_thumbnail.1ABC20 Nemo (on Ubuntu 20.04 or later) will execute this command:.If we open a folder, say, /home/calico/Pictures, which contains image.gif: Let's take the thumbnailer entry above as an example: gdk-pixbuf-thumbnailer is used as the thumbnailer program for JPEG, PNG, GIF, and TIFF images. See Desktop Entry Specification - The Exec key for more details.Literal percentage characters are escaped as %% (e.g.Generally, only one of %i or %u is used in the command.See Steps to create a custom thumbnailer section for details about how to get the mime-type of each file. Multiple MIME types are separated by a semicolon. MimeType: (Required) the MIME type(s) of the files the thumbnailer program will generate thumbnails for. If used, %s is replaced with either 128 (by Caja or older versions of Nemo) or 256 (by Nautilus or newer versions of Nemo). %s: (Optional) the default thumbnail size in pixels.Each output image file is given a unique XXXXXX. XXXXXX is a 6-character string consisting of uppercase letters and numbers. tmp/gnome-desktop-thumbnailer-XXXXXX/gnome-desktop-thumbnailer.png Nautilus, Nemo, and Caja respectively write the output image to: ![]()
0 Comments
Leave a Reply. |