Key art image for Adding Custom Applications to the "Open With” Tab on Debian

Adding Custom Applications to the “Open With” Tab on Debian

Sublime as Default Editor

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.

  1. Open the Main Menu application (if it’s not available you’ll need to download it):

    sudo apt-get install alacarte
    
  2. In Main Menu, set up Sublime as a normal application, but in the Command field, add ' %U’ to the end

    sublime %U
    

Orig. Photo: http://graphicburger.com/5-wrinkled-poster-backgrounds/