From: "Sébastien Gendre" <seb@k-7.ch>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem contacting Firefox from Emacs daemon started as systemd service
Date: Thu, 21 Jan 2021 21:53:32 +0100 [thread overview]
Message-ID: <87pn1yt3jn.fsf@k-7.ch> (raw)
In-Reply-To: <83y2gm5aay.fsf@gnu.org>
Thanks for your reply.
If I run the Firefox command from a shell in Emacs, I got the same
problem as when I try to open an url from Emacs.
Eli Zaretskii writes:
>> From: Sébastien Gendre <seb@k-7.ch>
>> Date: Thu, 21 Jan 2021 20:14:59 +0100
>>
>> I start an Emacs daemon at the start of my session with a systemd (user)
>> service. When I try to open an URL from Emacs, I got this error message
>> from Firefox:
>>
>> Firefox is already running, but is not responding. The old Firefox
>> process must be closed to open a new window.
>>
>> But if I call this command from a simple terminal:
>> firefox https://fsf.org
>>
>> In Firefox, a new tab open on the FSF website, with no problem.
>>
>> `browse-url-browser-function` value is `browse-url-default-browser`. That
>> mean Emacs call xdg-open, who call firefox command.
>>
>>
>> Have you an idea about this problem ? I can't found anything on the web.
>
> The 'firefox' command line asks the existing instance of Firefox to
> display the URL, whereas xdg-open tries to start a new instance.
next prev parent reply other threads:[~2021-01-21 20:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-21 19:14 Problem contacting Firefox from Emacs daemon started as systemd service Sébastien Gendre
2021-01-21 20:01 ` Eli Zaretskii
2021-01-21 20:53 ` Sébastien Gendre [this message]
2021-01-22 7:04 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pn1yt3jn.fsf@k-7.ch \
--to=seb@k-7.ch \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).