What's the command that, given a document name, will open it with the right application (i.e. an equivalent to windows start / mac os x open)
Asked
Active
Viewed 186 times
2
-
By "document" I meant any non-executable file, including PNG, MP3, or whatever – Matt Gregory Jun 21 '14 at 15:35
2 Answers
9
Try xdg-open file this should open the file with the correct program, that is defined via mimetypes
Florian Diesch
- 86,013
- 17
- 224
- 214
wa4557
- 890
- 1
- 12
- 32
0
I think you mean Document Viewer. The command name is evince. Optionally with filename as argument. More at manpage.