On Tue, 2020-09-08 at 08:42 -0400, Garry T. Williams wrote:
On Tuesday, September 8, 2020 4:26:01 AM EDT Patrick O'Callaghan
wrote:
> On Mon, 2020-09-07 at 18:40 -0400, Garry T. Williams wrote:
> > On Monday, September 7, 2020 5:53:22 PM EDT Ed Greshko wrote:
> > > On 2020-09-08 03:36, Garry T. Williams wrote:
> > > > On Monday, September 7, 2020 1:47:50 PM EDT Mark @ GMail wrote:
> > > > > I closed down the Dolphin process, logged out and logged in
(that
> > > > > should have saved the session, shouldn't it?), and when
that
> > > > > didn't do the trick I removed the suggested file from
/etc/xdg,
> > > > > but something is still starting Dolphin.
> > > > Remove /etc/xdg/autostart/org.kde.dolphin.desktop
> > >
> > > Actually, one should not remove that file as it belongs to the
> > > dolphin package.
> > >
> > > You can override the behavior by copying the file to your
> > > ~/.config/autostart directory and add the
> > >
> > > Hidden=true directive.
> >
> > OK, I knew I shouldn't, but I didn't know how to override. So...
> >
> > $ sudo dnf provides /etc/xdg/autostart/org.kde.dolphin.desktop
> > dolphin-...
> > $ sudo dnf reinstall dolphin
> > ...
> > $ ln -s /dev/null ~/.config/autostart/org.kde.dolphin.desktop
> >
> > I still do not get a copy of dolphin auto-started after that. The
> > dolphin package is restored and the override works fine.
>
> Try it after saving your session with at least one Dolphin window.
Just did that and only the one instance of Dolphin was restarted.
This (masking /etc/xdg/autostart/org.kde.dolphin.desktop) is
effective. It eliminates any auto-start copy of Dolphin for me.
Just to double-check, I reinstalled Dolphin, linked to /dev/null as
above, saved the session with the correct number of Dolphin windows,
logged out and logged in again.
I still get an extra window.
poc