From 65b934e6f104edb1bc53342921ff7eecfd29d1e0 Mon Sep 17 00:00:00 2001 From: Valaphee The Meerkat <32491319+valaphee@users.noreply.github.com> Date: Thu, 29 Aug 2024 05:16:52 +0200 Subject: [PATCH] linux: Remove `inode/directory` from supported MIME types (#16940) At the moment Zed is handled as default file browser which causes applications like RustRover to open Zed when instead it should open the Gnome files app. And Zed is probably not intended to be an replacement to the Gnome files app for example. I'm also currently waiting to fix the issue that Zed is not displayed as an "Application" when using "Open with..." on Arch Linux. Which is caused by not setting `APP_ARGS` which should have the value `%F` Release Notes: - Fixed: Zed will no longer be handled as default file browser --- crates/zed/resources/zed.desktop.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zed/resources/zed.desktop.in b/crates/zed/resources/zed.desktop.in index a63bd0520d..8da063f468 100644 --- a/crates/zed/resources/zed.desktop.in +++ b/crates/zed/resources/zed.desktop.in @@ -10,7 +10,7 @@ Exec=$APP_CLI $APP_ARGS Icon=$APP_ICON Categories=Utility;TextEditor;Development;IDE; Keywords=zed; -MimeType=text/plain;application/x-zerosize;inode/directory;x-scheme-handler/zed; +MimeType=text/plain;application/x-zerosize;x-scheme-handler/zed; Actions=NewWorkspace; [Desktop Action NewWorkspace]