This script will eventually fix all the problems on file association in rox-filer. This works as fallback mode. It can coexist with the old system. This will provide greater flexibility for rox-filer on its file associations.
It works on any rox-filer versions and builds.
Recent Puppy Package Manager and SFS Load can now update the mimeinfo.cache file.
Requirements:
* desktop-file-utils (latest puppy builds has desktop-file-utils installed, Also if it was not installed, the update-desktop-database script will do the job).
To find if desktop-file-utils was needed to install type this command
Code: Select all
which update-desktop-database
How this works
Based from Barry's observation, if the mimetype scripts was not found on MIME-types folder of rox. It will fallback on its general mimetype. audio/*,video/*,image,text/* has no problems at all. By assigning puppy's default scripts
But what about applications/*?. They were inconsistent, so the rox-xdg steps in. This will read and parse mimeapps.list, defaults.list, and mimeinfo.cache to find the appropriate program.
More info about xdg file associations:
https://specifications.freedesktop.org/ ... 1.0.1.html
https://wiki.archlinux.org/index.php/XD ... plications