Easily change your default browser, editor, word processor and so on.
This was made as a part of another project, so may or may not be of any use.
I use it inside other scripts, as an easy way to change the default apps, if required.
Changes the executed commands in the /usr/local/bin/default*** files, via simple commands in the terminal console..
Changelog:
version 0.2
- changes are only made if both the default*** exist and the new command given is executable
- the full path is not required for commands - `which` is now used to find the full path
- all messages output in terminal
Example usage, (type in console):
Code: Select all
defaults-changer [browser|etc|wordprocessor] command
Code: Select all
defaults-changer -h
Code: Select all
defaults-changer browser opera
defaults-changer draw /path/to/gimp
Supports all the default*** files that you may have installed!