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

I'd like to be able to access the command that is executed by launchers in Unity in a quick and easy way - something like a right-click entry.

There are answers that are a bit more involved here and here. I'd like to be able to access the command line faster and without having to remember how (beyond, say, right clicking).

share|improve this question

closed as not a real question by Bruno Pereira Apr 1 '12 at 9:37

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I might not have understood the question, but can't you use a keyboard shortcut to get there? i.e. Open gnome-keybinding-properties, find an unattributed key combination, click on Add, give your shortcut a name, type gnome-terminal as the command to invoke, and that's about it.

share|improve this answer
thats not really what I'm after. Among other things, I want to know the name (and possibly location) of the executable. One use for this could be to use it on the command line with some chosen options (eg: -h to find out what options it has ;) Another would be to find out what command line options/parameters the launcher is using – drevicko Nov 1 '11 at 11:40
Again, not sure this is the right answer, but the executable is just gnome-terminal, isn't it? and the path /usr/bin/gnome-terminal To find the location of an application: whereis gnome-terminal. I'm not using Unity myself, as I find the classic ubuntu look easier to configure and prettier all round, so I may still be missing the point! – Ranger Nov 1 '11 at 17:24
I think I understand now. You said you wanted to access the command line, but I think you just mean the command itself. You'll find all the desktop launcher files in /usr/share/applications where they all have a .desktop suffix. If you open them up with a text editor like gedit, you should see the command Unity uses on the line "Exec", with options, i.e. Exec=ego %U. You can modify this or add new launchers, following the model. A long way from a right-click, I'm afraid, but I think that if you like configuring your desktop, the classic look is best for you! Hope this helps. – Ranger Nov 1 '11 at 17:38
yep, that's one of the more involved answers given in the links I included in the question.. I'm after something easier to remember and quicker (: – drevicko Nov 2 '11 at 4:21

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