4

How to remove the history from the Run a command window that opens up on Alt + F2 on CentOS 6 and above?

don_crissti
  • 82,805

2 Answers2

3

Open a terminal and run:

dconf reset /org/gnome/shell/command-history

or

gsettings reset org.gnome.shell command-history

For gnome2:

gconftool-2 -s -t string /apps/gnome-settings/gnome-panel/history-gnome-run []
don_crissti
  • 82,805
0

I'm still using RHEL 6, so I modify the below file

~/.gconf/apps/gnome-settings/gnome-panel/%gconf.xml

How do I found it? for all XML files under home, grep the string you normally use under alt-f2

mrwn
  • 1