Pages

Saturday, December 30, 2017

How To Solve Sublime Text Not Showing In Optional Application List Of Open With Menu On Right Click

How To Solve Sublime Text Not Showing In Optional Application List Of Open With Menu On Right Click

I just installed sublime text in my new Linux box.. And tried to open text file with it instead of default editor.. So I clicked on 'Open With' option in Right Click menu.... But I couldn't see sublime-text in application list shown on clicking 'Open With'...

So I just googled for solution... It's easy to fix... We just need to copy desktop entry to local list of desktop entries list...

Just Run The Following Lines.. To Make Things Work...

Step 1 :

Just Copy the contents of /usr/share/applications/sublime_text.desktop to ~/.local/share/applications/sublime_text.desktop

cp /usr/share/applications/sublime_text.desktop ~/.local/share/applications/sublime_text.desktop

Step 2 :

Now Just update the index of desktop entries... sudo update-desktop-database

sudo update-desktop-database

That's It Now It will appear at menu list of 'Open With'...

Just check the video... Friends... Don't Forget To Subscribe...