Ubuntu – How to disable the command line history in the dash

historyunity

Using Unity, how to clear and disable the RUN (ALT+F2) history?

Not the dash history, not the search history — the ALT+F2 "run" history.

The Privacy Settings Applet of System Settings doesn't seem to cover this box. I found it in gconf-editor

/apps/gnome-settings/gnome-panel/history-gnome-run

However it's ridiculous going into the editor to delete it each time. The file is

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

It's dead now (the file, linked to /dev/null) … and the stupid history is STILL THERE even after I restart. I give up again … it must be hiding somewhere else, second copy.


root@qeynos:~$ find . | xargs grep -s NAT097
Binary file ./.config/dconf/user matches

Removed that too, nothing broke (so far). Odd that it's in a binary file. Will update after reboot.


OK the system has re-created

~/.config/dconf/user

on boot up and removed my redirection. I am beginning to think this history isn't easily possible to clear. BTW recreating this file also reset my unity launcher and wallpaper to default state.

Best Answer

If the history file is ~/desktop/unity/runner/history, you may consider link it to /dev/null.

that is, in a terminal

$ cd ~
$ rm ~/desktop/unity/runner/history
$ ln -s /dev/null ~/desktop/unity/runner/history

then logout and login again.