Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nautilus : Extensions broken ? #168651

Closed
wyndon opened this issue Apr 14, 2022 · 3 comments
Closed

Nautilus : Extensions broken ? #168651

wyndon opened this issue Apr 14, 2022 · 3 comments
Labels
0.kind: question 6.topic: GNOME GNOME desktop environment and its underlying platform

Comments

@wyndon
Copy link
Contributor

wyndon commented Apr 14, 2022

Describe the bug

It seems that many extensions are not working on Nautilus right now. In the right-click menu, I don't have a "Share" option, "Send to" is also missing, mat2 integration is not there either, nautilus-open-any-terminal same thing.

I started a Pop_OS! virtual machine, which was running GNOME 40, and I could see the "Share" and "Send to" options, I did not test the rest though.

Then, I started a Fedora virtual machine, which was running GNOME 42, and encountered the same problems as above (at least with Share and Send to), so I assume this is a problem with recent versions of GNOME/Nautilus. Opening for tracking.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Launch Nautilus and see if you have the "Share" and "Send To" options when you right-click on a file/folder.

Expected behavior

Extensions should work.

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.27-xanmod1-tt, NixOS, 22.05 (Quokka), 22.05.20220413.ff9efb0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.7.0`
 - channels(root): `"nixos-22.05pre347261.6d8215281b2"`
 - nixpkgs: `/nix/store/1mq6ivn9y8zkjljiy66d4xjjhlhq0h3r-source`
@veprbl veprbl added the 6.topic: GNOME GNOME desktop environment and its underlying platform label Apr 17, 2022
@con-f-use
Copy link
Contributor

Same problem almost 8 months later. #126074 seems kinda related.

@jtojnar
Copy link
Contributor

jtojnar commented Jan 6, 2023

We rely on GNOME NixOS module setting NAUTILUS_EXTENSION_DIR environment variable for Nautilus to be find nautilus-python. That means nautilus-python needs to be installed via environment.systemPackages.

nautilus-python then needs its extensions to be available on XDG_DATA_DIRS path (in nautilus-python/extensions subdirectory). And it might fail if the extension depends on anything other than Nautilus and its dependencies.

If you do not use GNOME, you may need to ensure the path is linked to system when installed through environment.systemPackages with:

environment.pathsToLink = [
"/share/nautilus-python/extensions"
];

Also note that mat2 Nautilus extension does not support the current Nautilus version, see https://0xacab.org/jvoisin/mat2/-/issues/176.

@KiaraGrouwstra
Copy link
Contributor

perhaps this could be addressed now using #234615

@jtojnar jtojnar closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: question 6.topic: GNOME GNOME desktop environment and its underlying platform
Projects
None yet
Development

No branches or pull requests

5 participants