[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem contacting Firefox from Emacs daemon started as systemd serv
From: |
Sébastien Gendre |
Subject: |
Re: Problem contacting Firefox from Emacs daemon started as systemd service |
Date: |
Thu, 21 Jan 2021 21:53:32 +0100 |
User-agent: |
mu4e 1.4.10; emacs 27.1 |
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.