regarding http://sourceforge.net/projects/qtractor/forums/forum/458010/topic/4933166
Does qtractor have a mime-type XML file? for example,
/usr/share/mime/packages/qtractor.xml
see attached code (spam filter was triggered by code)
This will add mime types with the code
update-mime-database /usr/share/mime
icons go in /usr/share/pixmaps/gnome-mime-<mime-type>
see attached example files
(tested on Puppy linux with Devx loaded)
Attachment | Size |
---|---|
xmlNicons.tar.gz | 10.34 KB |
re. file/mime types?
that's an awesome idea! why didn't you came with that earlier? ;)
i'll have a look and see... btw, why the gnome- prefix?? don't you know that i ain't the least of the g(rr)thingies? :)
cheers
basically, I copied off
basically, I copied off Audacity trying to get mime-types to work in Puppy. But Puppy, being tight, got rid of update-mime-database and mime definitions (saving 2MB). I've made a work around, though. Used gn**e-... for icons as it work for Puppy, not tried without the prefix. ; -)
re. file/mime types?
ok. i have looked into this and come back with my own stuff :)
see qtractor-mime-icons-1.tar.gz
application/x-qtractor-session
application/x-qtractor-template
application/x-qtractor-archive
eg. for local installation:
DATADIR=/usr/local/share
install -d -m 0755 $DATADIR/mime/packages
install -m 0644 mime/packages/qtractor.xml $DATADIR/share/mime/packages/qtractor.xml
install -d -m 0755 $DATADIR/icons/hicolor/32x32/mimetypes
install -m 0644 icons/hicolor/32x32/mimetypes/application-x-qtractor-*.png $DATADIR/icons/hicolor/32x32/mimetypes/
update-mime-database $DATADIR/mime
cheers
re. file/mime types? (DONE)
it is done.
svn trunk rev.2927+ (aka. qtractor 0.5.5.9+)
thanks again for the suggestion
cheers!
Nice work. Will update my
Nice work. Will update my package when I have time to work on the LV2 plugins, if anyone whats to try qtractor on Puppy see-
http://murga-linux.com/puppy/viewtopic.php?p=644763
; -)
Add new comment