[ubuntu-us-mn] File based app execution

Fred H Olson fholson at cohousing.org
Mon Sep 7 16:10:29 BST 2009

In a file browser like Nautilus one can click on a file name and the
application appropriate to that file is used to open that file.
Can this be done from the command line ?

If there is, I could write an editor macro to call it...
I have long had an editor macro that allows me to open a text file
whose path and name is on the line the edit cursor is on.  This makes it
very easy to organize and access files.  Typically with some description
on the same line.

I'd like to extend this to other kinds of files - .jpg, .pdf, .htm etc
I've experimented to find a way to do this for one file extension /
application but it would be nice to build on the existing extension /
application association info etc rather than rebuilding such


Jun 22: Robert Reich's Rx for  real health care reform

Fred H. Olson  Minneapolis,MN 55411  USA        (near north Mpls)
Communications for Justice -- Free, superior listserv's w/o ads:
http://justcomm.org      My Link Pg: http://fholson.cohousing.org
612-588-9532 (7am-10pm CST/CDT)   Email: fholson at cohousing.org

More information about the ubuntu-us-mn mailing list