Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stock Firefox failes to download NXM links on Ubuntu 22.04 #382

Closed
Ratione opened this issue Sep 3, 2022 · 4 comments
Closed

Stock Firefox failes to download NXM links on Ubuntu 22.04 #382

Ratione opened this issue Sep 3, 2022 · 4 comments

Comments

@Ratione
Copy link

Ratione commented Sep 3, 2022

The default firefox install has issues executing the NXM handler links. Post-Install Opera does not have this problem. Might shed light on the actual underlying issue here.

@Flightkick
Copy link

I think this might be the same issue that I am experiencing.

Firefox does not seem to recognize the handler for me.
Firefox shows empty handler list

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

Firefox is installed through Flatpak.
Also tested with Chromium based browser which seems to handle the nxm links without issues.


To debug this behavior I tried manually changing modorganizer2-nxm-handler.desktop to:

[Desktop Entry]
Categories=Game;
Comment[en_US]=
Comment=
Exec=bash -c 'echo "$@" >> /home/xxxxxxxx/.local/share/modorganizer2/input.log'
GenericName[en_US]=
GenericName=
MimeType=x-scheme-handler/nxm;
Name[en_US]=Mod Organizer 2 NXM Handler
Name=Mod Organizer 2 NXM Handler
NoDisplay=true
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

To see if Firefox passed different arguments to the handler.
I executed update-desktop-database ~/.local/share/applications/
And clicked the nxm link again. Firefox opened protontricks but I was presented with a modal 'Select Steam app'.
So the MimeType=x-scheme-handler/nxm; does seem to get picked up by Firefox, strange enough it opened protontricks this time while I expected it to not do anything except echo the parameters to the log file as per the Exec option. There was no log file present.

I can't debug this any further now but I hope this might help someone else.

@dfarley1
Copy link

I'm experiencing the same thing on Steam Deck, Firefox doesn't see the Handler as a potential application. Even clicking "Show More" at the bottom doesn't have anything.

@MaggiWuerze
Copy link

chrome from discover also does not work

@rockerbacon
Copy link
Owner

Duplicate of #317

@rockerbacon rockerbacon marked this as a duplicate of #317 Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants