Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

NXM Handler Links Not Working

  • 2 respostas
  • 0 have this problem
  • 1 view
  • Last reply by danksouls67

more options

I am using a shell script to handle NXM links on Linux Ubuntu 22.04 When I run my NXM handler script in terminal, it works just fine, and downloads my mod into Mod Organizer 2.

But when watching the console I get the following output when clicking the download with manager button.

"Navigated to nxm://skyrimspecialedition/mods/89163/files/3716?key=T_yUW2_8XAw0nD6Bl7iQ&expires=1681860368&user_id=" "Prevented navigation to “nxm://skyrimspecialedition/mods/89163/files/37796?key=T_yW2_8XAw01MnDBl7iQ&expires=1681860368&user_id=” due to an unknown protocol."

It is supposed to pop up a black box and ask me to choose the application I want to open it with.

The solution is supposedly going to about:config and setting a boolean string network.protocol-handler.expose.nxm = false

I have also tried network.protocol-handler.expose.nxm = true and network.protocol-handler.external.nxm = true

None of these things work, I get no black pop up box in which I can choose my nxmhandler script to handle the link and the same output in the developer options console is what happens when you click the button. In the video tutorial I was watching it worked for the person I was watching just fine, who was the one who set the network.protocol-handler.external.nxm = false Please help.

Here is the contents of my shell script, except I replaced my username folder with "user" for privacy reasons. I have the script stored in /usr/local/bin/nxmhandler ignore the ~ part at the beginning and end I just did that so it would keep it together in the body of this text because the formatting of this body for some reason turns # into a number 1.

~#!/bin/bash STEAM_COMPAT_CLIENT_INSTALL_PATH=/usr/games/steam STEAM_COMPAT_DATA_PATH=/mnt/modding/SteamLibrary/steamapps/compatdata/489830 /home/user/.steam/debian-installation/steamapps/common/Proton\ 7.0/proton run /mnt/modding/SteamLibrary/steamapps/compatdata/489830/pfx/drive_c/Modding/MO2/nxmhandler.exe "$1"~

Here is the video tutorial I was following. https://www.youtube.com/watch?v=B8-FUcGODcI You can skip to 27:55 where he creates the nxmhandler script. and to 34:29 where he get's it working with firefox.

I tried this in Chrome as well, but it only wanted to use a different app and wouldnt let me change it. and I could not find the same equivalent of about:config in Chrome to test it. But quite frankly I don't care because I don't want to use Chrome anyway I want to use Firefox.

I am using a shell script to handle NXM links on Linux Ubuntu 22.04 When I run my NXM handler script in terminal, it works just fine, and downloads my mod into Mod Organizer 2. But when watching the console I get the following output when clicking the download with manager button. "Navigated to nxm://skyrimspecialedition/mods/89163/files/3716?key=T_yUW2_8XAw0nD6Bl7iQ&expires=1681860368&user_id=" "Prevented navigation to “nxm://skyrimspecialedition/mods/89163/files/37796?key=T_yW2_8XAw01MnDBl7iQ&expires=1681860368&user_id=” due to an unknown protocol." It is supposed to pop up a black box and ask me to choose the application I want to open it with. The solution is supposedly going to about:config and setting a boolean string network.protocol-handler.expose.nxm = false I have also tried network.protocol-handler.expose.nxm = true and network.protocol-handler.external.nxm = true None of these things work, I get no black pop up box in which I can choose my nxmhandler script to handle the link and the same output in the developer options console is what happens when you click the button. In the video tutorial I was watching it worked for the person I was watching just fine, who was the one who set the network.protocol-handler.external.nxm = false Please help. Here is the contents of my shell script, except I replaced my username folder with "user" for privacy reasons. I have the script stored in /usr/local/bin/nxmhandler ignore the ~ part at the beginning and end I just did that so it would keep it together in the body of this text because the formatting of this body for some reason turns # into a number 1. ~#!/bin/bash STEAM_COMPAT_CLIENT_INSTALL_PATH=/usr/games/steam STEAM_COMPAT_DATA_PATH=/mnt/modding/SteamLibrary/steamapps/compatdata/489830 /home/user/.steam/debian-installation/steamapps/common/Proton\ 7.0/proton run /mnt/modding/SteamLibrary/steamapps/compatdata/489830/pfx/drive_c/Modding/MO2/nxmhandler.exe "$1"~ Here is the video tutorial I was following. https://www.youtube.com/watch?v=B8-FUcGODcI You can skip to 27:55 where he creates the nxmhandler script. and to 34:29 where he get's it working with firefox. I tried this in Chrome as well, but it only wanted to use a different app and wouldnt let me change it. and I could not find the same equivalent of about:config in Chrome to test it. But quite frankly I don't care because I don't want to use Chrome anyway I want to use Firefox.

danksouls67 modificouno o

All Replies (2)

more options

Did you contact the develop of the script your using to get help on installing it?

more options

I created the script myself. I installed the Snap version of firefox to test and it gives me the prompt to use a specific app, but it doesn't do anything when I select it. So it must be because I was using the firefox package direct from mozillas repository, but it still doesnt solve my issue. But of course it still works if I execute it in terminal.