When clicking "Preferences->Advanced->Make Pale Moon the default browser" PM creates a file called ".config/mimeapps.list" PM also creates a file "~/.local/share/applications/userapp-Pale Moon-XYVHQZ.desktop" (I don't know if that happens, when that button is clicked or earlier.) Both files might be found in different locations on different systems. Those two files help xdg-open to decide on the default browser. Unfortunately xdg cannot handle filenames with spaces (here between "Pale" and "Moon") properly (maybe spaces are not even allowed by xdg-specification, I don't know). Yet I would recommend to get rid of this spaces, either by removing them alltogether or by replacing them by - or something else.
See https://forum.palemoon.org/viewtopic.php?f=37&t=20639 for more details.
Making PM default browser fails due to spaces in filenames.
Re: Making PM default browser fails due to spaces in filenames.
Don't blame us for a (likely purposefully) limitation of the xdg utils. XDG assumes and tends to enforce their "recommendation" to not have spaces in file names and directories, despite the fact that this has been a thing for a very long time already.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss


Re: Making PM default browser fails due to spaces in filenames.
I don't want to blame no one. But I think it's always easier to change one self (in this case PM) than others (XDG).Moonchild wrote:Don't blame us for a (likely purposefully) limitation of the xdg utils. XDG assumes and tends to enforce their "recommendation" to not have spaces in file names and directories, despite the fact that this has been a thing for a very long time already.

Re: Making PM default browser fails due to spaces in filenames.
Patches welcome. This kind of thing is so far on the backburner our core devs will likely never get to it.berni wrote:But I think it's always easier to change one self (in this case PM) than others (XDG).
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss

