How to remove the history from the Run a command
window that opens up on Alt + F2 on CentOS 6 and above?
Asked
Active
Viewed 1,689 times
4

don_crissti
- 82,805

James Jithin
- 205
-
Doesn't look like gnome3 on CentOS 6 – James Jithin Nov 06 '15 at 09:36
-
@don_crissti, thanks for the pointer. Found the was to reset the list on gnome-2 – James Jithin Nov 06 '15 at 11:39
2 Answers
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 []

James Jithin
- 205

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