diff --git a/pd/icons/pd-l2ork.desktop b/pd/icons/pd-l2ork.desktop
new file mode 100755
index 0000000000000000000000000000000000000000..5e8961ea8b5e8bb3a451c605e4d1233c7ea1b503
--- /dev/null
+++ b/pd/icons/pd-l2ork.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=pd-l2ork
+Exec=/home/matju/src/pd-l2ork/pd/bin/pd-l2ork
+Icon=/home/matju/.local/share/icons/hicolor/48x48/apps/pd-l2ork.png
+StartupNotify=true
+
diff --git a/pd/icons/pd-l2ork_48px.png b/pd/icons/pd-l2ork_48px.png
new file mode 100644
index 0000000000000000000000000000000000000000..0ab2df6541dfe5c1c7a02237098c054652f9a2b4
Binary files /dev/null and b/pd/icons/pd-l2ork_48px.png differ
diff --git a/pd/src/makefile.in b/pd/src/makefile.in
index 047e84429a1f9492ff24d7a229c1ed11aca36725..0539b9d215168850e3c3f004ab05011f7b8dda8e 100644
--- a/pd/src/makefile.in
+++ b/pd/src/makefile.in
@@ -18,6 +18,7 @@ bindir = @bindir@
 includedir = @includedir@
 libdir = @libdir@
 mandir = @mandir@
+datarootdir = @datarootdir@
 
 GFLAGS = -DINSTALL_PREFIX=\"$(prefix)\"
 
@@ -232,7 +233,7 @@ tkdnd:
 BINARYMODE=@binarymode@
 
 ABOUT_FILE=$(DESTDIR)$(pddocdir)/1.manual/1.introduction.txt
-install: all tkpath tkdnd
+install: all tkpath tkdnd install-icon
 	install -d $(DESTDIR)$(libpdbindir)
 	install $(BIN_DIR)/$(GUINAME) $(DESTDIR)$(libpdbindir)/$(GUINAME)
 	install $(BIN_DIR)/pd-watchdog $(DESTDIR)$(libpdbindir)/pd-watchdog
@@ -348,3 +349,9 @@ etags_Linux:
 etags_MINGW:
 	find /usr/local/include/ -type f -name \*.h -exec etags -a '{}' \;
 
+install-icon::
+	D=$$(case "$(DESTDIR)$(prefix)" in /home/*) echo "$$HOME/.local/share";; *) echo "/usr/share";; esac); \
+	echo $$D; \
+	install -m644 ../icons/pd-l2ork_48px.png $$D/icons/hicolor/48x48/apps/pd-l2ork.png; \
+	install -m644 ../icons/pd-l2ork.desktop  $$D/applications/pd-l2ork.desktop
+