Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
568 stars 59 forks source link

Not getting "open terminal here" #169

Closed vaibd closed 3 months ago

vaibd commented 4 months ago

I'm not getting the option "open terminal here".

Here's how I did it in NixOS:

programs.dconf.enable = true; (in config.nix) dconf.settings = { (in home manager) "com/github/stunkymonkey/nautilus-open-any-terminal" = { terminal = "kitty"; }; };

Have installed nautilus-python as well. I wasn't getting that option before either.

Stunkymonkey commented 4 months ago

gnome itself enables several env-vars...

my current config is: https://github.com/Stunkymonkey/nixos/blob/master/profiles/nautilus/default.nix

have you set?:

sessionVariables.NAUTILUS_4_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-4";
pathsToLink = [
  "/share/nautilus-python/extensions"
];
vaibd commented 3 months ago

Thanks it worked, pathsToLink wasn't set.

Stunkymonkey commented 3 months ago

@jtojnar I remember you having some experience with extensions. would it be fine to add the pathsToLink to?: https://github.com/NixOS/nixpkgs/blob/157a32caba6f58cf147a5b10ef063599f559c9f5/nixos/modules/programs/nautilus-open-any-terminal.nix#L20

jtojnar commented 3 months ago

I am moving the Nautilus specific stuff from GNOME into a separate module in https://github.com/NixOS/nixpkgs/pull/319535

Stunkymonkey commented 3 months ago

Awesome. :heart_eyes: Thanks for the response here.