Subject: spice-vdagent.desktop exec failure
From: Taegil Bae <[email-masked]>
To: [email-masked]
Date: Mon, 12 Nov 2018 02:16:16 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

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

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")))
              #t)))))
     (inputs
       `(("alsa-lib" ,alsa-lib)

Regards,

Taegil