diff mbox series

restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file

Message ID 20200716122213.454087-1-bigon@debian.org (mailing list archive)
State Accepted
Headers show
Series restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file | expand

Commit Message

Laurent Bigonville July 16, 2020, 12:22 p.m. UTC
From: Laurent Bigonville <bigon@bigon.be>

This completely inactivate the .desktop file incase the user session is
managed by systemd as restorecond also provide a service file

Signed-off-by: Laurent Bigonville <bigon@bigon.be>
---
 restorecond/restorecond.desktop | 1 +
 1 file changed, 1 insertion(+)

Comments

Nicolas Iooss July 19, 2020, 4:40 p.m. UTC | #1
On Thu, Jul 16, 2020 at 2:28 PM Laurent Bigonville <bigon@debian.org> wrote:
>
> From: Laurent Bigonville <bigon@bigon.be>
>
> This completely inactivate the .desktop file incase the user session is
> managed by systemd as restorecond also provide a service file
>
> Signed-off-by: Laurent Bigonville <bigon@bigon.be>
> ---
>  restorecond/restorecond.desktop | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/restorecond/restorecond.desktop b/restorecond/restorecond.desktop
> index af728680..7df85472 100644
> --- a/restorecond/restorecond.desktop
> +++ b/restorecond/restorecond.desktop
> @@ -5,3 +5,4 @@ Comment=Fix file context in owned by the user
>  Type=Application
>  StartupNotify=false
>  X-GNOME-Autostart-enabled=false
> +X-GNOME-HiddenUnderSystemd=true
> --
> 2.28.0.rc0

I was not aware of this option, but it makes sense. Thanks!

Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org>

If nobody complains, I will apply this patch tomorrow.
Nicolas
Nicolas Iooss July 21, 2020, 6:36 a.m. UTC | #2
On Sun, Jul 19, 2020 at 6:40 PM Nicolas Iooss <nicolas.iooss@m4x.org> wrote:
>
> On Thu, Jul 16, 2020 at 2:28 PM Laurent Bigonville <bigon@debian.org> wrote:
> >
> > From: Laurent Bigonville <bigon@bigon.be>
> >
> > This completely inactivate the .desktop file incase the user session is
> > managed by systemd as restorecond also provide a service file
> >
> > Signed-off-by: Laurent Bigonville <bigon@bigon.be>
> > ---
> >  restorecond/restorecond.desktop | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/restorecond/restorecond.desktop b/restorecond/restorecond.desktop
> > index af728680..7df85472 100644
> > --- a/restorecond/restorecond.desktop
> > +++ b/restorecond/restorecond.desktop
> > @@ -5,3 +5,4 @@ Comment=Fix file context in owned by the user
> >  Type=Application
> >  StartupNotify=false
> >  X-GNOME-Autostart-enabled=false
> > +X-GNOME-HiddenUnderSystemd=true
> > --
> > 2.28.0.rc0
>
> I was not aware of this option, but it makes sense. Thanks!
>
> Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org>
>
> If nobody complains, I will apply this patch tomorrow.

Applied.
Thanks,
Nicolas
diff mbox series

Patch

diff --git a/restorecond/restorecond.desktop b/restorecond/restorecond.desktop
index af728680..7df85472 100644
--- a/restorecond/restorecond.desktop
+++ b/restorecond/restorecond.desktop
@@ -5,3 +5,4 @@  Comment=Fix file context in owned by the user
 Type=Application
 StartupNotify=false
 X-GNOME-Autostart-enabled=false
+X-GNOME-HiddenUnderSystemd=true