[PD-dev] [ pure-data-Patches-2306631 ] file associations for GNOME, KDE, etc.

SourceForge.net noreply at sourceforge.net
Mon Nov 17 20:55:59 CET 2008


Patches item #2306631, was opened at 2008-11-17 14:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2306631&group_id=55736

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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Nobody/Anonymous (nobody)
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


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2306631&group_id=55736




More information about the Pd-dev mailing list