為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I cannot set an application to handle nxm links.

  • 5 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 gutless

more options

I am trying to configure Firefox for Linux to handle nxm links from https://www.nexusmods.com/skyrimspecialedition/ to be handled by Vortex, but keep getting "The address wasn’t understood".

Things I have tried:

1) Going to the Applications setting of Preferences and changing the application associated with nxm. nxm does not appear in this area.

2) Creating a boolean named network.protocol-handler.expose.nxm in about:config and setting it to false, then trying to open an nxm link and hope I receive a prompt asking me what application I would like to use.

3) Number 2 but with network-protocol-handler.expose-all

4) Executing the following commands after creating a file ~/.local/share/applications/vortex.desktop and making it executable:

$ xdg-mime default vortex.desktop x-scheme-handler/nxm

$ xdg-mime default vortex.desktop x-scheme-handler/nxm-protocol

$ gconftool-2 -s /desktop/gnome/url-handlers/nxm/command '~/.local/share/applications/vortex.desktop %s' --type String

$ gconftool-2 -s /desktop/gnome/url-handlers/nxm/enabled --type Boolean true

5) Restarting my computer.

I have tried to open nxm links in both Firefox 65.0.1 and 67.0b2 Developer Edition (installed ten minutes ago with no add-ons) with the same result. Please help me.

I am trying to configure Firefox for Linux to handle nxm links from https://www.nexusmods.com/skyrimspecialedition/ to be handled by Vortex, but keep getting "The address wasn’t understood". Things I have tried: 1) Going to the Applications setting of Preferences and changing the application associated with nxm. nxm does not appear in this area. 2) Creating a boolean named network.protocol-handler.expose.nxm in about:config and setting it to false, then trying to open an nxm link and hope I receive a prompt asking me what application I would like to use. 3) Number 2 but with network-protocol-handler.expose-all 4) Executing the following commands after creating a file ~/.local/share/applications/vortex.desktop and making it executable: $ xdg-mime default vortex.desktop x-scheme-handler/nxm $ xdg-mime default vortex.desktop x-scheme-handler/nxm-protocol $ gconftool-2 -s /desktop/gnome/url-handlers/nxm/command '~/.local/share/applications/vortex.desktop %s' --type String $ gconftool-2 -s /desktop/gnome/url-handlers/nxm/enabled --type Boolean true 5) Restarting my computer. I have tried to open nxm links in both Firefox 65.0.1 and 67.0b2 Developer Edition (installed ten minutes ago with no add-ons) with the same result. Please help me.

由 gutless 於 修改

所有回覆 (5)

more options

Since this is a registered site and loaded from their site you should contact their support team on how to launch the software.

more options

WestEnd said

Since this is a registered site and loaded from their site you should contact their support team on how to launch the software.

I'm running Vortex through WINE and they don't officially support Linux, so their support team wouldn't have any response other than "we do not support Linux". Here is a post from the developer of Vortex on Linux support:

https://forums.nexusmods.com/index.php?/topic/7024131-vortex-for-linux/?p=63934436

However, I am looking for a solution that is protocol-agnostic. Is there no way for me to add a new association to Firefox?

more options

So this is a 14-year-old bug in Firefox.

https://bugzilla.mozilla.org/show_bug.cgi?id=312953

Someone posted a workaround 7 years ago, but it does not work for me. I have no idea where to go from here.

more options

I think that this still holds:

Did you remove a possible existing network.protocol-handler.app.nxm pref?

Did you get a prompt when you created network.protocol-handler.expose.nxm = false ?

When you create a network.protocol-handler.expose.<protocol> [pref and set its value to false then Firefox should prompt for an application to handle this protocol and create the network.protocol-handler.app pref.

more options

cor-el said

I think that this still holds: Did you remove a possible existing network.protocol-handler.app.nxm pref? Did you get a prompt when you created network.protocol-handler.expose.nxm = false ? When you create a network.protocol-handler.expose.<protocol> [pref and set its value to false then Firefox should prompt for an application to handle this protocol and create the network.protocol-handler.app pref.

This is what is described in number 2) of my original post. I do not get a prompt.

Edit: There is actually a link to the bug I posted at the bottom of that page.

由 gutless 於 修改