summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-30 15:17:53 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-30 15:28:37 +0200
commitda3ad123c1a111fa462f38a04fc8d95671e66496 (patch)
tree99da260326567c9721c24065649ca057ec0c8d44
parent96d197f6b720ac5d4569b71861f8dfa8df134b95 (diff)
Add a vdagent-spice.desktop file
For auto starting of the vdagent from gdm and logged in X sessions.
-rw-r--r--Makefile8
-rw-r--r--TODO1
-rw-r--r--spice-vdagent.desktop7
3 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3b50776..416c840 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
DESTDIR ?=
sbindir ?= /sbin
udevdir ?= /lib/udev/rules.d
+xdgautostartdir ?= /etc/xdg/autostart
+gdmautostartdir ?= /usr/share/gdm/autostart/LoginWindow
CFLAGS ?= -O2 -g -Wall
CPPFLAGS = $(shell pkg-config --cflags spice-protocol)
@@ -17,6 +19,12 @@ install: build
install -s $(TARGETS) $(DESTDIR)$(sbindir)
install -d $(DESTDIR)$(udevdir)
install -m 644 *.rules $(DESTDIR)$(udevdir)
+ install -d $(DESTDIR)$(xdgautostartdir)
+ install -d $(DESTDIR)$(gdmautostartdir)
+ desktop-file-install --dir=$(DESTDIR)$(xdgautostartdir) \
+ spice-vdagent.desktop
+ desktop-file-install --dir=$(DESTDIR)$(gdmautostartdir) \
+ spice-vdagent.desktop
clean:
rm -f $(TARGETS) *.o *~
diff --git a/TODO b/TODO
index 93a8408..e9519f8 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,4 @@
+-add a README
-patch xorg driver to allow adding "random" resolutions
-make vdagent xorg client try to add "random" resolutions
-fedora package
diff --git a/spice-vdagent.desktop b/spice-vdagent.desktop
new file mode 100644
index 0000000..0c10407
--- /dev/null
+++ b/spice-vdagent.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Spice vdagent
+Comment=Agent for Spice guests
+Exec=spice-agent
+Terminal=false
+Type=Application
+Categories=