Links in externel apllications don't work Topic is solved

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderator: trava90

Post Reply
User avatar
Pentium4User
Fanatic
Fanatic
Posts: 208
Joined: 2019-04-24, 09:38

Links in externel apllications don't work

Post by Pentium4User » 2020-01-01, 07:13

Hello,
I use different machines (Ubuntu an Debian).
After setting Pale Moon as default browser via the alternative system (update-alternatives), I can't click links in external applications like Telegram or mail (Clawsmail).
I get /home/user/https:/forum.ubuntuusers.de/post/9122247: File not found.
If I select Firefox as default application (alternative), all is working fine.
How can I fix that?
On Debian it is the i386 version, on my 2 Ubuntu machines it is the x64.

Kind regards
Pentium4Use
Yes, I still use a 64 bit capable Pentium 4 670 processor with Pale Moon. It is located at my grandfather's house and runs Lubuntu 18.04 x64. It was my main system until 2018, when I got a Pentium D system that got replaced by a Ryzen 2700 in 2019.
Google reCaptcha annoys me like a blowfly.

User avatar
moonbat
Board Warrior
Board Warrior
Posts: 1346
Joined: 2015-12-09, 15:45

Re: Links in externel apllications don't work

Post by moonbat » 2020-01-01, 07:26

Instead of setting it default externally, try it from preferences-general-system defaults. Let it check if it's the default browser on startup, then restart it.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 19.3 Xfce x64 on HP i5 laptop with 4 GB RAM, always latest versions of PM & Basilisk unless specified.

User avatar
Pentium4User
Fanatic
Fanatic
Posts: 208
Joined: 2019-04-24, 09:38

Re: Links in externel apllications don't work

Post by Pentium4User » 2020-01-01, 07:37

I set Firefox as default, does not work either anymore.
After that Pale Moon showed me that it isn't default, I clicked set to default, but It doesn't work, same error.
Yes, I still use a 64 bit capable Pentium 4 670 processor with Pale Moon. It is located at my grandfather's house and runs Lubuntu 18.04 x64. It was my main system until 2018, when I got a Pentium D system that got replaced by a Ryzen 2700 in 2019.
Google reCaptcha annoys me like a blowfly.

User avatar
moonbat
Board Warrior
Board Warrior
Posts: 1346
Joined: 2015-12-09, 15:45

Re: Links in externel apllications don't work

Post by moonbat » 2020-01-01, 10:15

Are you using the build from the repository or the manually extracted version from the downloads page? The latter would not have system integrations the way an installed package would, maybe that's why it isn't able to detect and launch Pale Moon correctly.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 19.3 Xfce x64 on HP i5 laptop with 4 GB RAM, always latest versions of PM & Basilisk unless specified.

User avatar
Pentium4User
Fanatic
Fanatic
Posts: 208
Joined: 2019-04-24, 09:38

Re: Links in externel apllications don't work

Post by Pentium4User » 2020-01-01, 10:34

The repository on both machines.
EDIT:
For Debian the Debian repo and for Ubuntu the Ubuntu repo.
Yes, I still use a 64 bit capable Pentium 4 670 processor with Pale Moon. It is located at my grandfather's house and runs Lubuntu 18.04 x64. It was my main system until 2018, when I got a Pentium D system that got replaced by a Ryzen 2700 in 2019.
Google reCaptcha annoys me like a blowfly.

User avatar
moonbat
Board Warrior
Board Warrior
Posts: 1346
Joined: 2015-12-09, 15:45

Re: Links in externel apllications don't work

Post by moonbat » 2020-01-01, 11:24

Sorry I can't directly help - I'm using Mint Xfce edition and it's fairly straightforward to set defaults under 'Preferred applications' in settings. From your initial comment it looks like the system is unable to find the path to the Pale Moon executable - if it is possible to manually edit the path and set it that may help.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 19.3 Xfce x64 on HP i5 laptop with 4 GB RAM, always latest versions of PM & Basilisk unless specified.

User avatar
Pentium4User
Fanatic
Fanatic
Posts: 208
Joined: 2019-04-24, 09:38

Re: Links in externel apllications don't work

Post by Pentium4User » 2020-01-01, 11:42

Code: Select all

------------------------------------------------------------
  0            /usr/bin/firefox-esr   70        automatischer Modus
  1            /usr/bin/firefox-esr   70        manueller Modus
* 2            /usr/bin/palemoon      40        manueller Modus
The Path is correct, I tried that out.
Yes, I still use a 64 bit capable Pentium 4 670 processor with Pale Moon. It is located at my grandfather's house and runs Lubuntu 18.04 x64. It was my main system until 2018, when I got a Pentium D system that got replaced by a Ryzen 2700 in 2019.
Google reCaptcha annoys me like a blowfly.

