1
0
Fork 0
A set of simple tools to create mimeapps.list files
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Pavel 'LEdoian' Turinský 4a955d6157 Initial hacked version 2 years ago
README.md Initial hacked version 2 years ago
TODO Initial hacked version 2 years ago
combiner Initial hacked version 2 years ago
defaulter Initial hacked version 2 years ago
example.patterns Initial hacked version 2 years ago

README.md

mimeapps.list tools: a set of simple scripts to manage mimeapps.list files

Setting system-wide default applications is actually not very easy in current Linux distributions. This aims to help fix it.

Quality: hacked together to get basic work done, may be buggy, works for me :-) Breaking changes expected, please read diffs or pin your versions.

What is here

Two main scripts:

  • defaulter takes patterns for default apps and outputs a mimeapps.list to stdout
  • combiner can merge multiple mimeapps.list-style files by applying one after another

There is currently little documentation. All scripts support --help option to give usage, and have a large docstring at the top, which explains what they do.

The file example.patterns serves as an example of the pattern file. It too has a few comments.

Proper documentation, tests, etc: not currently implemented. Patches wanted. Also see the TODO file.

License

GPLv2-only

Contributing

Send any feedback, bug reports or patches to mimeapps@pokemon.ledoian.cz.