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

How do I remove the history for Alt+F2?

I accidentally typed my password in there and now I cannot get rid of it.

I have tried the old way for Gnome2 which was under gnome-settings. I have also tried unity-runner and set that to default. Neither of them work.

I am running Ubuntu 12.10 and Gnome 3. I have tried every method that I was able to find on the internet thus far and nothing has worked. My Alt+F2 history remains. Even tried a complete removal of Gnome and re-install no luck.

If anybody could help me it would be greatly appreciated.

share|improve this question

To remove everything from the history just run

gsettings reset command-history

If you only want to remove some parts of the history, than it is easiest to just start dconf-editor and remove the unwanted command from the history under org->gnome->shell-> command-history.

enter image description here

share|improve this answer

I don't use gnome ATM, but minor research came up with this for gnome3:

 Install dconf-tools.

 Run dconf Editor and navigate to /desktop/unity/runner/history


share|improve this answer
Since this appears to be a valid answer I'll let the proper contents remain. Further hate messages won't be tolerated. – Luís de Sousa Jan 9 '14 at 14:46

Your Answer


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.