Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There used to be an option for adding unlisted commands, but it seems to be gone in Unity. Does anyone know how to do that now?

share|improve this question
Switching to XFCE fixed the problem... :P – Andrea Nov 2 '13 at 14:10
up vote 11 down vote accepted

one can use mimeopen -d file to use a custom application on the cli. Afterwards it will be the default application [even from the Nautilus].

$ mimeopen -d file.txt

Please choose a default application for files of type text/plain

      1) notepad  (wine-extension-txt)
      2) gedit  (gedit)
      3) GNU Emacs 23  (emacs23)
      4) Other...

use application # 4

use command: nano

Opening "useful.txt" with nano (text/plain)

There are other ways you can find here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.