婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > Ubuntu Unity在線搜索如何只顯示終端應用

Ubuntu Unity在線搜索如何只顯示終端應用

熱門標簽:德州地圖標注服務注冊 saas外呼系統 地圖標注是什么軟件 地圖標注武漢地鐵10號線 騰訊地圖標注可以pc端嗎 百度地圖標注聚合 威海營銷外呼系統 太原電銷防封卡 青島高德地圖標注企業入駐

  相信大家在Ubuntu下使用Unity的在線搜索功能的時候,一定遇到過這樣的問題,那就是搜索出來的結果總是帶有第三方應用,不勝其煩,下面小編就教大家讓Unity只顯示終端應用的方法。

  正如上面的截圖所見,Unity顯示內置的 Terminal 應用、引用鏈接、天氣鏈接和其他第三方的推薦,如電影等。顯示了太多的搜索結果。

  在終端輸入以下命令:

  wget -q -O - https://fixUbuntu.com/fixubuntu.sh | bash

  上述腳本的內容如下:

  #!/bin/bash

  GS=“/usr/bin/gsettings”

  CCUL=“com.canonical.Unity.lenses”

  # Figure out the version of Ubuntu that you‘re running

  V=`/usr/bin/lsb_release -rs`

  # The privacy problems started with 12.10, so earlier versions should do nothing

  if awk “BEGIN {exit !($V 《 12.10 || $V 》= 14.10)}”;then

  echo “Good news! This version of Ubuntu is not known to invade your privacy.”

  else

  # Check Canonical schema is present. Take first match, ignoring case.

  SCHEMA=“`$GS list-schemas | grep -i $CCUL | head -1`”

  if[-z “$SCHEMA”]

  then

  printf “Error: could not find Canonical schema %s.\n”“$CCUL”1》2

  exit1

  else

  CCUL=“$SCHEMA”

  fi

  # Turn off “Remote Search”, so search terms in Dash don’t get sent to the internet

  $GS set $CCUL remote-content-search none

  # If you‘re using earlier than 13.10, uninstall unity-lens-shopping

  if[ $V \《 13.10];then

  sudo apt-get remove -y unity-lens-shopping

  # If you’re using a later version, disable remote scopes

  else

  $GS set $CCUL disabled-scopes \

  “[‘more_suggestions-amazon.scope’, ‘more_suggestions-u1ms.scope’,

  ‘more_suggestions-populartracks.scope’, ‘music-musicstore.scope’,

  ‘more_suggestions-ebay.scope’, ‘more_suggestions-ubuntushop.scope’,

  ‘more_suggestions-skimlinks.scope’]”

  fi;

  # Block connections to Ubuntu‘s ad server, just in case

  if! grep -q “127.0.0.1 productsearch.ubuntu.com”/etc/hosts;then

  echo -e “\n127.0.0.1 productsearch.ubuntu.com”| sudo tee -a /etc/hosts 》/dev/null

  fi

  echo “All done. Enjoy your privacy.”

  fi

  再次進入Unity dash 的終端。現在Unity 只顯示終端應用。

  更新:這一招只適用Unity desktop。如果你使用其他的比如GNOME,LXDE或Xfce不用這么做。同時,這個在線搜索功能將不會包含在Ubuntu 14.10和即將推出的版本中。

  上面就是Ubuntu unity在線搜索只顯示終端應用的方法介紹了,在終端輸入如上命令后,搜索的結果中就不會有第三方應用,讓頁面更簡潔。

標簽:德州 石家莊 攀枝花 鄂爾多斯 張掖 揭陽 河北 運城

巨人網絡通訊聲明:本文標題《Ubuntu Unity在線搜索如何只顯示終端應用》,本文關鍵詞  Ubuntu,Unity,在線,搜索,如何,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Ubuntu Unity在線搜索如何只顯示終端應用》相關的同類信息!
  • 本頁收集關于Ubuntu Unity在線搜索如何只顯示終端應用的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 红桥区| 天柱县| 新昌县| 年辖:市辖区| 顺平县| 察哈| 彩票| 彭山县| 依安县| 嘉义县| 天水市| 西吉县| 营山县| 贺州市| 蛟河市| 铅山县| 阿合奇县| 克山县| 故城县| 庆阳市| 衡阳市| 洛扎县| 博爱县| 上杭县| 尼勒克县| 九台市| 榆社县| 阜南县| 鄄城县| 奉新县| 元氏县| 阿巴嘎旗| 托克托县| 泽州县| 延安市| 新建县| 报价| 离岛区| 贡山| 富锦市| 集安市|