Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 22700 ideas, 138270 comments, 2629576 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Contributor Akiva

Run Command (Alt or Alt+f2) replaced with Unity Terminal  
Written by Akiva the 1 Mar 13 at 01:28. Related project: Unity. New

The basic problem with Run Command (Alt+F2) is that it can not take "sudo" commands; sudo requires a followup query to input a password. About 95% of the commands I use in terminal require a password, such as adding ppa's or installing software from a script. Thus, the alt shortcut is 95% of the time useless.

In my search for a solution, no lens appears to exist. I found two mockups of what this would look like. The one at this link is the nicer of the two:
http://askubuntu.com/questions/259234/where-do-i-find-a-terminal-lens-for-unity
In an answer to his query, "Teester" said this: "There is currently nothing that does exactly what it pictured above since, at the moment, a lens cannot define a content area like the one pictured in order to display (and update) the output of a command. "


The other mockup was given as a solution to another brainstorm idea (http://brainstorm.ubuntu.com/idea/28565/). That idea was resolved, however did not address the issue I am bringing forth. Anyways, here is his mockup:
http://people.ubuntu.com/~komputes/term_within_dash.png
--------------------------------
edit:
Disregard the "Alt or " in the title. I learned something new today, mainly, that the Alt button is program specific.
-11
votes
up equal down
Solution #1: Terminal within the dash
Written by Akiva the 1 Mar 13 at 01:28.
-6
votes
up equal down
Solution #2: Terminal Snapshots
Written by Akiva the 1 Mar 13 at 01:37.
Quote from http://askubuntu.com/questions/259234/where-do-i-find-a-terminal-lens-for-unity :
"""Which gives me the idea that sort of lens could fully replace the Alt+F2 functuonality. One could have one line of command history/search results (same style as currently displayed when pressing the key combination) and full blown terminal output a little bit below (as in my picture). – con-f-use Feb 21 at 17:01"""

From what I understand, he proposes a work around that would basically provide a snapshot of the output to display in the lens.
4
votes
up equal down
Solution #3: Edit "sudo" command to prompt the "Authenticate" window for password input.
Written by Akiva the 6 Mar 13 at 15:07.
A partial solution as per the comment below:
"Personally, I'd like to see "sudo" modified to detect when it's being run in a context where there's no terminal to input the password, and to call up a GUI version in that context. But I'm not sure how plausible that is. "
-Aielyn

While not displaying the code, this would solve the issue with some sudo scripts, such as adding a ppa. Just to clarify, the "Authenticate" window is the password prompt which pops up when you run synaptic package manager.
11
votes
up equal down
Solution #4: Use gksu
Written by addiks the 14 Mar 13 at 13:53.
If you want sudo rights within the Alt+F2 Unity Terminal, you can use the program gksu, which will create a popup window asking for the password.

Used like: "gksu apt-get update"

See the 6 comments or propose a solution (latest comment the 17 Mar 13 at 00:37) >>