Patches item #2306631, was opened at 2008-11-17 14:55 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2306631...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pd-extended
Group: feature Status: Closed Resolution: Accepted
Priority: 5 Private: No Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: file associations for GNOME, KDE, etc.
Initial Comment:
From an email from Cyrille:
try adding it to the packages packages/linux_make/Makefile is the place to do it, should be pretty straightforward. ok.
is it possible to just add thing like this : # add mime type to .pd files cp mime_pd-extended.xml /usr/share/mime/packages/pd-extended.xml update-mime-database /usr/share/mime # add icon to this mime type # works curently only on gnome, is it possible to find a better way to do this? cp /usr/share/icons/hicolor/48x48/apps/pd.png /usr/share/icons/gnome/48x48/mimetypes/gnome-mime-application-pd-extended.png chmod 644 /usr/share/icons/gnome/48x48/mimetypes/gnome-mime-application-pd-extended.png gtk-update-icon-cache /usr/share/icons/gnome/ # adding pd by default on clicking on this files echo "application/pd-extended=pd-extended.desktop" >> /usr/share/applications/defaults.list
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-05-08 19:50
Message: Ok, I just committed this stuff here, based on some work by Cyrille and Patco. Here's the original discussion:
http://lists.puredata.info/pipermail/pd-list/2008-09/065205.html
And the commit:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=...
I'll fold it into trunk once pd-extended 0.41.4 is released.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2306631...