While browsing files in nautilus, I want to open a tex file with kile. But, when I get to a dialog similar to the screenshot below, I do not see kile. Yet, I see it in the "Open With" menu.
How do I fix this?
Copied from my answer here
In gnome3 when apps that show on the right click 'open with' context menu but not on the r. click Properties menu do so because the Exec= line in the apps .desktop doesn't end with a %letter
That's the case with kile. The 2 most likely letters would be f or U, I'd try U first.
Make the Exec= line look like this
Should then show (do a log out/in if needed
Edit: An alternate method, (to set as default), on a per user basis would be to edit ~/.local/share/applications/mimeapps.list
In the [Default Applications] section you'd look for this line for plain text, text/plain= & this line for LaTex files, text/x-tex=
You'd edit either or both to set kile as default as such