View Single Post
Posts: 139 | Thanked: 24 times | Joined on Sep 2005
#9
Originally Posted by pipeline View Post
The most non-hackable component seems to be implementing code to handle the mime callback, which most likely is still there. Someone could try editing the .desktop or (service/mime?) config files to re-enable this before doing an update-mime-database.
No need, just edit /usr/share/applications/defaults.list. Changes for jpeg as an example:
Code:
## comment out the original jpeg mime handler
#image/jpeg=hildon-image-viewer.desktop

image/jpeg=hildon-quiver.desktop
Restart file manager and it should work.

It's a shame that the user versions of these files (like ~/.local/share/applications/defaults.list) do not work: It would have made a default-app-selector application very easy to code -- now it'll need root permissions, there's a chance of messing up the system defaults and system upgrades are going to be more difficult.