À´Ô´£ºLinuxÖйú
ÎÞÂÛºÎʱ£¬Ä㿪ʼÔÚ Unity Dash ËÑË÷¼ÆËã»úÖеÄÓ¦ÓóÌÐò»òÎļþʱ£¬ÄãµÄ¼ìË÷´Ê½«±»×Ô¶¯·¢Ë͸øµÚÈý·½£¬ÈçÑÇÂíÑ·£¬²¢ÇÒµÚÈý·½½«ÒÀ¾ÝÄúµÄËÑË÷´ÊÏÔʾÏà¹Ø½á¹û£¨Ö÷ÒªÊÇ¹ã¸æ£©¡£Èç¹ûÄ㲻ϲ»¶Õâ¸ö¹¦ÄÜ£¬¸Ð¾õÕæµÄ´òÈŵ½Ä㣬Äã¿ÉÒÔ½ûÓÃËü¡£
ÀýÈ磬µ±ÎÒÔÚ Unity Dash ÖÐÊäÈë ¡°Terminal¡± ʱ£¬½«ÏÔʾ ¡°Terminal¡± Ó¦ÓÃºÍ web ÉÏÆäËûµÚÈý·½µÄ¶«¶«£¨ÎÒÒª·¢¿ñÁË£¡ÎÒ²»ÏëÒªÕâЩ£¡£©¡£
ÕýÈçÉÏÃæµÄ½ØÍ¼Ëù¼û£¬UnityÏÔʾÄÚÖÃµÄ Terminal Ó¦Óá¢ÒýÓÃÁ´½Ó¡¢ÌìÆøÁ´½ÓºÍÆäËûµÚÈý·½µÄÍÆ¼ö£¬ÈçµçÓ°µÈ¡£ÕâÊǷdz£ÄÕÈ˵IJ¢ÇÒÔÚ Unity Dash ÉÏ¿´ÆðÀ´ºÜÔ㡣ͬʱ£¬ËüÏÔʾÁËÌ«¶àµÄËÑË÷½á¹û£¬²¢Ê¹ÎÒÃÔ»ó¡£
Èç¹ûÄãÏñÎÒÒ»Ñù²»ÐèÒªÕâ¸ö¹¦ÄÜ£¬ÔÚÄãµÄÖÕ¶ËÊäÈëÒÔÏÂÃüÁ
1.wget -q -O - https://fixUbuntu.com/fixubuntu.sh | bash
ÉÏÊö½Å±¾µÄÄÚÈÝÈçÏ£º
1.#!/bin/bash
2.GS="/usr/bin/gsettings"
3.CCUL="com.canonical.Unity.lenses"
4.# Figure out the version of Ubuntu that you're running
5.V=`/usr/bin/lsb_release -rs`
6.# The privacy problems started with 12.10, so earlier versions should do nothing
7.if awk "BEGIN {exit !($V < 12.10 || $V >= 14.10)}";then
8. echo "Good news! This version of Ubuntu is not known to invade your privacy."
9.else
10.# Check Canonical schema is present. Take first match, ignoring case.
11. SCHEMA="`$GS list-schemas | grep -i $CCUL | head -1`"
12.if[-z "$SCHEMA"]
13.then
14. printf "Error: could not find Canonical schema %s.\n""$CCUL"1>&2
15.exit1
16.else
17. CCUL="$SCHEMA"
18.fi
19.# Turn off "Remote Search", so search terms in Dash don't get sent to the internet
20. $GS set $CCUL remote-content-search none
21.# If you're using earlier than 13.10, uninstall unity-lens-shopping
22.if[ $V \< 13.10];then
23. sudo apt-get remove -y unity-lens-shopping
24.# If you're using a later version, disable remote scopes
25.else
26. $GS set $CCUL disabled-scopes \
27."['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope',
28. 'more_suggestions-populartracks.scope', 'music-musicstore.scope',
29. 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope',
30. 'more_suggestions-skimlinks.scope']"
31.fi;
32.# Block connections to Ubuntu's ad server, just in case
33.if! grep -q "127.0.0.1 productsearch.ubuntu.com"/etc/hosts;then
34. echo -e "\n127.0.0.1 productsearch.ubuntu.com"| sudo tee -a /etc/hosts >/dev/null
35.fi
36. echo "All done. Enjoy your privacy."
37.fi
ÔٴΣ¬ÎÒ½øÈëµ½ Unity dash µÄÖÕ¶Ë¡£ÏÖÔÚ Unity Ö»ÏÔʾÖÕ¶ËÓ¦Ó㬶ø²»ÊÇÎÞÓõÄÀ¬»ø£¬ÏÖÔÚ Unity Dash ¿´ÆðÀ´»¹²»´í¡£
È«²¿¸ã¶¨£¬ÈÃÄÇЩÔÓÂҵĶ«Î÷ÔÙÒ²²»Òª»ØÀ´ÁË¡£
»¶ºô~!
¸üÐÂ:ÕâÒ»ÕÐÖ»ÊÊÓÃUnity desktop¡£Èç¹ûÄãʹÓÃÆäËûµÄ±ÈÈçGNOME£¬LXDE»òXfce£¬Äã²»ÓÃÕâô×ö¡£Í¬Ê±£¬Õâ¸öÔÚÏßËÑË÷¹¦Äܽ«²»»á°üº¬ÔÚUbuntu 14.10ºÍ¼´½«ÍƳöµÄ°æ±¾ÖС£