Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2973  / 3 Years ago, sun, july 4, 2021, 5:16:03

Whenever I search for a program in Gnome Shell's search panel, some contacts from Pidgin will appear. E.g. when I search for Chromium, by typing chr, Chris Andersen will appear. I don't want this to happen. Is it possible to disable this function?


More From » gnome

 Answers
3

I was curious about this myself, greping around in /usr/share/gnome-shell/js/ui I found reference to contactDisplay in overview.js. You should be able to comment out the two lines:



const ContactDisplay = imports.ui.contactDisplay;
this.addSearchProvider(new ContactDisplay.ContactSearchProvider());


and that will take care of it. Just tested it, and nothing broke immediately (your results may vary). I wont make any assumptions of your skill set so to comment these lines



Alt+F2 gksu gedit /usr/share/gnome-shell/js/ui/overview.js
find the two lines listed and place // (comment markers) in front of them, save, and Contacts are gone from search results.



The search panel you refer to is called the overview. That may help with future questions.


[#41412] Tuesday, July 6, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
breadoules

Total Points: 212
Total Questions: 118
Total Answers: 120

Location: Dominica
Member since Mon, Jun 22, 2020
4 Years ago
;