Subject: Re: bug#33346: spice-vdagent.desktop exec failure

From: Leo Famulari <[email-masked]>
Date: Tue, 13 Nov 2018 15:27:45 -0500

On Mon, Nov 12, 2018 at 02:16:16AM +0900, Taegil Bae wrote:
> Spice-vdagent is not run by Gnome session because
> spice-vdagent.desktop is patched incorrectly.
> spice-vdagent.desktop is shown as:
> [Desktop Entry]
> Name=Spice vdagent
> Comment=Agent for Spice guests
> Exec=/gnu/store/5wk50f4zhhmg0s599z3d6v5zraxp72jp-spice-vdagent-0.17.0/bin/spice-vdagentTerminal=false
> Type=Application
> Categories=
> X-GNOME-Autostart-Phase=Initialization

Thanks for the report!

> So gnu/packages/spice.scm should be modified as below:
> --- gnu/packages/spice.scm.orig    2018-11-12 02:03:57.067760458 +0900
> +++ gnu/packages/spice.scm    2018-11-12 02:04:38.559875648 +0900
> @@ -278,7 +278,7 @@
>              (substitute* "data/spice-vdagent.desktop"
>                (("Exec=/usr/bin/spice-vdagent\n")
>                 (string-append "Exec=" (assoc-ref outputs "out")
> -                              "/bin/spice-vdagent")))
> +                              "/bin/spice-vdagent\n")))

I pushed a slightly simpler fix as commit
3f995aaf2101c1c7b00d473a7a81881dd50973e3.

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3f995aaf2101c1c7b00d473a7a81881dd50973e3