diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-10-30 15:17:53 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-10-30 15:28:37 +0200 |
commit | da3ad123c1a111fa462f38a04fc8d95671e66496 (patch) | |
tree | 99da260326567c9721c24065649ca057ec0c8d44 | |
parent | 96d197f6b720ac5d4569b71861f8dfa8df134b95 (diff) |
Add a vdagent-spice.desktop file
For auto starting of the vdagent from gdm and logged in X sessions.
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | spice-vdagent.desktop | 7 |
3 files changed, 16 insertions, 0 deletions
@@ -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 *~ @@ -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= |