Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

How can you run an application directly inside a Konsole (KDE) or Terminal (GNOME)?

I'm particularly interested in having a shortcut to Emacs:

emacs -nw

Being in KDE, that would open a Konsole and run Emacs (no-windows), and GNOME would run it inside a Terminal. I guess Konsole should have a parameter in which you can ask it to run, and open a certain program/script. Does anybody know how to do this?


share|improve this question
Man pages are the best way to get this information, run "man konsole" and "man gnome-terminal". – alfplayer Jan 12 '10 at 19:11
up vote 3 down vote accepted

man gnome-terminal tells me:

   -e, --command=STRING
             Execute the argument to this option inside the terminal.

   -x, --execute
             Execute the remainder of the command line inside  the  termi‐
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.