Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I don't see any option to run commands in Terminal in the run command dash (or is it lens?) of Unity. Is it available and deactivated, or is the feature missing altogether?

In any case, I think this issue needs to be addressed.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

This isn't supported in Unity as it was in the GNOME Panel Alt+F2 dialog box, but nevertheless you can work around it by typing this in the Unity Alt+F2 dash:

gnome-terminal -e COMMAND

Where command is the command you wish to run. Unfortunately due to a bug in Unity, you can't run a command with command-line arguments, using the Alt+F2 Unity dash. Hence, you can run:

gnome-terminal -e xeyes

But running:

gnome-terminal -e 'xeyes -display :0'

will fail.

share|improve this answer
    
Can you keep us updated on the bug you mentioned? Does the same bug apply on 11.10? –  Oxwivi Jan 3 '12 at 11:46
    
I'd like to have a fix of this to get the default behaviour as: Press Alt + F2, enter e.g. VIM, and then get vim run in a gnome-terminal. Any hint to accomplish this by default? –  Hartmut Jun 23 '13 at 12:06
    
Can we get a link to the bug in question? I'd like to vote for it to be fixed. Seems to still exist in 14.04 –  Jonathan Leaders Jun 4 at 1:32

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.