User avatar
Lunokhod
Fanatic
Fanatic
Posts: 188
Joined: 2017-04-20, 21:25
Contact:

Re: Links in externel apllications don't work

Post by Lunokhod » 2020-01-02, 01:43

Possibly the palemoon.desktop file needs to be executable, it should be either in /usr/share/applications or /usr/local/share/applications. "file not found" sometimes means not executable. In XFCE this doesn't seem to be needed, but Gnome (and KDE) might require it. There used to be some other things like gconftool2 and updatemime in Debian / Gnome but that was Gnome 2. :D Back then update-alternatives was not especially useful in Gnome graphical apps, and was mostly there for other desktops and some terminal usage situations.

User avatar
Pentium4User
Fanatic
Fanatic
Posts: 208
Joined: 2019-04-24, 09:38

Re: Links in externel apllications don't work

Post by Pentium4User » 2020-01-02, 08:01

I have another machine with Lubuntu 18.04, the palemoon.desktop isn't executable, clicking links is possible.
The Debian machine uses Buster and the Ubuntu machine uses the LXDE desktop.
Yes, I still use a 64 bit capable Pentium 4 670 processor with Pale Moon. It is located at my grandfather's house and runs Lubuntu 18.04 x64. It was my main system until 2018, when I got a Pentium D system that got replaced by a Ryzen 2700 in 2019.
Google reCaptcha annoys me like a blowfly.

moonshiner
Hobby Astronomer
Hobby Astronomer
Posts: 19
Joined: 2019-05-26, 16:35

Re: Links in externel apllications don't work

Post by moonshiner » 2020-01-02, 10:04

Try with this command in the terminal: xdg-settings set default-web-browser palemoon.desktop

User avatar
Pentium4User
Fanatic
Fanatic
Posts: 208
Joined: 2019-04-24, 09:38

Re: Links in externel apllications don't work

Post by Pentium4User » 2020-01-02, 10:07

No effect.
Do I need to restart my computer/applications?
Yes, I still use a 64 bit capable Pentium 4 670 processor with Pale Moon. It is located at my grandfather's house and runs Lubuntu 18.04 x64. It was my main system until 2018, when I got a Pentium D system that got replaced by a Ryzen 2700 in 2019.
Google reCaptcha annoys me like a blowfly.

moonshiner
Hobby Astronomer
Hobby Astronomer
Posts: 19
Joined: 2019-05-26, 16:35

Re: Links in externel apllications don't work

Post by moonshiner » 2020-01-02, 10:11

I tried and it opens links from the terminal and the visit homepage links in synaptic package manager

moonshiner
Hobby Astronomer
Hobby Astronomer
Posts: 19
Joined: 2019-05-26, 16:35

Re: Links in externel apllications don't work

Post by moonshiner » 2020-01-02, 11:39

When you enter xdg-settings set default-web-browser palemoon.desktop do you get this error "xdg-settings: $BROWSER is set and can't be changed with xdg-settings"? In that case enter: export BROWSER=
After that re-entert the first command, then enter: xdg-settings get default-web-browser
The output should be palemoon.desktop
Type xdg-open https://palemoon.org
This command should open the page in palemoon

User avatar
Pentium4User
Fanatic
Fanatic
Posts: 208
Joined: 2019-04-24, 09:38

Re: Links in externel apllications don't work

Post by Pentium4User » 2020-01-02, 11:42

user@user-System-Product-Name:~$ xdg-open https://palemoon.org
user@user-System-Product-Name:~$
Then the message file not found appears (translated):
/home/userhttps:/palemoon.org: File or Path not found
Yes, I still use a 64 bit capable Pentium 4 670 processor with Pale Moon. It is located at my grandfather's house and runs Lubuntu 18.04 x64. It was my main system until 2018, when I got a Pentium D system that got replaced by a Ryzen 2700 in 2019.
Google reCaptcha annoys me like a blowfly.

moonshiner
Hobby Astronomer
Hobby Astronomer
Posts: 19
Joined: 2019-05-26, 16:35

Re: Links in externel apllications don't work

Post by moonshiner » 2020-01-02, 13:24

It seems to be a bug with xdg-open under LXDE https://bugs.freedesktop.org/show_bug.cgi?id=106585 You need to edit with root permission /usr/bin/xdg-open
Backup this file then edit it and replace this line

Code: Select all

 if pcmanfm --help >/dev/null 2>&1 -a is_file_url_or_path "$1"; then 
with this

Code: Select all

 if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then
 local file="$(file_url_to_path "$1")" 

Post Reply