After updating to NixOS 26.05, the custom icons I’ve set in Nautilus all appear as a generic white page:
→
Anyone else experiencing this? I’m not sure how to troubleshoot it. I did confirm that it still happens with NixOS/nixpkgs#530517 .
This sounds similar to the issue I experienced on KDE Plasma, reading through this post and looking at wherever Gnome keeps the ”.desktop” files would be a good start.
Edit:
Nevermind, it doesn’t appear to be related to stale file references like my issue. After a fresh install of NixOS 26.05 with Gnome, trying to set a folder image results in the blank page icon.
I’m also seeing this. No failure logs as far as I can tell.
Same issue here since Nautilus version 50.0
A clue: It works when run via nautilus --quit; nautilus in the terminal.
I have a fix for this issue:
master ← accelbread:nautilus-glycin
opened 04:10AM - 24 Aug 26 UTC
Since Gnome 50, nautilus uses glycin to load custom dir icons instead of gdk-pix… buf. Without having glycin on XDG_DATA_DIRS, custom icons show as blank file icons instead of the configured icon.
## Things done
- Built on platform:
- [X] x86_64-linux
- [ ] aarch64-linux
- [ ] aarch64-darwin
- Tested, as applicable:
- [ ] [NixOS tests] in [nixos/tests].
- [ ] [Package tests] at `passthru.tests`.
- [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [X] Ran `nixpkgs-review` on this PR. See [nixpkgs-review usage].
- [X] Tested basic functionality of all binary files, usually in `./result/bin/`.
- Nixpkgs Release Notes
- [ ] Package update: when the change is major or breaking.
- NixOS Release Notes
- [ ] Module addition: when adding a new NixOS module.
- [ ] Module update: when the change is significant.
- [X] Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
- [X] Follows the [automation/AI policy].
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[automation/AI policy]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#automationai-policy
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test