[opensuse] firefox opens new MUA
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this. Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want. I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit) Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour? TIA, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link? I tried searching but couldn't find anything relevant. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I'm wondering if it might be claws that is misbehaving, i.e. it is claws that fails to recognise the already running instace? Or might it be a claws setting? -- Per Jessen, Zürich (4.0°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 06 Jan 2020 13:03:34 +0100 Per Jessen <per@computer.org> wrote:
Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I'm wondering if it might be claws that is misbehaving, i.e. it is claws that fails to recognise the already running instace? Or might it be a claws setting?
Dunno. I doubt it but I've asked on their mailing list to be sure. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 6 Jan 2020 12:43:39 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 06 Jan 2020 13:03:34 +0100 Per Jessen <per@computer.org> wrote:
Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I'm wondering if it might be claws that is misbehaving, i.e. it is claws that fails to recognise the already running instace? Or might it be a claws setting?
Dunno. I doubt it but I've asked on their mailing list to be sure.
Very quick response there. It appears to be something to do with me recently changing the tmp directory that FF uses (to put it on a larger filesystem). Not sure how to fix the problem yet, but I think I'm making progress. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 6 Jan 2020 13:22:50 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 6 Jan 2020 12:43:39 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 06 Jan 2020 13:03:34 +0100 Per Jessen <per@computer.org> wrote:
Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I'm wondering if it might be claws that is misbehaving, i.e. it is claws that fails to recognise the already running instace? Or might it be a claws setting?
Dunno. I doubt it but I've asked on their mailing list to be sure.
Very quick response there. It appears to be something to do with me recently changing the tmp directory that FF uses (to put it on a larger filesystem). Not sure how to fix the problem yet, but I think I'm making progress.
I now understand what's going on, but I don't see how to fix it. It's all to do with tmpdirs. Claws uses $TMPDIR (or default of /tmp) to decide where to create a directory claws-$userid whilst its running, and in that directory there is a socket, presumably so a new instance can detect the running instance and pass a command to it - compose to mailto link in this case. On my system this directory resolves to /tmp/claws-mail-1000/. Firefox used /tmp by default on my system to cache lots of files that were filling my root filesystem. So I changed its preferences so that it now uses ~/.mozilla/tmp instead. It seems that Firefox passes this as the value of TMPDIR in the local environment that it provides to programs that it runs. So the new instance of claws tries to find whether there is a currently running instance of itself by looking for ~/.mozilla/tmp/claws-mail-1000/ and it discovers there is no such directory so fully starts a new instance of claws instead of passing its arguments to the existing instance and exiting. So how to fix this? Are either of the programs doing anything wrong that would justify a bug report? Or is there a convention for how to start subprograms or how to check for already running programs that should be followed and would resolve the issue? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 1/7/20 3:59 AM, Dave Howorth wrote:
On Mon, 6 Jan 2020 13:22:50 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 6 Jan 2020 12:43:39 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 06 Jan 2020 13:03:34 +0100 Per Jessen <per@computer.org> wrote:
Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I'm wondering if it might be claws that is misbehaving, i.e. it is claws that fails to recognise the already running instace? Or might it be a claws setting?
Dunno. I doubt it but I've asked on their mailing list to be sure.
Very quick response there. It appears to be something to do with me recently changing the tmp directory that FF uses (to put it on a larger filesystem). Not sure how to fix the problem yet, but I think I'm making progress.
I now understand what's going on, but I don't see how to fix it.
It's all to do with tmpdirs. Claws uses $TMPDIR (or default of /tmp) to decide where to create a directory claws-$userid whilst its running, and in that directory there is a socket, presumably so a new instance can detect the running instance and pass a command to it - compose to mailto link in this case. On my system this directory resolves to /tmp/claws-mail-1000/.
Firefox used /tmp by default on my system to cache lots of files that were filling my root filesystem. So I changed its preferences so that it now uses ~/.mozilla/tmp instead. It seems that Firefox passes this as the value of TMPDIR in the local environment that it provides to programs that it runs.
So the new instance of claws tries to find whether there is a currently running instance of itself by looking for ~/.mozilla/tmp/claws-mail-1000/ and it discovers there is no such directory so fully starts a new instance of claws instead of passing its arguments to the existing instance and exiting.
So how to fix this? Are either of the programs doing anything wrong that would justify a bug report? Or is there a convention for how to start subprograms or how to check for already running programs that should be followed and would resolve the issue?
Firefox should probably be calling sub processes with the system environment settings rather then whatever it has set, Id think thats at least worthy of a bug report to discuss it further. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
On Tue, 7 Jan 2020 09:06:02 +1030 Simon Lees <sflees@suse.de> wrote:
On 1/7/20 3:59 AM, Dave Howorth wrote:
On Mon, 6 Jan 2020 13:22:50 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 6 Jan 2020 12:43:39 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 06 Jan 2020 13:03:34 +0100 Per Jessen <per@computer.org> wrote:
Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
> I've noticed that for the past little while, whenever I click > on a mailto link in a web page, Firefox opens a new copy of my > MUA, which happens to be claws-mail. I don't want this. > > Previously when I clicked on a mailto link, it simply opened a > compose window using my already open claws session. This is > what I want. > > I don't think I have knowingly changed any settings in either > program. FF is 68.2.0esr (64-bit) > > Does anybody have any idea why this is happening and/or on > what I can do to revert the behaviour? > > TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I'm wondering if it might be claws that is misbehaving, i.e. it is claws that fails to recognise the already running instace? Or might it be a claws setting?
Dunno. I doubt it but I've asked on their mailing list to be sure.
Very quick response there. It appears to be something to do with me recently changing the tmp directory that FF uses (to put it on a larger filesystem). Not sure how to fix the problem yet, but I think I'm making progress.
I now understand what's going on, but I don't see how to fix it.
It's all to do with tmpdirs. Claws uses $TMPDIR (or default of /tmp) to decide where to create a directory claws-$userid whilst its running, and in that directory there is a socket, presumably so a new instance can detect the running instance and pass a command to it - compose to mailto link in this case. On my system this directory resolves to /tmp/claws-mail-1000/.
Firefox used /tmp by default on my system to cache lots of files that were filling my root filesystem. So I changed its preferences so that it now uses ~/.mozilla/tmp instead. It seems that Firefox passes this as the value of TMPDIR in the local environment that it provides to programs that it runs.
So the new instance of claws tries to find whether there is a currently running instance of itself by looking for ~/.mozilla/tmp/claws-mail-1000/ and it discovers there is no such directory so fully starts a new instance of claws instead of passing its arguments to the existing instance and exiting.
So how to fix this? Are either of the programs doing anything wrong that would justify a bug report? Or is there a convention for how to start subprograms or how to check for already running programs that should be followed and would resolve the issue?
Firefox should probably be calling sub processes with the system environment settings rather then whatever it has set, Id think thats at least worthy of a bug report to discuss it further.
This is now http://bugzilla.opensuse.org/show_bug.cgi?id=1160317 and https://bugzilla.mozilla.org/show_bug.cgi?id=1607748 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/01/2020 12.40, Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I tried searching but couldn't find anything relevant.
I don't think it is firefox, but the desktop. I think it calls "xdg-open". Hum, no, that's for the browser. I just did, yesterday: cer@Telcontar:~/.local/share/applications> xdg-settings set default-web-browser firefox-small.desktop cer@Telcontar:~/.local/share/applications> xdg-settings get default-web-browser firefox-small.desktop cer@Telcontar:~/.local/share/applications> cer@Telcontar:~> xdg-settings --list Known properties: default-url-scheme-handler Default handler for URL scheme default-web-browser Default web browser cer@Telcontar:~> Mail is not there. I found another app called "xdg-email". cer@Telcontar:~> xdg-email --help xdg-email ? command line tool for sending mail using the user's preferred e-mail composer Synopsis xdg-email [--utf8] [--cc address] [--bcc address] [--subject text] [--body text] [--attach file] [ mailto-uri | address(es) ] xdg-email { --help | --manual | --version } Use 'man xdg-email' or 'xdg-email --manual' for additional info. cer@Telcontar:~> I don't know how it knows the default mail app and how to call it. Thunderbird has a tick on preferences to check that it is the default mail application and set it. Maybe claws has that as well. - -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXhMiaQAKCRC1MxgcbY1H 1YqGAJ407UHWpzH216AA377raWpO+WoijgCfdOIv352C15gOtu2MRlCeSw0owkc= =bI3M -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 6 Jan 2020 13:05:06 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/01/2020 12.40, Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I tried searching but couldn't find anything relevant.
I don't think it is firefox, but the desktop. I think it calls "xdg-open". Hum, no, that's for the browser. I just did, yesterday:
cer@Telcontar:~/.local/share/applications> xdg-settings set default-web-browser firefox-small.desktop
cer@Telcontar:~/.local/share/applications> xdg-settings get default-web-browser firefox-small.desktop cer@Telcontar:~/.local/share/applications>
cer@Telcontar:~> xdg-settings --list Known properties: default-url-scheme-handler Default handler for URL scheme default-web-browser Default web browser cer@Telcontar:~>
Mail is not there.
I found another app called "xdg-email".
cer@Telcontar:~> xdg-email --help xdg-email ? command line tool for sending mail using the user's preferred e-mail composer
Synopsis
xdg-email [--utf8] [--cc address] [--bcc address] [--subject text] [--body text] [--attach file] [ mailto-uri | address(es) ]
xdg-email { --help | --manual | --version }
Use 'man xdg-email' or 'xdg-email --manual' for additional info. cer@Telcontar:~>
I don't know how it knows the default mail app and how to call it.
Thunderbird has a tick on preferences to check that it is the default mail application and set it. Maybe claws has that as well.
Thanks for the ideas. But I think Firefox manages it via the application preferences. In particular in: file:///home/dhoworth/.mozilla/firefox/lxvetjls.default/handlers.json there is V mailto action 4 V handlers V 0 name "Claws Mail" command "claws-mail %u" I changed it to "claws-mail --compose %u" which is the command to open a compose window, and then restarted firefox but it makes no difference; it still starts a new copy of claws plus a compose window. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 1/6/20 10:35 PM, Carlos E. R. wrote:
On 06/01/2020 12.40, Dave Howorth wrote:
On Sun, 5 Jan 2020 15:37:44 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
I've noticed that for the past little while, whenever I click on a mailto link in a web page, Firefox opens a new copy of my MUA, which happens to be claws-mail. I don't want this.
Previously when I clicked on a mailto link, it simply opened a compose window using my already open claws session. This is what I want.
I don't think I have knowingly changed any settings in either program. FF is 68.2.0esr (64-bit)
Does anybody have any idea why this is happening and/or on what I can do to revert the behaviour?
TIA, Dave
Nobody has seen this or has any ideas how FF decides what to do with a mailto link?
I tried searching but couldn't find anything relevant.
I don't think it is firefox, but the desktop. I think it calls "xdg-open". Hum, no, that's for the browser. I just did, yesterday:
cer@Telcontar:~/.local/share/applications> xdg-settings set default-web-browser firefox-small.desktop
cer@Telcontar:~/.local/share/applications> xdg-settings get default-web-browser firefox-small.desktop cer@Telcontar:~/.local/share/applications>
cer@Telcontar:~> xdg-settings --list Known properties: default-url-scheme-handler Default handler for URL scheme default-web-browser Default web browser cer@Telcontar:~>
Mail is not there.
I found another app called "xdg-email".
cer@Telcontar:~> xdg-email --help xdg-email ? command line tool for sending mail using the user's preferred e-mail composer
Synopsis
xdg-email [--utf8] [--cc address] [--bcc address] [--subject text] [--body text] [--attach file] [ mailto-uri | address(es) ]
xdg-email { --help | --manual | --version }
Use 'man xdg-email' or 'xdg-email --manual' for additional info. cer@Telcontar:~>
I don't know how it knows the default mail app and how to call it.
It can generally be set / changed somewhere in the settings panel of your desktop environment along with default browser, terminal and filemanager. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/01/2020 23.39, Simon Lees wrote: | | | On 1/6/20 10:35 PM, Carlos E. R. wrote: ... |> I don't think it is firefox, but the desktop. I think it calls |> "xdg-open". Hum, no, that's for the browser. I just did, |> yesterday: |> |> cer@Telcontar:~/.local/share/applications> xdg-settings set |> default-web-browser firefox-small.desktop |> |> cer@Telcontar:~/.local/share/applications> xdg-settings get |> default-web-browser firefox-small.desktop ... |> Use 'man xdg-email' or 'xdg-email --manual' for additional info. |> cer@Telcontar:~> |> |> |> I don't know how it knows the default mail app and how to call |> it. | | It can generally be set / changed somewhere in the settings panel | of your desktop environment along with default browser, terminal | and filemanager. The change I did with "xdg-settings set default-web-browser firefox-small.desktop" appears in XFCE Settings Preferred apps :-) There is an entry for mail and another for browser :-) - -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXhcQsAAKCRC1MxgcbY1H 1T9xAJ9xdgcK6rmsCkQj2wWVia94JhkuvQCff7yYuYE2omoXHLL1gFwnP4pR1kY= =EQlY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
Dave Howorth
-
Per Jessen
-
Simon Lees