![ubuntu安装unity](https://i-blog.csdnimg.cn/blog_migrate/e7177eef05aed06efc9d40030c8eab2f.png)
ubuntu安装unity
![image image](https://i-blog.csdnimg.cn/blog_migrate/534c9e716790af84872523e17a997960.png)
The dash on Ubuntu’s Unity desktop allows you to search for applications, files, music, and videos – but you’re not just limited to these. Install custom lenses and scopes to extend the dash with more features.
Ubuntu的Unity桌面上的破折号使您可以搜索应用程序,文件,音乐和视频-但您不仅限于这些。 安装自定义镜头和瞄准镜,以扩展仪表板的更多功能。
Most additional lenses and scopes are currently found outside the official repositories. Unfortunately, many useful lenses, including the dictionary lens, books lens, and Tomboy notes lens, aren’t yet available in PPAs for Ubuntu 12.04.
目前,大多数其他镜头和范围都在官方存储库之外。 不幸的是,Ubuntu 12.04的PPA尚未提供许多有用的镜头,包括字典镜头,书本镜头和Tomboy笔记镜头。
使用镜头和瞄准镜 (Using Lenses & Scopes)
If you use Ubuntu’s default Unity desktop, you’re probably familiar with clicking the Dash icon and searching for applications. You can also click the icons at the bottom of the dash to search for files and folders, music, and video — each of these different search panes is known as a “lens.”
如果您使用Ubuntu的默认Unity桌面,则可能熟悉单击Dash图标并搜索应用程序。 您还可以单击破折号底部的图标来搜索文件和文件夹,音乐和视频-这些不同的搜索窗格中的每一个都称为“镜头”。
![image image](https://i-blog.csdnimg.cn/blog_migrate/112ffecbeb4a8f180c909f27cebeccb3.png)
Click the Filter results link within a lensto narrow your search. The options here depend on the lens — for example, the video lens introduced in Ubuntu 12.04 allows you to specify the video websites you want to search. This should give you an idea of the power of lenses — they can search both the web and your computer.
单击镜头内的过滤结果链接以缩小搜索范围。 这里的选项取决于镜头,例如,Ubuntu 12.04中引入的视频镜头可让您指定要搜索的视频网站。 这应该使您了解镜头的功能-镜头可以搜索网络和计算机。
![image image](https://i-blog.csdnimg.cn/blog_migrate/0bb93836207eba3b0183ce8a3b3f181b.png)
Scopes are search backends for the lenses. For example, the music lens has Rhythmbox and Banshee scopes, which allow it to search these two music applications. You could add a Spotify scope to search Spotify from the music lens.
范围是镜片的搜索后端。 例如,音乐镜头具有Rhythmbox和Banshee示波器,这使它可以搜索这两个音乐应用程序。 您可以添加Spotify范围以从音乐镜头搜索Spotify。
激活镜片 (Activating Lenses)
Unity doesn’t automatically detect new lenses and scopes after you install them. They won’t appear until you restart Unity by logging out and logging back in.
安装新镜头和示波器后,Unity不会自动检测它们。 在您通过注销并重新登录重新启动Unity之前,它们不会出现。
询问Ubuntu (Ask Ubuntu)
The Ask Ubuntu lens searches the Ask Ubuntu website. If you have a problem with Ubuntu – or a question you want answered – you can use the lens to find information directly from the Unity dash.
Ask Ubuntu镜头搜索Ask Ubuntu网站 。 如果您在Ubuntu上遇到问题–或想回答的问题–您可以使用镜头直接从Unity破折号中查找信息。
![image image](https://i-blog.csdnimg.cn/blog_migrate/382239f540d87622d20fa5c2fc3beb58.png)
Run the following commands in a terminal to add the appropriate PPA and install the lens:
在终端中运行以下命令以添加适当的PPA并安装镜头:
sudo add-apt-repository ppa:markjtully/ppa sudo apt-get update sudo apt-get install unity-lens-askubuntu
sudo add-apt-repository ppa:markjtully / ppa sudo apt-get更新sudo apt-get安装unity-lens-askubuntu
Reddit (Reddit)
The Reddit lens lets you browse Reddit directly from the Dash. It also adds content to the home lens, so you’ll see new content from Reddit whenever you pull up the dash.
Reddit镜头可让您直接从Dash浏览Reddit。 它还会为家用镜头添加内容,因此只要拉起破折号,您就会在Reddit中看到新内容。
![image image](https://i-blog.csdnimg.cn/blog_migrate/e58f8e9a102458c47e41e264e7dd8d96.png)
Add the personal package archive (PPA) and install the lens with these commands. Skip straight to the sudo apt-get install command if you added this PPA earlier:
添加个人软件包存档(PPA)并使用以下命令安装镜头。 如果您之前添加了此PPA,则直接跳到sudo apt-get install命令:
sudo add-apt-repository ppa:markjtully/ppa sudo apt-get update sudo apt-get install unity-reddit-lens
sudo add-apt-repository ppa:markjtully / ppa sudo apt-get更新sudo apt-get install unity-reddit-lens
计算器 (Calculator)
The Calculator scope notices when you type arithmetic into the search box in the dash and displays the result – you don’t have to do anything special. The calculator uses the same backend as the GCalctool calculator included with Ubuntu.
当您在破折号的搜索框中键入算术并显示结果时,“计算器”范围会引起注意–您无需执行任何特殊操作。 该计算器使用与Ubuntu随附的GCalctool计算器相同的后端。
![image image](https://i-blog.csdnimg.cn/blog_migrate/e9aaf8f3a78bd3f8abc2c6327bd54992.png)
:Execute the following commands to add the appropriate PPA and install the lens:
:执行以下命令以添加适当的PPA并安装镜头:
sudo add-apt-repository ppa:scopes-packagers/ppa sudo apt-get update sudo apt-get install unity-lens-utilities unity-scope-calculator
sudo add-apt-repository ppa:scopes-packagers / ppa sudo apt-get更新sudo apt-get安装unity-lens-utilities unity-scope-calculator
城市资讯 (City Information)
The city scope detects when you enter the name of a city and displays information about that city, including its weather and time. This plugin, along with the calculator plugin, shows the potential for Unity and the dash to do more than just basic searches.
城市范围会在您输入城市名称时进行检测,并显示有关该城市的信息,包括其天气和时间。 该插件与计算器插件一起显示了Unity和破折号的潜力,而不仅仅是基本搜索。
![image image](https://i-blog.csdnimg.cn/blog_migrate/5655c89ff52f297103052c35ecfcfdbd.png)
Use these commands to install the lens and scope. If you’ve already added this PPA, you can skip straight to the sudo apt-get install command:
使用以下命令安装镜头和瞄准镜。 如果已经添加了此PPA,则可以直接跳到sudo apt-get install命令:
sudo add-apt-repository ppa:scopes-packagers/ppa sudo apt-get update sudo apt-get install unity-lens-utilities unity-scope-cities
sudo add-apt-repository ppa:scopes-packagers / ppa sudo apt-get更新sudo apt-get安装unity-lens-utilities unity-scope-cities
格威伯 (Gwibber)
Search for unity-lens in the Ubuntu Software Center and the only lens you’ll find in the default repositories is the Gwibber lens.
在Ubuntu软件中心中搜索unity-lens ,在默认存储库中唯一找到的镜头是Gwibber镜头。
![image image](https://i-blog.csdnimg.cn/blog_migrate/4087f5945ff1e81323910a29b0ee09eb.png)
Gwibber is the default social media application included with Ubuntu — it supports Twitter, Facebook, and other services. To set it up, click the mail icon on the panel at the top right corner of the screen and select Set Up Broadcast Accounts. This lens searches your Gwibber stream for status updates, images, and other information — use the filters to search for specific types of information.
Gwibber是Ubuntu附带的默认社交媒体应用程序-它支持Twitter,Facebook和其他服务。 要进行设置,请单击屏幕右上角面板上的邮件图标,然后选择设置广播帐户。 该镜头可在Gwibber流中搜索状态更新,图像和其他信息-使用过滤器搜索特定类型的信息。
![image image](https://i-blog.csdnimg.cn/blog_migrate/807c70e379d9ccc282bb5a57a8435582.png)
Do you use another useful lens or scope? Leave a comment and let us know about it.
您是否使用其他有用的镜头或瞄准镜? 发表评论,让我们知道。
ubuntu安装unity