diff --git a/Makefile b/Makefile index ecfa5be..2f04ec7 100644 --- a/Makefile +++ b/Makefile @@ -10,3 +10,5 @@ build: .PHONY: install install: $(PYTHON) setup.py install -O1 $(PYTHON_PREFIX_ARG) --root $(DESTDIR) + install -d $(DESTDIR)/etc/xdg/autostart + install -m 0644 etc/qvm-start-gui.desktop $(DESTDIR)/etc/xdg/autostart/ diff --git a/etc/qvm-start-gui.desktop b/etc/qvm-start-gui.desktop new file mode 100644 index 0000000..e3966fe --- /dev/null +++ b/etc/qvm-start-gui.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Qubes Guid +Comment=Starts Dom0 GUI daemon for Qubes VMs +Icon=qubes +Exec=qvm-start-gui +Terminal=false +Type=Application +NotShowIn=X-QUBES diff --git a/rpm_spec/qubes-core-mgmt-client.spec b/rpm_spec/qubes-core-mgmt-client.spec index 7884a14..26d93d6 100644 --- a/rpm_spec/qubes-core-mgmt-client.spec +++ b/rpm_spec/qubes-core-mgmt-client.spec @@ -52,6 +52,7 @@ rm -rf build %files %doc LICENSE +%config /etc/xdg/autostart/qvm-start-gui.desktop %files -n python2-qubesmgmt %{python_sitelib}/qubesmgmt-*egg-info