Unity (user Interface) - Unity 2d Tutorial
Unity is a graphical shell for the GNOME desktop environment developed by Canonical Ltd. for its Ubuntu operating system. Unity debuted in the netbook edition of Ubuntu 10.10. It was initially designed to make more efficient use of space given the limited screen size of netbooks, including, for example, a vertical application switcher called the launcher, and a space-saving horizontal multipurpose top menu bar.
Unlike GNOME, KDE Software Compilation, Xfce, or LXDE, Unity is not a collection of applications but is designed to use existing programs.
Unity is part of the Ayatana project, an initiative with the stated intention of improving the user experience within Ubuntu. In addition to Unity, there are Application Indicators and other projects such as MeMenu, the notification system and the application NotifyOSD gathered.
User interface
The Unity user interface consists of several components:
- Top menu bar â" a multipurpose top bar, saving space, and containing: (1) the menubar of the currently active application, (2) the capture bar of the main window of the currently active application including the maximize, minimize and exit buttons, (3) the session menu including the global system settings, logout, shut down and similar basic controls, and (4) the diverse global notification indicators including the time, weather, and the state of the underlying system.
- Launcher â" a dock that also serves as a window switcher. Multiple instances of an application are grouped under the same dock icon, with a number of indicators to the side of the icon showing how many instances are open. The user has a choice whether or not to lock an application to the launcher. If it is not locked, an application may be started using the Dash or via a separately installed menu.
- Quicklist â" the accessible menu of launcher items.
- Dash â" an overlay that allows the user to search quickly for information both locally (installed applications, recent files, bookmarks, etc.) and remotely (Twitter, Google Docs, etc.) and displays previews of results. The Dash search feature was the subject of the privacy controversy.
- Head-up display (HUD) â" introduced with Ubuntu 12.04. It allows hotkey searching for top menu bar items from the keyboard, without the need for using the mouse, by pressing and releasing the Alt key.
- Indicators â" a notification area (similar to an OS X menu extra), containing displays for the clock, network and battery status, sound volume etc.
Features
- Dash The Unity Dash is a desktop search utility in Unity.
- Unity Preview is a function that previews an item in the search results.
- Lens is a channel to throw the search query to Scope and show the search result.
- Scope is a search engine of Dash. The search query is thrown by Lens.
The following lenses and scopes are installed by default:
- Home lens
- Application lens is a lens to find applications to launch or install. The source of installable applications is the Ubuntu Software Center.
- File lens is a lens to show files from local (via Zeitgeist) and remote (using Unity's online account function) sources.
- Google Docs scope is a lens which searches files from Google Drive.
- Music lens is a lens to search the user's music library.
- Music Stores scope is a scope to search online music stores, such as the Ubuntu One Music Store.
- Video lens is a lens to search videos from the user's video library and online video services such as YouTube.
- Social lens is a lens to find the user's SNS activities such as Twitter, Facebook and Google+ (via the Unity online account function).
- Shopping lens is a lens for online shopping. It shows Amazon.com search results in the Dash home lens. However, this lens takes search queries from all lenses. See Privacy controversy. The shopping lens is filtered to prevent the loading of pornographic images.
Variants
Unity for Ubuntu TV
Ubuntu TV, running a Unity variant, was introduced at the 2012 Consumer Electronics Show. Created for SmartTVs, Ubuntu TV provides access to popular Internet services and stream content to mobile devices running Android, iOS and Ubuntu.
Unity for Ubuntu Touch
On 2 January 2013, Canonical announced a smartphone variant of Unity running on the Mir display server.
Unity 2D
Initially Canonical maintained two discrete versions of Unity, which were visually almost indistinguishable but technically different.
Unity is written as a plugin for Compiz and uses an uncommon OpenGL toolkit called Nux. Being a plugin for Compiz gives Unity GPU-accelerated performance on compatible systems. It is written in the programming languages C++ and Vala.
Unity 2D was a set of individual applications developed for environments that Compiz does not run on, such as when graphics card does not support OpenGL. They were written in the GUI building language QML from the widespread Qt framework. By default Unity 2D used the Metacity window manager but could also use accelerated window managers like Compiz or KWin. In Ubuntu 11.10, Unity 2D used Metacity's XRender-based compositor to achieve transparency effects. Starting with Ubuntu 11.10, Unity 2D replaced the classic GNOME Panel as the fall-back for users whose hardware could not run the Compiz version of Unity.
Unity 2D was discontinued for the release of Ubuntu 12.10 in October 2012, as the 3D version became more capable of running on lower-powered hardware.
Availability
As Unity and the supporting Ayatana projects are developed primarily for Ubuntu, Ubuntu is the first to offer new versions.
Outside of Ubuntu, other Linux distributors have tried to pick up Ayatana, with varying success. The Ayatana components require modification of other applications, which increases the complexity for adoption by others.
- Arch Linux offers many Ayatana components, including Unity and Unity 2D, via an unofficial repository or through AUR.
- Fedora does not offer Unity in its default repositories because Unity requires unsupported patches to GTK. However Unity 6 has been ported to Fedora 17 and can be installed through a branch in the openSUSE repositories where the patches are applied. Newer Fedora and Unity versions are not supported.
- Frugalware had adopted Ayatana, including Unity and Unity 2D, as part of the development branch for an upcoming Frugalware release but the project is no longer maintained.
- openSUSE offers many Ayatana components for GNOME. After the packager abandoned the project because of problems with the then-current version of Compiz, new developers picked up the task and provide packages for openSUSE 12.2 (along with versions for Arch Linux and Fedora 17). Newer openSUSE and Unity versions are not supported.
- Manjaro has a Unity version of its distribution.
Development
Ubuntu originally used the full GNOME desktop environment; Ubuntu founder Mark Shuttleworth cited philosophical differences with the GNOME team over the user experience to explain why Ubuntu would use Unity as the default user interface instead of GNOME Shell, beginning April 2011, with Ubuntu 11.04 (Natty Narwhal).
In November 2010, Ubuntu Community Manager Jono Bacon explained that Ubuntu will continue to ship the GNOME stack, GNOME applications, and optimize Ubuntu for GNOME. The only difference, he wrote, would be that Unity is a different shell for GNOME.
Canonical announced it had engineered Unity for desktop computers as well and would make Unity the default shell for Ubuntu in version 11.04.
GNOME Shell was not included in Ubuntu 11.04 Natty Narwhal because work on it was not completed at the time 11.04 was frozen, but is available from a PPA, and is available in Ubuntu 11.10 and later releases, through the official repositories.
In November 2010, Mark Shuttleworth announced the intention to eventually run Unity on Wayland instead of the currently used X Window System, although this plan has since been dropped, replacing Wayland with Mir for Unity 8.
In December 2010, some users requested that the Unity launcher (or dock) be movable from the left to other sides of the screen, but Mark Shuttleworth stated in reply, "I'm afraid that won't work with our broader design goals, so we won't implement that. We want the launcher always close to the Ubuntu button." However, with Ubuntu 11.10, the Ubuntu button has been moved into the launcher, rendering this argument invalid. A third-party plugin that moves Unity 3D's launcher to the bottom is available. An option to move the launcher to the bottom of the screen was officially implemented in Ubuntu 16.04.
As of 2010, the Unity shell interface developers use a toolkit called Nux instead of Clutter. Unity is a plugin of the Compiz window manager, which Canonical states is faster than Mutter, the window manager for which GNOME Shell is a plugin.
On 14 January 2011, Canonical also released a technical preview of a "2D" version of Unity based on Qt and written in QML. Unity-2D was not shipped on the Ubuntu 11.04 CD, instead the classic GNOME desktop was the fall-back for hardware that could not run Unity.
In March 2011, public indications emerged of friction between Canonical (and its development of Unity) and the GNOME developers. As part of Unity development Ubuntu developers had submitted API coding for inclusion in Gnome as an external dependency. According to Dave Neary, "... an external dependency is a non-GNOME module which is a dependency of a package contained in one of the GNOME module sets," and the reasons why libappindicator was not accepted as an external dependency are that "... it does not fit that definition," it has "... duplicate functionality with libnotify," (the current Gnome Shell default) and its CLA does not meet current GNOME policy. Mark Shuttleworth responded,
In April 2011, Mark Shuttleworth announced that Ubuntu 11.10 Oneiric Ocelot would not include the classic GNOME desktop as a fall-back to Unity, unlike Ubuntu 11.04 Natty Narwhal. Instead Ubuntu 11.10 used the Qt-based Unity 2D for users whose hardware cannot support the 3D version. However, the classic GNOME desktop (GNOME Panel) can be installed separately in Ubuntu 11.10 and later versions through gnome-panel
, a package in the Ubuntu repositories.
At the November 2011 Ubuntu Developer Summit, it was announced that Unity for Ubuntu 12.04 would not re-enable the systray, and would have better application integration, and the ability to drag lenses onto the launcher, and that the 2D version of Unity would use the same decoration buttons as the 3D version.
During the planning conference for Ubuntu 12.10 it was announced that Unity 2D would probably be dropped in favour of making Unity 3D run better on lower-end hardware.
In July 2012, at OSCON, Shuttleworth explained some of the historical reasoning behind Unity's development. The initial decision to develop a new interface in 2008 was driven by a desire to innovate and to pass Microsoft and Apple in user experience. This meant a family of unified interfaces that could be used across many device form factors, including desktop, laptop, tablet, smart phones and TV. Shuttleworth said "âThe old desktop would force your tablet or your phone into all kinds of crazy of funny postures. So we said: Screw it. Weâre going to move the desktop to where it needs to be for the future. [This] turned out to be a deeply unpopular process."
Initial testing of Unity during development was done in a laboratory setting and showed the success of the interface, despite public opposition. Real world shipping return rates also indicated acceptance. Shuttleworth explained, "ASUS ran an experiment where they shipped half a million [Unity netbooks and laptops] to Germany. Not an easy market. And the return rates on Ubuntu were exactly the same as the return rates on Windows. Which is the key indicator for OEMs who are looking to do this."
Microsoft's development of Windows 8 and its Metro interface became an additional incentive for Unity development, as Shuttleworth explained, "we [had to move] our desktop because if we didnât weâd end up where Windows 8 is. [In Windows 8] you have this shiny tablet interface, and you sit and you use then you press the wrong button then it slaps you in the face and Windows 7 is back. And then you think OK, this is familiar, so youâre kind of getting into it and whack [Windows 8 is back]."
In March 2013 the plan to use the Mir display server was announced for future development of Unity, in place of the previously announced Wayland/Weston.
In April 2015 it was announced that Unity 8 would ship as part of Ubuntu 16.04 LTS, or possibly later. It was also noted that this version of Unity would not visually differ much from Unity 7.
In April 2016 Ubuntu 16.04 was released with Unity 7, not Unity 8, as the default user interface, though Unity 8 could be installed through the Ubuntu software repositories as an optional, preview package. During an Ubuntu Online Summit, Canonical employees said that their goal is to ship Unity 8 as the default interface for Ubuntu 16.10, to be released in October 2016. These plans are now changed and for now Unity 8 will come preinstalled with 16.10 but not as default.
Reception
Early versions of Unity received mixed reviews and generated controversy. Some reviewers found fault with the implementation and limitations, while other reviewers found Unity an improvement over GNOME 2 with the further potential to improve over time.
With Ubuntu 12.04, Unity received good reviews. Jack Wallen described it as an "incredible advancement". Jesse Smith described it as "attractive" and said it had grown to maturity. Ryan Paul said Unity was responsive, robust and had the reliability expected from a mature desktop shell.
Unity in Ubuntu 12.10 generated a privacy controversy.
Ubuntu 10.10
In reviewing an alpha version of Unity, shortly after it was unveiled in the summer of 2010, Ryan Paul of Ars Technica noted problems figuring out how to launch additional applications that were not on the dock bar. He also mentioned a number of bugs, including the inability to track which applications were open and other window management difficulties. He remarked that many of these were probably due to the early stage in the development process and expected them to be resolved with time. Paul concluded positively, "Our test of the Unity prototype leads us to believe that the project has considerable potential and could bring a lot of value to the Ubuntu Netbook Edition. Its unique visual style melds beautifully with Ubuntu's new default theme and its underlying interaction model seems compelling and well-suited for small screens." In an extensive review of Ubuntu 10.10 shortly after its release in October 2010, Paul made further observations on Unity, noting that "Unity is highl y ambitious and offers a substantially different computing experience than the conventional Ubuntu desktop." He concluded that "The [application] selectors are visually appealing, but they are easily the weakest part of the Unity user experience. The poor performance significantly detracts from their value in day-to-day use and the lack of actual file management functionality largely renders the file selector useless. The underlying concepts behind their design are good, however, and they have the potential to be much more valuable in the future as unity matures."
Ubuntu 11.04
In March 2011, writer Benjamin Humphrey of OMG Ubuntu criticized the development version of Unity then being tested for Ubuntu 11.04 on a number of grounds, including a development process that is divorced from user experiences, the lack of response to user feedback, "the seemingly unbelievable lack of communication the design team has," and a user interface he described as "cluttered and inconsistent". Overall, however, he concluded that "Unity is not all bad ... While a number of the concepts in Unity may be flawed from a design point of view, the actual idea itself is not, and Canonical deserve applause for trying to jump start the stagnant open source desktop with Unity when the alternatives do not evoke confidence."
On 14 April 2011 Ryan Paul reviewed Unity as implemented in Ubuntu 11.04 beta, just two weeks before its stable release. He reported that Unity was on track for inclusion in Natty Narwhal, despite the ambitious development schedule. He indicated, "close attention to detail shines through in many aspects of Unity. The menubar is clean and highly functional. The sidebar dock is visually appealing and has excellent default behaviors for automatic hiding." He noted that the interface still had some weak points, especially difficulties browsing for applications not on the dock, as well as switching between application categories. He noted that, in particular, "random packages from the repositories, which are presented as applications that are available for installation in the launcher, are distracting and largely superfluous". Paul concluded, "There is still a lot of room for improvement, but Unity is arguably a strong improvement over the conventional GNOME 2.x environment for day-to- day use. The breadth of the changes may be disorienting for some users, but most will like what they see when Unity lands on their desktop at the end of the month." Two weeks later he added the lack of configurability to his criticisms. In a very detailed assessment of Ubuntu 11.04 and Unity published on 12 May 2011, Paul further concluded Unity was a positive development for Ubuntu, but that more development had to be invested to make it work right. He wrote, "They have done some incredibly impressive work so far and have delivered a desktop that is suitable for day-to-day use, but it is still very far from fulfilling its full potential."
On 25 April 2011, the eve of the release of Ubuntu 11.04, reviewer Matt Hartley of IT Management criticized Unity, saying that the "dumbing down of the Linux desktop environment is bordering on insane".
Reviewer Joey Sneddon of OMG Ubuntu was more positive about Unity in his review of Ubuntu 11.04, encouraging users, "Sure it's differentâ"but different doesn't mean bad; the best thing to do is to give it a chance." He concluded that Unity on the desktop makes "better use of screen space, intuitive interface layouts and, most importantly, making a desktop that works for the user and not in spite of them."
Following the release of Ubuntu 11.04 Canonical Ltd. founder Mark Shuttleworth indicated that, while he was generally happy with the implementation of Unity, he felt that there was room for improvement. Shuttleworth said, "I recognise there are issues, and I would not be satisfied unless we fixed many of them in 11.10 ... Unity was the best option for the average user upgrading or installing. There are LOTS of people for whom it isn't the best, but we had to choose a default position ... It's by no means perfect, and it would be egotistical to suggest otherwise... I think the bulk of it has worked out fantastically â" both at an engineering level (Compiz, Nux) and in the user experience."
In reviewing Unity in Ubuntu 11.04 on 9 May 2011, Jesse Smith of DistroWatch criticized its lack of customization, menu handling and Unity hardware requirements, saying, "There's really nothing here which should demand 3D acceleration." He also noted that "The layout doesn't translate well to large screens or multiple-screen systems." Jack M. Germain of Linux Insider reviewed Unity on 11 May 2011, indicating strong dislike for it, saying, "Put me in the Hate It category" and indicating that as development has proceeded he likes it less and less.
Ubuntu 11.10
More criticism appeared after the release of Ubuntu 11.10. In November 2011 Robert Storey writing in DistroWatch noted that developer work on Unity is now taking up so much time that little is getting done on outstanding Ubuntu bugs, resulting in a distribution that is not as stable or as fast as it should be. Storey concluded "Perhaps it would be worth putting up with the bugs if Unity was the greatest thing since sliced bread â" something wonderful that is going to revolutionize desktop computing. But it's not. I tried Unity, and it's kind of cute, but nothing to write home about."
In November 2011 OMG! Ubuntu! conducted a non-scientific poll that asked its readers "which Desktop Environment Are You Using in Ubuntu 11.10?". Of the 15,988 votes cast 46.78% indicated that they were using Unity over GNOME Shell (28.42%), Xfce (7.58%), KDE (6.92%) and LXDE (2.7%).
Developers of Linux distributions based upon Ubuntu have also weighed in on the introduction of Unity in early 2011, when Unity was in its infancy. Some have been critical, including two distributions who base their criticism on usability testing. Marco Ghirlanda, the lead developer of the audio- and video-centric ArtistX, stated, "When I tried Unity on computer illiterates, they were less productive and took ages to understand the concepts behind it. When I show them how to use it, they said that it is pretty to see but hard to use." Stephen Ewen, the lead developer for UberStudent, an Ubuntu-based Linux distribution for higher education and college-bound high school students, stated, "Unity's design decreases both visual and functional accessibility, which tabulates to decreased productivity." Ewen also criticized Unity's menu scheme as much less accessible than on GNOME 2, which he said, "means that the brain cannot map as quickly to program categories and subcategories, which again means further decreased productivity."
Ubuntu 12.04 LTS
Jesse Smith of DistroWatch said that many people, like him, had questioned Ubuntu's direction, including Unity. But with Ubuntu 12.04 he felt that the puzzle pieces, which individually may have been underwhelming, had come together to form a whole, clear picture. He said "Unity, though a step away from the traditional desktop, has several features which make it attractive, such as reducing mouse travel. The HUD means that newcomers can find application functionality with a quick search and more advanced users can use the HUD to quickly run menu commands from the keyboard." He wrote that Unity had grown to maturity, but said he was bothered by its lack of flexibility.
Jack Wallen of TechRepublic - who had strongly criticized early versions of Unity - said "Since Ubuntu 12.04 was released, and I migrated over from Linux Mint, Iâm working much more efficiently. This isnât really so much a surprise to me, but to many of the detractors who assume Unity a very unproductive desktop... well, I can officially say they are wrong. [...] I realize that many people out there have spurned Unity (I was one of them for a long time), but the more I use it, the more I realize that Canonical really did their homework on how to help end users more efficiently interact with their computers. Change is hard â" period. For many, the idea of change is such a painful notion they wind up missing out on some incredible advancements. Unity is one such advancement."
Ryan Paul said Unity was responsive, robust and had the reliability expected from a mature desktop shell. He considered the HUD as one of several excellent improvements that had helped to make Unity "even better in Ubuntu 12.04". Yet he also wrote: "Although Unity's quality has grown to the point where it fulfills our expectations, the user experience still falls short in a number of ways. We identified several key weaknesses in our last two Ubuntu reviews, some of which still haven't been addressed yet. These issues still detract from Unity's predictability and ease of use."
Ubuntu 16.04 LTS
Jack Wallen of TechRepublic, in reviewing the changes scheduled for Unity in Ubuntu 16.04 LTS, concluded, "Ubuntu Unity is not the desktop pariah you once thought it was. This desktop environment has evolved into a beautiful, efficient interface that does not deserve the scorn and derision heaped upon it by so many."
Criticism
Privacy controversy
One of the new features of Unity in Ubuntu 12.10 was the shopping lens. As of October 2012, it sent (through a secure HTTPS connection) the user's queries from the home lens to productsearch.ubuntu.com
, which then polled Amazon.com to find relevant products; Amazon then sent product images directly to the user's computer through HTTP (this changed in September 2013; see below). If the user clicked on one of these results and then bought something, Canonical received a small commission on the sale.
Many reviewers criticized it: as the home lens is the natural means to search for content on the local machine, reviewers were concerned about the disclosure of queries that were intended to be local, creating a privacy problem. The feature is active by default (instead of opt-in) and many users could be unaware of it.
On 23 September 2012, Mark Shuttleworth defended the feature. He posted "the Home Lens of the Dash should let you find *anything* anywhere" and that the shopping lens is a step in that direction. He argued that anonymity is preserved because Canonical servers mediate the communication between Unity and Amazon and users could trust Ubuntu. Ubuntu Community Manager Jono Bacon posted "These features are neatly and unobtrusively integrated into the dash, and they not only provide a more useful and comprehensive dash in giving you visibility on this content, but it also generates revenue to help continue to grow and improve Ubuntu." Steven J. Vaughan-Nichols from ZDNet said the feature does not bother him and wrote "If they can make some users happy and some revenue for the company at the same time, that's fine by me." Ted Samson at InfoWorld reported the responses from Shuttleworth and Bacon but still criticized the feature.
On 29 October 2012, the Electronic Frontier Foundation criticized the problem. It argued that since product images were (as of October 2012) returned via insecure HTTP then a passive eavesdropperâ"such as someone on the same wireless networkâ"could get a good idea of the queries. Also, Amazon could correlate the queries with IP addresses. It recommended Ubuntu developers make the feature opt-in and make Ubuntu's privacy settings more fine-grained. It noted that the Dash can be stopped from searching the Internet by switching off "Include online search results" in Ubuntu's privacy settings.
On 7 December 2012, Richard Stallman claimed that Ubuntu contains spyware and should not be used by free software supporters. Jono Bacon rebuked him; he said that Ubuntu responded and implemented many of the requirements the community found important.
None of Ubuntu's official derivatives (Kubuntu, Xubuntu, Lubuntu, Ubuntu GNOME, etc.) include the feature or any variation of it.
Since September 2013, images are anonymized before being sent to the user's computer.
A legal notice in the Dash informs users of the sharing of their data. It states that unless the user has opted out, by turning the searches off, their queries and IP address will be sent to productsearch.ubuntu.com
and "selected third parties" for online search results. Ubuntu's Third Party Privacy Policies page informs all of the third parties that may receive users' queries and IP addresses, and states: "For information on how our selected third parties may use your information, please see their privacy policies."
Soon after being introduced, doubts emerged on the conformance of the shopping lens with the European Data Protection Directive. By late 2013, these doubts made the grounds for a formal complaint on the shopping lens filed with the Information Commissioner's Office (IOC), the UK data privacy office. Almost one year later the IOC ruled in favour of Canonical, considering the various improvements introduced to the feature in the meantime to render it conformal with the Data Protection Directive. However, the ruling also made clear that at the time of introduction the feature was not legal, among other things, since it lacked a privacy policy statement.
In March 2014, Michael Hall speaking for Canonical Ltd, indicated that in Unity 8 users will have to opt-in for each search, which will be conducted by opening a special scope and then choosing where to search. These changes would address all criticisms levelled at Canonical and Unity in the past.
As of April 2016 with the release of Ubuntu 16.04 LTS, the setting is off by default.
0 komentar: