Re: [Evolution] How does Evolution open a URL in a new tab in firefox?

2022-03-13 Thread Pete Biggs

Please don't reply to me, please reply only to the list.

On Sat, 2022-03-12 at 11:37 -0800, Van Snyder wrote:
> On Sat, 2022-03-12 at 19:08 +, Pete Biggs wrote:
> > > > > 
> > > > 
> > > > Evolution (or the others) don't actually do it themselves. They
> > > > use
> > > > xdg-open which opens whatever in the users preferred
> > > > application.
> > > > So
> > > > something like 
> > > > 
> > > >   xdg-open http://www.gnome.org
> > > > 
> > > > 
> > > 
> > > Thanks for the explanation. That works from my command line, but
> > > doesn't work in kalarm.
> > > 
> > If it works from the command line, then it really should work
> > anywhere.
> > Is the command in kalarm executed as your own username?
> 
> According to "ps -ef | grep xdg" it is. There are several "xdg"
> programs running:
> 
> /usr/libexec/xdg-desktop-portal
> /usr/libexec/xdg-document-portal
> /usr/libexec/xdg-permission-store
> /usr/libexec/xdg-desktop-portal-gtk
> /usr/bin/xdg-dbus-proxy
> 
> There are also instances of the last one being run by /usr/bin/bwrap
> 
> The parent process of the instance of firefox started by kalarm is
> systemd.
> 

OK, but I asked if the process that is started by kalarm is owned by
you.  

But if kalarm uses the systemd timers, then it won't be executed as
part of your desktop environment so it probably can't know that you
already have an instance of firefox running. 

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] How does Evolution open a URL in a new tab in firefox?

2022-03-12 Thread Pete Biggs
> > > 
> > 
> > Evolution (or the others) don't actually do it themselves. They use
> > xdg-open which opens whatever in the users preferred application.
> > So
> > something like 
> > 
> >   xdg-open http://www.gnome.org
> > 
> > 
> 
> Thanks for the explanation. That works from my command line, but
> doesn't work in kalarm.
> 
If it works from the command line, then it really should work anywhere.
Is the command in kalarm executed as your own username?

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] How does Evolution open a URL in a new tab in firefox?

2022-03-12 Thread Van Snyder
On Sat, 2022-03-12 at 12:57 +, Pete Biggs wrote:
> On Fri, 2022-03-11 at 18:42 -0800, Van Snyder wrote:
> > How does Evolution open a URL in a new tab in firefox?
> > 
> > I can't do it from the command line. Online discussion says to use
> > the "--new-tab" command-line option, but firefox always puts up a
> > window saying it's already running, and inviting me to create a new
> > profile.
> > 
> > I have other applications for which Id like to open a new tab (or
> > new
> > window), not start another instance of firefox, such as kalarm.
> > 
> > Dolphin can do it too. Nautilus can do it.
> > 
> > How does Evolution (or dolphin or nautilus) do it?
> > 
> 
> Evolution (or the others) don't actually do it themselves. They use
> xdg-open which opens whatever in the users preferred application. So
> something like 
> 
>   xdg-open http://www.gnome.org
> 
> will open the wewbsite in your preferred browser using the configured
> mechanism (new window, new tab, etc.).  This applies to not just URLs -
> it works for files - give it a .docx file, it will open LibreOffice,
> give it an image, it will open gimp etc. etc.

Thanks for the explanation. That works from my command line, but
doesn't work in kalarm.


> P.
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] How does Evolution open a URL in a new tab in firefox?

2022-03-12 Thread Pete Biggs
On Fri, 2022-03-11 at 18:42 -0800, Van Snyder wrote:
> How does Evolution open a URL in a new tab in firefox?
> 
> I can't do it from the command line. Online discussion says to use
> the "--new-tab" command-line option, but firefox always puts up a
> window saying it's already running, and inviting me to create a new
> profile.
> 
> I have other applications for which Id like to open a new tab (or new
> window), not start another instance of firefox, such as kalarm.
> 
> Dolphin can do it too. Nautilus can do it.
> 
> How does Evolution (or dolphin or nautilus) do it?
> 

Evolution (or the others) don't actually do it themselves. They use
xdg-open which opens whatever in the users preferred application. So
something like 

  xdg-open http://www.gnome.org

will open the wewbsite in your preferred browser using the configured
mechanism (new window, new tab, etc.).  This applies to not just URLs -
it works for files - give it a .docx file, it will open LibreOffice,
give it an image, it will open gimp etc. etc.

P.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] How does Evolution open a URL in a new tab in firefox?

2022-03-11 Thread Van Snyder
How does Evolution open a URL in a new tab in firefox?

I can't do it from the command line. Online discussion says to use the
"--new-tab" command-line option, but firefox always puts up a window
saying it's already running, and inviting me to create a new profile.

I have other applications for which Id like to open a new tab (or new
window), not start another instance of firefox, such as kalarm.

Dolphin can do it too. Nautilus can do it.

How does Evolution (or dolphin or nautilus) do it?

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list