Adding Custom Applications to the “Open With” Tab on Debian
I’m a big fan of Sublime text editor, but since it doesn’t have an installer for Linux, I can’t set it as the default application for certain files.
I finally did some digging and found the solution.
Open the Main Menu application (if it’s not available you’ll need to download it):
sudo apt-get install alacarte
In Main Menu, set up Sublime as a normal application, but in the Command field, add ' %U' to the end