Article 5699R How do I determine which app xdg-open will use for a file?

How do I determine which app xdg-open will use for a file?

by
enigma9o7
from LinuxQuestions.org on (#5699R)
Ok so got a question about xdg-open I can't figure out

When I xdg-open a text file it uses less.

If I check `xdg-mime query default text/plain` it tells me gedit.desktop, which I don't even have.latest?d=yIl2AUoC8zA latest?i=3udGpI_vIj0:JaqNREfDgoo:F7zBnMy latest?i=3udGpI_vIj0:JaqNREfDgoo:V_sGLiP latest?d=qj6IDK7rITs latest?i=3udGpI_vIj0:JaqNREfDgoo:gIN9vFw3udGpI_vIj0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments