@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
desktopdir = $(datadir)/applications
-desktop_in_files = rygel-preferences.desktop.in
+desktop_in_files = rygel.desktop.in rygel-preferences.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
# Rule to create the .desktop files
--- /dev/null
+[Desktop Entry]
+Encoding=UTF-8
+Name=Rygel
+Name[en_GB]=Rygel
+GenericName=UPnP/DLNA Services
+GenericName[en_GB]=UPnP/DLNA Services
+Categories=
+Exec=dbus-send --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.gnome.Rygel uint32:0
+Terminal=false
+Type=Application
+NoDisplay=true
+StartupNotify=true
+X-GNOME-Autostart-enabled=true
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=Rygel
+X-GNOME-Bugzilla-Component=general
+X-GNOME-Bugzilla-Version=${version}