Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3540  / 2 Years ago, mon, march 14, 2022, 8:33:40

I have started working on a new project using gedit on ubuntu 12.04. The problem i am facing now is that, all previously searched terms are still there when i click on the drop down arrow in search box of find&replace menu and i have to select from a long list of search terms.



How can i clean those histories of find&replace?
enter image description here


More From » gedit

 Answers
4

The search items are stored in gsettings/dconf. The ~/config/dconf/user file can't be edited so use dconf-editor. Go to org.gnome.gedit.state.history-entry & remove as desired or reset to default ['']



or from cli



gsettings set org.gnome.gedit.state.history-entry search-for-entry "['']"


for previous replace items



gsettings set org.gnome.gedit.state.history-entry replace-with-entry "['']"

[#30833] Tuesday, March 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
attagjump

Total Points: 272
Total Questions: 127
Total Answers: 124

Location: Taiwan
Member since Fri, Sep 17, 2021
3 Years ago
;