Joined January 2013
·

Jack Chan

USA
·
·

This works! Note that the %U is the key. The odd thing is that when I added the %U to the sublime_text.desktop in /usr/share/applications/ Sublime Text 2 did not appear in the "open with other application..." dialog. Adding this entry into the ~/.local/share/applications worked. One more tip though. To make all plain text files open with Sublime Text 2, do this command in terminal:

$ xdg-mime default sublime_text.desktop text/plain

Achievements
1 Karma
0 Total ProTip Views