summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorpzanoni <pzanoni@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2011-02-15 17:59:33 +0000
committerpzanoni <pzanoni@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2011-02-15 17:59:33 +0000
commit728092ebe0eed48ca0a5bb44b9e13c03c9803d84 (patch)
treeeaa215adcd45d85c28b5e107142bdfb77361b52f /data
parent2f49ac76b16a1d21b7aa33cd6c52e307e897b8a7 (diff)
downloaddraksnapshot-728092ebe0eed48ca0a5bb44b9e13c03c9803d84.tar
draksnapshot-728092ebe0eed48ca0a5bb44b9e13c03c9803d84.tar.gz
draksnapshot-728092ebe0eed48ca0a5bb44b9e13c03c9803d84.tar.bz2
draksnapshot-728092ebe0eed48ca0a5bb44b9e13c03c9803d84.tar.xz
draksnapshot-728092ebe0eed48ca0a5bb44b9e13c03c9803d84.zip
- 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
Diffstat (limited to 'data')
-rw-r--r--data/Makefile8
-rw-r--r--data/gnome-autostart-draksnapshot.desktop.in8
2 files changed, 3 insertions, 13 deletions
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;