Re: [PATCH] restorecond: Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 16, 2020 at 2:28 PM Laurent Bigonville <bigon@xxxxxxxxxx> wrote:
>
> From: Laurent Bigonville <bigon@xxxxxxxx>
>
> 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@xxxxxxxx>
> ---
>  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@xxxxxxx>

If nobody complains, I will apply this patch tomorrow.
Nicolas




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux