[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem contacting Firefox from Emacs daemon started as systemd serv
From: |
Eli Zaretskii |
Subject: |
Re: Problem contacting Firefox from Emacs daemon started as systemd service |
Date: |
Thu, 21 Jan 2021 22:01:25 +0200 |
> 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.