From 728092ebe0eed48ca0a5bb44b9e13c03c9803d84 Mon Sep 17 00:00:00 2001 From: pzanoni Date: Tue, 15 Feb 2011 17:59:33 +0000 Subject: - ship only a single desktop file in /etc/xdg/autostart, since that location is standard and used by many window managers - don't ship a xinit.d script: xdg-autostart-compliance should make old window managers start the XDG autostart files git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@271934 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- data/Makefile | 8 +++----- data/gnome-autostart-draksnapshot.desktop.in | 8 -------- 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 data/gnome-autostart-draksnapshot.desktop.in (limited to 'data') diff --git a/data/Makefile b/data/Makefile index a3206e9..338af4c 100644 --- a/data/Makefile +++ b/data/Makefile @@ -1,4 +1,4 @@ -DATADIR = $(PREFIX)/usr/share +SYSCONFDIR = $(PREFIX)/etc DESKTOP_IN := $(wildcard *.desktop.in) DESKTOP = $(DESKTOP_IN:.desktop.in=.desktop) @@ -9,10 +9,8 @@ clean: rm -f $(DESKTOP) install: all - mkdir -p $(DATADIR)/autostart - install autostart-draksnapshot.desktop $(DATADIR)/autostart/ - mkdir -p $(DATADIR)/gnome/autostart - install gnome-autostart-draksnapshot.desktop $(DATADIR)/gnome/autostart/ + mkdir -p $(SYSCONFDIR)/xdg/autostart + install autostart-draksnapshot.desktop $(SYSCONFDIR)/xdg/autostart/ %.desktop: %.desktop.in diff --git a/data/gnome-autostart-draksnapshot.desktop.in b/data/gnome-autostart-draksnapshot.desktop.in deleted file mode 100644 index 9ec7973..0000000 --- a/data/gnome-autostart-draksnapshot.desktop.in +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=DrakSnapshot Applet -Comment=Applet for DrakSnapshot -Exec=/usr/bin/draksnapshot-applet -Icon=draksnapshot-applet -Type=Application -StartupNotify=true -Categories=X-MandrivaLinux-System-Configuration-Networking;Settings;Network; -- cgit v1.2.1