• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统
您的位置:首页 > 操作系统 >Ubuntu/Debian > Ubuntu Unity在线搜索如何只显示终端应用

Ubuntu Unity在线搜索如何只显示终端应用

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-05-12

佚名 通过本文向大家介绍了Ubuntu Unity在线搜索如何只显示终端应用等相关知识,希望对您有所帮助,也希望大家多多支持linkedu.com

  相信大家在Ubuntu下使用Unity的在线搜索功能的时候,一定遇到过这样的问题,那就是搜索出来的结果总是带有第三方应用,不胜其烦,下面小编就教大家让Unity只显示终端应用的方法。

 Ubuntu 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 只显示终端应用。

 Ubuntu Unity在线搜索只显示终端应用的技巧

  更新:这一招只适用Unity desktop。如果你使用其他的比如GNOME,LXDE或Xfce不用这么做。同时,这个在线搜索功能将不会包含在Ubuntu 14.10和即将推出的版本中。

  上面就是Ubuntu unity在线搜索只显示终端应用的方法介绍了,在终端输入如上命令后,搜索的结果中就不会有第三方应用,让页面更简洁。

</div>
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

相关文章

  • 2017-05-12Ubuntu关闭按钮移到右上角的设置方法
  • 2017-05-12Ubuntu14.04怎么更换命令终端Terminal配色?
  • 2017-05-12 U盘启动安装ubuntu kylin失败该怎么解决?
  • 2017-05-12ubuntu下设置共享目录
  • 2017-05-12ubuntu连接网络的图标不显示的解决方法
  • 2017-05-12Ubuntu安装Transmission 2.90的方法
  • 2017-05-12Ubuntu开机密码忘记了怎么办?
  • 2017-05-12修改Ubuntu系统的登陆信息的简单方法
  • 2017-05-12Ubuntu root帐户密码修改
  • 2017-05-12Ubuntu 16.04睡眠后唤醒网络连接不上怎么办?

文章分类

  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统

最近更新的内容

    • Ubuntu服务器怎么设置每天自动进行安全更新?
    • Ubuntu压缩/解压缩RAR文件的方法
    • 删除ubuntu旧内核的方法
    • ubuntu 14.04下练习lua之经验
    • 在Ubuntu系统的服务器上安装Webuzo控制面板的教程
    • 解决ubuntu系统下vimtutor乱码
    • ubuntu系统如何切换root用户身份 ubuntu切换root用户帐号方法
    • 英文版ubuntu安装ibus输入法(中文输入法)和开机自启动的方法
    • 关于ubuntu sudo及root登录等相关资料
    • Ubuntu中使用脚本创建桌面快捷方式例子

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有