Brave not properly handling mime types under Arch Linux

When clicking on SLinks (website links meant to open windows in Second Life or Firestorm Viewer) not all SLinks are treated equally.

How can this issue be reproduced?

  1. Install Firestorm Viewer or Second Life Viewer.

  2. If the Firestorm Viewer install did not set the mime type, do so manually in ~/.config/mimeapps.list by adding x-scheme-handler/secondlife=slink-handler.desktop.

After that create a new slink-handler.desktop file in ~/.local/share/applications that runs /usr/lib/firestorm/etc/handle_secondlifeprotocol.sh

  1. Search marketplace.secondlife.com for SLinks to test your new install. In my case I am using SLinks to in-world locations, so I go to the following URLS and click “Visit this location”.

The link that currently does not work for me is https://maps.secondlife.com/secondlife/Luna%20Bay/188/129/3500 and the link that does work is https://maps.secondlife.com/secondlife/Astralia/133/228/28

How can this issue be reproduced?

Clicking ANY SLink should bring up it’s respective window in Firestorm or Second Life viewer. IE: The two SLinks above should open a window in Firestorm Viewer showing info on the in-world location. What is happening instead is the first URL’s SLink Brave will try to open as if it’s a normal URL, however the second URL’s SLink will open the Places window in Firestorm Viewer as expected.

Brave Version 1.52.117 Chromium: 114.0.5735.90 (Official Build) (64-bit)

Additonal Information

The two URL’s I provided work flawlessly under Firefox. Brave’s version of xdg-mime would not return slink-handler as being the default for secondlife: mime type so I created a symbolic link to my system’s version of xdg-mime. While this did fix the issue with no default being set for secondlife:, it did NOT fix the issue with not all SLinks opening properly. I am currently running Garuda Linux, gaming focused Arch Linux, and do not have any special modifications made to the system beyond the added mime type for secondlife:.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.