Page 1 of 1

BWPup64 claws mail won't open links to URL/firefox (solved)

Posted: Wed Dec 04, 2024 2:53 pm
by wasley51

Good day, I am testing BWPup64 as live cd and cannot get claws mail to open links to firefox/url;

Checking the manual info., I tried going to: CONFIGURATION>PREFERENCES>EXTERNAL PROGRAMS>WEB BROWSER-change dropdown to: firefox '%s' , then clicked APPLY and OK below ,but it still didn't open links.

Also,above the web browser dropdown area, is written: %s will be replaced with file name/URL
Does anyone know if and how I can fix this ??

Thanks, MW


Re: BWPup64 claws mail won't open links to URL/firefox

Posted: Wed Dec 04, 2024 8:35 pm
by williams2

cannot get claws mail to open links to firefox/url;

When you click a link, does firefox start at all?
Or does it start but does not show the website in the link?

What happens if you type firefox in a terminal?
Is there an executable named firefox in the PATH?
As opposed to, for example, firefox-bih
If firefox does not start, do you start firefox by clicking an icon?

Where is the firefox executable? (type which firefox)
Do you need the full PATH to the firefox executable?

Is firefox installed?
Is firefox an app image, or a portable?


Re: BWPup64 claws mail won't open links to URL/firefox

Posted: Wed Dec 04, 2024 11:46 pm
by radky

@wasley51

Claws Mail runs as spot (restricted user) in BW64.

Clicking an email URL will call the 'defaultbrowser' which (as initially configured) launches Firefox as root (unrestricted user). In this scenario, Firefox fails to launch properly.

You can configure the defaultbrowser to also run as spot (restricted user) and this should allow Claws Mail to call Firefox successfully.

Menu -> Setup -> Set default apps -> System -> Web browser -> run-as-spot /opt/FirefoxESR-portable64/firefox64/firefox


Re: BWPup64 claws mail won't open links to URL/firefox

Posted: Thu Dec 05, 2024 9:48 am
by wasley51

Thks. radky;
I did as you said (run from spot) but no change. Could a claws setting (preference?) be a problem)? Don't worry if we can't fix this, I 'll just use a different mail app.
MW


Re: BWPup64 claws mail won't open links to URL/firefox

Posted: Thu Dec 05, 2024 10:03 am
by wasley51

Thks. williams2; see below answers: The firefox here was already installed in the BW64 distro and is firefox esr 128.5.1; it works fine when it's icon is clicked.

When you click a link, does firefox start at all? NO
Or does it start but does not show the website in the link? NO

What happens if you type firefox in a terminal? bash: firefox: command not found

Is there an executable named firefox in the PATH?
As opposed to, for example, firefox-bih
If firefox does not start, do you start firefox by clicking an icon? YES

Where is the firefox executable? (type which firefox) NOT SURE
Do you need the full PATH to the firefox executable?

Is firefox installed? YES
Is firefox an app image, or a portable?
----------
Don't worry about this, I'll find another mail app to use. Thks.


Re: BWPup64 claws mail won't open links to URL/firefox

Posted: Thu Dec 05, 2024 10:49 pm
by radky
wasley51 wrote: Thu Dec 05, 2024 9:48 am

Thks. radky;
I did as you said (run from spot) but no change. Could a claws setting (preference?) be a problem)? Don't worry if we can't fix this, I 'll just use a different mail app.
MW

You might try the following setting in Claws Mail Preferences:

1 - Go to Claws Mail Preferences -> External Programs
2 - Uncheck the checkbox (i.e., uncheck 'Use system defaults when possible')
3 - Copy the text below and paste in the 'Web browser' entry box:

run-as-spot /opt/FirefoxESR-portable64/firefox64/firefox '%s'

This works for me, so you maybe you could test in BW64.


Re: BWPup64 claws mail won't open links to URL/firefox

Posted: Fri Dec 06, 2024 2:48 pm
by wasley51

Thks. radky, Your suggestion works great!!!!
My Best, MW