!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

412 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)93 Servers

Load older messages


SenderMessageTime
26 Apr 2023
@uep:matrix.orguep
In reply to @jtojnar:matrix.org
uep: I would expect it to work if you install libheif
ah, but it doesn't pull it in itself? because they open fine in (for particular example) eog.
03:11:41
@uep:matrix.orguepI'll look into it03:12:53
@jtojnar:matrix.orgJan Tojnar uep: yeah, we put it in eog, since installing it manually would require a rebuild 03:14:52
@jtojnar:matrix.orgJan Tojnarnobody bothered to install it globally but it might make sense for consistency03:15:50
@uep:matrix.orguepah. that may be what I'm misremembering.03:19:51
@uep:matrix.orguepneither nautilus nor sushi seem to mention it directly, but it might be via gdk-pixbuf?03:20:28
@jtojnar:matrix.orgJan Tojnarthe thumbnailers are files under XDG_DATA_DIRS/thumbnailers03:23:27
@jtojnar:matrix.orgJan Tojnarusually, they are shipped alongside and implemented using the gdk-pixbuf loader03:24:44
@jtojnar:matrix.orgJan Tojnarbut it is not a requirement03:24:51
@uep:matrix.orguepoh, it's a separate program that gets forked.. that makes more sense then as something that can just be installed. cool.03:35:34
@uep:matrix.orguepmore than just a lib, libheif03:35:41
@uep:matrix.orguephm. no03:49:57
@uep:matrix.orguep
❯ nix path-info -r /run/current-system | grep system-path
/nix/store/l9rw34xq925vxwx0mwqyixv109dm9lab-system-path

root in ~
❯ l /nix/store/l9rw34xq925vxwx0mwqyixv109dm9lab-system-path/share/thumbnailers/
total 21K
dr-xr-xr-x  2 root root   5 Jan  1  1970 .
dr-xr-xr-x 50 root root 155 Jan  1  1970 ..
lrwxrwxrwx  1 root root  93 Jan  1  1970 evince.thumbnailer -> /nix/store/pim38bp7gflaxlizqwargkwsmhf8ghlk-evince-44.1/share/thumbnailers/evince.thumbnailer
lrwxrwxrwx  1 root root 115 Jan  1  1970 gnome-font-viewer.thumbnailer -> /nix/store/wxqbimm25dfvk8ny7lcxv6zsi7lq9059-gnome-font-viewer-44.0/share/thumbnailers/gnome-font-viewer.thumbnailer
lrwxrwxrwx  1 root root  91 Jan  1  1970 totem.thumbnailer -> /nix/store/6qm7djw12ys1h5bc5fwacagq0axbya3y-totem-43.0/share/thumbnailers/totem.thumbnailer
03:51:01
@uep:matrix.orguepI assume it needs something to add it there? There's a thumbnailer bin in the libheif package but no reason for nautilus to find it otherwise03:52:28
@uep:matrix.orguep (this is with libheif in environment.systemPackages directly, rather than just transitively as a dep of (several) other things) 03:56:43
@jtojnar:matrix.orgJan Tojnar uep: try libheif.out, it defaults to bin output 04:11:43
@jtojnar:matrix.orgJan Tojnarwe should probably move it to a separate output and install that04:13:44
@jtojnar:matrix.orgJan Tojnar * we should probably move it to a separate output and install that in GNOME module04:13:51
@uep:matrix.orguep lrwxrwxrwx 1 root root 94 Jan 1 1970 heif.thumbnailer -> /nix/store/ig3c3d9931pkdahac2vqy4cvck8k57ix-libheif-1.15.2/share/thumbnailers/heif.thumbnailer 04:21:19
@uep:matrix.orguepit seems like it should be enabled by default, if eog is already going to pull it in04:21:47
@uep:matrix.orguepnautilus still doesn't seem to find it / show thumbs, but it might need a session restart04:23:43
@uep:matrix.orguepnope, it was not that04:30:43
@uep:matrix.orguepoof, there's a lot in $XDG_DATA_DIRS04:33:13
@jtojnar:matrix.orgJan Tojnar uep: looks like heif.thumbnailer expects heif-thumbnailer on PATH 04:33:23
@jtojnar:matrix.orgJan Tojnar so you will need both libheif.bin and libheif.out 04:33:37
@uep:matrix.orguepahh04:33:57
@jtojnar:matrix.orgJan Tojnarthe thumbnailer file should probably use absolute path to avoid this04:34:31
@uep:matrix.orguepstill no04:38:11
@uep:matrix.orguepand heif-thumbnailer is in path04:40:23
@uep:matrix.orguep they're *.heic filenames, but that does seem to come up as the right mime type 04:40:54

Show newer messages


Back to Room ListRoom Version: 6