麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統(tǒng) > Ubuntu > 正文

Ubuntu Unity在線搜索如何只顯示終端應(yīng)用

2020-10-18 20:45:54
字體:
供稿:網(wǎng)友

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

 Ubuntu Unity在線搜索只顯示終端應(yīng)用的技巧

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

  在終端輸入以下命令:

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

  上述腳本的內(nèi)容如下:

  #!/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

  再次進(jìn)入Unity dash 的終端。現(xiàn)在Unity 只顯示終端應(yīng)用。

 Ubuntu Unity在線搜索只顯示終端應(yīng)用的技巧

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

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

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 国产在线地址 | 极品美女一级毛片 | 久久精品中文字幕一区 | 国产一区二区三区欧美 | 色污视频| 国产宾馆3p国语对白 | 亚洲精品午夜电影 | 爱逼爱操综合网 | 国产免费一区视频 | 法国极品成人h版 | 国内精品久久久久久2021浪潮 | 黄污网址| 久久久线视频 | 黄色特级视频 | 亚洲码无人客一区二区三区 | 男女一边摸一边做羞羞视频免费 | 国产精品99久久久久久宅女 | 国产精品一二区 | 香蕉久久久| 国产成人精品区 | 国产又粗又爽又深的免费视频 | 免费黄色在线电影 | 久久久久在线观看 | 成人h视频在线 | 天天透天天狠天天爱综合97 | 狠狠干精品视频 | 免费毛片免费看 | 色婷婷av一区二区三区久久 | 久久综合久久综合久久综合 | 欧美18—19sex性hd | 日韩字幕在线 | 免看黄大片aa | 91福利在线观看 | 综合网天天射 | 中文字幕综合 | 成人免费观看av | 欧美成人高清视频 | 久久久av亚洲男天堂 | 视频一区二区国产 | 又黄又爽又色无遮挡免费 | 一区二区三高清 |