NixOS GNOME | 412 Members | |
| A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...) | 94 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 Jul 2024 | ||
In reply to @jthulhu:matrix.org libavif package contains it. You can install it globally through the gdk-pixbuf NixOS module but that is an ugly globalism frail with many issues and will not affect apps that already have gdk-pixbuf loaders provided locally by a wrapper. The only reliable method is passing the loader to each app that requires it – see eog package for an example. | 21:17:05 | |
| 21:53:16 | ||
| 8 Jul 2024 | ||
In reply to @jtojnar:matrix.orgIf I understand correctly that code, all I need to do is to set services.xserver.gdk-pixbuf.modulePackages = [ libavif ];? | 04:45:03 | |
| I tried doing that, but it still doesn't work, my Gtk applications still cannot open avif images | 05:04:46 | |
| 06:33:29 | ||
In reply to @jthulhu:matrix.orgThat should be correct. But as mentioned, it won't work for some apps. Which ones did you try | 08:35:49 | |
| * That should be correct. But as mentioned, it won't work for some apps. Which ones did you try? | 08:36:18 | |
In reply to @jtojnar:matrix.orgI tried to see if nautilus was capable of rendering thumbnails of avif images. I've also written a very stupid Gtk application that only tries to load a file as a Gtk texture in Rust, just for the purpose of testing this (https://github.com/jthulhu/rki/tree/mwe). Yet, eog seems to work correctly, despite the fact that in the nix code that packages it, libavif doesn't seem to appear anywhere. | 09:03:36 | |
| 11:30:35 | ||
| 9 Jul 2024 | ||
In reply to @jthulhu:matrix.orglibheif, which eog has, also supports avif files. See https://nixos.org/manual/nixpkgs/stable/#sec-language-gnome for an explanation about the necessary wrapping. | 06:35:43 | |
Can someone help me with gnome tracker3, it seems like it is very broken. When I use tracker3-search --music --all for example, it only shows three mp3 files from my Downloads directory, even though I have many .opus ones in /home/user/Music, same thing for Videos, and more ... | 16:53:10 | |
I tried tons of things, removing .cache/tracker3, using tracker3-reset, reindexing, etc. etc. | 16:53:49 | |
In my logs I see .tracker-miner: Could not launch metadata extractor: Failed to execute child process "/nix/store/.../tracker-extract-3" (Permission denied). Maybe this is the problem. | 17:13:38 | |
eog uses a function gnome._gdkPixbufCacheBuider_DO_NOT_USE to do the wrapping, but I feel like there's something suggesting me not to use that function :P more seriously, the doc says that only one extra loader can be used, because otherwise Nix doesn't know how to merge properly the caches, but the eog packages seems to happily request four extra loaders. | 17:14:31 | |
| ok so i just found an issue about it on github https://github.com/NixOS/nixpkgs/issues/319587 | 17:19:26 | |
| Jan Tojnar: i saw you commented on this problem, was there a fix already upstreamed to nixpkgs? | 17:23:35 | |
| 10 Jul 2024 | ||
yes, the environment variable can still only take a single cache file. I added gnome._gdkPixbufCacheBuider_DO_NOT_USE to allow merging multiple caches into one. | 05:42:08 | |
| I did not want to document it until the API stabilized but I do not think there will be any changes at this point. We should probably just drop the suffix and document it. | 05:43:58 | |
In reply to @jayhenks:matrix.orgno upstream or downstream fix yet. You can override tracker-miners locally for now tracker-miners.overrideAttrs (old: { mesonFlags = old.mesonFlags ++ [ "-Dlandlock=disabled" ]; }) | 05:46:45 | |
| 12 Jul 2024 | ||
| 08:25:33 | ||
| Jan Tojnar: after adding the below code I still do not see my music files, or am I doing it wrong?
| 09:27:54 | |
| Reindexed after doing this | 09:28:17 | |
| also stopped and started, same error:
| 09:32:23 | |
| * also stopped and started the service, same error:
| 09:32:37 | |
| 13 Jul 2024 | ||
| 12:42:02 | ||
| jayhenks: The already present unpatched miners probably won out. You would have to disable this option and then replicate the options below. Or use an overlay. | 12:51:57 | |
In reply to @jtojnar:matrix.orgalright yeah, I will just wait for an upstream patch for this issue. Thanks for all the help | 13:15:56 | |
| 14 Jul 2024 | ||
| woot https://www.gamingonlinux.com/2024/06/drm-lease-protocol-support-finally-merged-for-gnome-wayland-great-for-vr-fans/. Is there a straightforward way to run the prerelease mutter without running prerelease everything? Or is this just going to be too cursed? | 17:26:45 | |
| 15 Jul 2024 | ||
| 09:16:27 | ||
In reply to @p14:matrix.orgYou would have to try. I would start with mutter and gnome-shell overlay and add more stuff until it builds – it migh t not be that many or it might be ton of work. | 23:33:14 | |