Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

Thanks!

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

1 Answer 1

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‐
             nal.
share|improve this answer

Your Answer

 
discard

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.