From 660d9dc6718d7a18ad157dcd64be7b7de8518701 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 31 Jan 2025 09:14:50 -0600 Subject: [PATCH] linux: fix installation path of nautilus-python extension Fixes #5468 --- src/build/GhosttyResources.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/build/GhosttyResources.zig b/src/build/GhosttyResources.zig index a7ff40cbd..912308e46 100644 --- a/src/build/GhosttyResources.zig +++ b/src/build/GhosttyResources.zig @@ -209,10 +209,11 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources { "share/kio/servicemenus/com.mitchellh.ghostty.desktop", ).step); - // Right click menu action for Nautilus + // Right click menu action for Nautilus. Note that this _must_ be named + // `ghostty.py`. Using the full app id causes problems (see #5468). try steps.append(&b.addInstallFile( b.path("dist/linux/ghostty_nautilus.py"), - "share/nautilus-python/extensions/com.mitchellh.ghostty.py", + "share/nautilus-python/extensions/ghostty.py", ).step); // Various icons that our application can use, including the icon