From d8c82f4d3a4f8b237307b63f7725fbfa9ae31587 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Mon, 21 Jun 2004 07:00:21 +0000 Subject: - autostart file for KDE/GNOME --- perl-install/Makefile.drakxtools | 3 ++- perl-install/share/net_applet.desktop | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 perl-install/share/net_applet.desktop (limited to 'perl-install') diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools index 0689da5f0..8746ba7ea 100644 --- a/perl-install/Makefile.drakxtools +++ b/perl-install/Makefile.drakxtools @@ -28,7 +28,7 @@ $(DIRS): [ ! -e $@/Makefile ] || $(MAKE) -C $@ install: - mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps,icons/{large,mini}} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR) $(MENUDIR) + mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps,icons/{large,mini},autostart} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR) $(MENUDIR) install -d $(INLIBDEST_DIRS:%=$(LIBDEST)/%) install $(STANDALONEPMS) standalone/service_harddrake.sh $(SBINDEST) install -s rpcinfo-flushed ddcprobe/ddcxinfos serial_probe/serial_probe $(SBINDEST) @@ -44,6 +44,7 @@ install: for i in $(PMS_DIRS); do install -d $(LIBDEST)/$$i ; install -m 644 $$i/*.pm $(LIBDEST)/$$i/;done install -m 644 pixmaps/*.* $(PIXDIR) install -m 644 share/diskdrake.rc $(DATADIR)/$(NAME) + install -m 644 share/net_applet.desktop $(DATADIR)/autostart install -d $(PREFIX)/etc/security echo 'RESTRICT=yes' > $(PREFIX)/etc/security/fileshare.conf diff --git a/perl-install/share/net_applet.desktop b/perl-install/share/net_applet.desktop new file mode 100644 index 000000000..3f4b990fd --- /dev/null +++ b/perl-install/share/net_applet.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=NetApplet +GenericName=Network Watcher Applet +GenericName[fr]=Applet de Contrôle du réseau +Exec=net_applet +Icon=disconnected +Type=Application +Terminal=0 +X-KDE-autostart-after=panel +X-KDE-UniqueApplet=true +X-KDE-autostart-condition=General:AutoStart:true \ No newline at end of file -- cgit v1.2.1