Remove Alt-F2 History – How to Remove Alt-F2 History in Unity

unity

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.

Best Answer

To remove everything from the history just run

gsettings reset org.gnome.shell 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

Related Question