Subscribe to How-To Geek

Using the Kubuntu Run Command Dialog (Alt+F2)

Kubuntu linux is a variant of Ubuntu that uses the KDE desktop environment instead of Gnome. The KDE desktop can be installed on Ubuntu easily, however.

The quickest way to run a command on Ubuntu or Kubuntu is to use the Alt+F2 shortcut key. This pops up a dialog that looks like this:

You can type any command that you would regularly use from a terminal window and it will run. Using the Options button gives you a number of other interesting options. Let’s try a simple ls -l command:

We’ve checked the “Run in terminal window” checkbox so that the output of the command will show up in a terminal window. On Ubuntu this doesn’t seem to work right, but in Kubuntu or KDE this is really useful. Either hit enter or click the Run button, and you’ll see something like this:

This is extremely useful for quickly getting the results of commands like ifconfig where you just need the output of the command.

Another neat feature is that the Run Command remembers the settings for each command. In the last command we typed ‘ls -l’ and checked the “run in terminal window” box. When we type in something else, the settings are defaulted:

But if we start typing ‘ls -l’ again, it automatically checks the checkbox that we set before:

 

The other options include running a command as a different user and setting the priority of the command. For the most part, you’ll just type sudo or gksu before the command if it needs to run as root, but if you were trying to run a command as a different user entirely, it would be useful.

The Geek is the founder of How-To Geek and a geek enthusiast. This article was written on 11/24/06 and tagged with: KDE, Kubuntu, Ubuntu, Ubuntu Tips & Tweaks

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:
Similar Articles Featured Wiki Articles
Latest Software Reviews Quick Linux Tips
Geek Arcade Popular Forum Threads

Comments (1)

  1. baiguai

    Is there a way to tweak the items that appear in this dialog? I have tweaked the names of a couple shortcuts in the /user/bin directory – and they launch with the new names from within the run dialog – but I would also like to add website shortcuts there etc.

    This is what I do on my work machines (Windows – using the shortcuts in c:\windows) – but I haven’t been able to do anything but tweak what is already in the /usr/bin directory. Basically I would like to do the equivalent of creating aliases in the ~/.bashrc – only I want them to run with the Run Application dialog.

    Thanks!!!


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Sponsored Links
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.