On 01/14/2017 04:41 AM, David Faure wrote: > A *.rg file should yield application/x-rosegarden-composition,
> Do you have a /usr/share/mime/packages/rosegarden.xml file? That was a helpful clue. Thanks! I never changed the prefix, and our version of rosegarden.xml got installed in /usr/local, where it sat, ignored. Now I have the Rosegarden MIME types working in Dolphin. > OK the most important part is here (/usr/share) but I really wonder what's in > your /usr/share/xsessions/plasma (for my curiosity, can you do a `find` there, > to show me?) There is no /usr/share/xsessions/plasma. I have /usr/share/xsessions/plasma.desktop and it doesn't look like its contents would be interesting. Translation, translation, yadda yadda, KDE 5.5.5. > It depends on what you meant by fixing ;) I'm largely focusing on the file dialogs in Rosegarden, which are apparently much more functional for you than me. > The way it's supposed to work is that installing rosegarden into /usr, or into > a prefix listed in XDG_DATA_DIRS, then that should make both the mimetype > definitions and the icons available. It's interesting that /usr/local/share IS contained within XDG_DATA_DIRS but they were still broken. > *However* there is an extra step missing, which is likely the issue here. > The program `update-mime-database` needs to be run after installing a mimetype > definition. It's probable that nothing ever ran update-mime-database on /usr/local until I did just now. > Which btw can be done (kdialog --getopenfilename) but that is a somewhat > horrible solution. That's putting it mildly. :) > How about not using a stylesheet? I hate stylesheets anyway, they are slow, > inflexible, limited.... > A palette and a widget style can do everything a stylesheet does, and more > (though with much more tricky code, in some cases). If you can show me a better way, my friend, I despise the stylesheet with a burning passion. I knew what I wanted Rosegarden to look like, but I didn't know how to get there, and the thing is just an absolute nightmare of glue on top of duct tape on top of baling wire on top of chewing gum on top of old truck tires. That thing is truly my albatross. -- D. Michael McIntyre ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel