| 26 Apr 2023 |
uep | (this is with libheif in environment.systemPackages directly, rather than just transitively as a dep of (several) other things) | 03:56:43 |
Jan Tojnar | uep: try libheif.out, it defaults to bin output | 04:11:43 |
Jan Tojnar | we should probably move it to a separate output and install that | 04:13:44 |
Jan Tojnar | * we should probably move it to a separate output and install that in GNOME module | 04:13:51 |
uep | 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 | it seems like it should be enabled by default, if eog is already going to pull it in | 04:21:47 |
uep | nautilus still doesn't seem to find it / show thumbs, but it might need a session restart | 04:23:43 |
uep | nope, it was not that | 04:30:43 |
uep | oof, there's a lot in $XDG_DATA_DIRS | 04:33:13 |
Jan Tojnar | uep: looks like heif.thumbnailer expects heif-thumbnailer on PATH | 04:33:23 |
Jan Tojnar | so you will need both libheif.bin and libheif.out | 04:33:37 |
uep | ahh | 04:33:57 |
Jan Tojnar | the thumbnailer file should probably use absolute path to avoid this | 04:34:31 |
uep | still no | 04:38:11 |
uep | and heif-thumbnailer is in path | 04:40:23 |
uep | they're *.heic filenames, but that does seem to come up as the right mime type | 04:40:54 |
uep | In reply to @jtojnar:matrix.org the thumbnailer file should probably use absolute path to avoid this FWIW, of the existing ones I have, totem uses a /nix/store absolute path, the others don't | 04:43:15 |
Jan Tojnar | uep: what mime type does it come as? | 04:50:17 |
uep | image/heif same as in the .thumbnailer file | 04:51:02 |
Jan Tojnar | oh, I misread it as not | 04:52:07 |
Jan Tojnar | would expect it to work, then | 04:52:15 |
uep | there's no persistent nautilus process, so I'm not sure restarting the desktop (again) is worth trying? | 04:53:05 |
Jan Tojnar | I think just reloading the directory in nautilus should trigger it | 04:53:42 |
Jan Tojnar | as long the thumbnailer is in XDG_DATA_DIRS | 04:54:06 |
uep | it is | 04:54:17 |
uep | there's a 'TryExec' field, which perhaps implies something remembers it failed | 04:54:35 |
uep | but I don't know how long | 04:54:53 |
uep | surely not across process restarts | 04:55:01 |
Jan Tojnar | yeah, definitely not | 04:55:36 |
Jan Tojnar | it just runs the program and if it returns non-zero status code, the entry is ignored | 04:56:08 |