1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
<p>Canonical pushed out Ubuntu 14.04 last week. This release is the first Ubuntu Long Term Support release in two years and will be supported for five years.</p>
<p>It feels like, for Canonical at least, this Long Term Support release couldn't have come at a worse time. The company is caught in a transitional phase as it moves from a desktop operating system to a platform that spans devices.</p>
<p>The problem for Canonical is that it's only about 90 percent of the way to platform spanning OS, but it just so happens that the company's release schedule calls for a Long Term Support release now.</p>
<p>Long Term Support releases are typically more conservative releases that focus on stability and long term maintenance rather than experimental or flashy new features. Things 90 percent done don't make it into LTS releases. And, unfortunately for Canonical, most of its huge foundation shaking changes for the future of Ubuntu are currently only about 90 percent done and thus not part of this release.</p>
<p>The two biggest changes on the horizon are the Mir graphics stack and Unity 8, neither of which are part of 14.04.</p>
<p>Mir just isn't ready for prime time yet and even the half-way step of xMir (which falls back to the X display server when it needs to) isn't ready enough to land in an LTS release. Were this <em>not</em> an LTS release it seems likely xMir at least would be included. As it stands, the graphics stack in 14.04 is -- aside from incremental upgrades -- the same as it was in last year's 13.10.</p>
<p>Likewise, Unity 8 will not make its debut in this release. The next version of Ubuntu's flagship UI isn't quite there yet, at least on the desktop. This puts Canonical in the unfortunate position of needing to now support Unity 7 on the desktop for 5 years going forward.</p>
<p>Ubuntu is planning to ship its first mobile devices later this year -- which will use Unity 8, since the mobile version is much further along than the desktop. Thus when Ubuntu Mobile launches Canonical will find itself having to maintain two separate platforms, both Unity 7 and 8, with Unity 7 desktops hanging around for a minimum of five years.</p>
<p>While Ubuntu 14.04 might be most notable for what it is not -- namely the next-generation version of the Ubuntu desktop -- it is nevertheless an important update because for those users sticking with LTS releases it represents the first major change in two years. And a lot has happened in Ubuntu land in the time since 12.04 was released.</p>
<p>There have been major leaps forward in the form of upstream kernel updates, application updates and several major user interface changes in Unity.</p>
<p>It's also the first time LTS users will have to deal with the Amazon Search Lens and Ubuntu's new privacy policy.</p>
<h2 id="the-kernel">The Kernel</h2>
<p>At the core of Ubuntu 14.04 is the Linux kernel 3.13.0-24.</p>
<p>The previous release, Ubuntu 13.10, used the 3.11 kernel, and the last LTS release, 12.04.4, currently ships with 3.8. A lot has changed since 3.8, primarily in the form of better hardware support, but there are some welcome improvements in this latest kernel release even for those already running 3.11 in Ubuntu 13.10.</p>
<p>How much the kernel update impacts your Ubuntu experience will depend a little bit on your hardware. For example, if you've got dual GPU hardware that uses Nvidia Optimus to switch between GPUs -- one optimized for performance and the other for conserving power -- the move from 12.04 to 14.04 will be huge. As of the 3.12 kernel there's now low-level support of GPU switching (which should happen automatically).</p>
<p>Users with SSD-based machines should see better performance in this release, partly because of some improvements in the kernel, but also because Ubuntu now ships with TRIM features enabled by default. There are some horror stories about TRIM support in Linux floating around the web, but those issues have largely been solved.</p>
<p>That means you can delete those cron jobs running the fstrim command and stop worrying about adding "discard" to all your fstab entries. Ubuntu 14.04 will handle this automatically right out of the box. If you're running Ubuntu on an SSD you will likely notice a speed improvement, particularly in anything that requires a lot of data being written to disk.</p>
<p>Another of the headline-worthy changes in the 3.13 kernel is the addition of support for <a href="http://netfilter.org/projects/nftables/">nftables</a>, which will eventually replace the iptables firewall tool. Nftables is more than just a replacement for iptables, it's a complete reworking of the way the kernel handles packet filtering. Right now nftables is not quite ready for prime time, and the command line tool nft is not installed by default. But when the 3.15 kernel rolls around (which will be well within the lifespan of Ubuntu 14.04) nftables can replace your iptables-based firewall.</p>
<h2 id="battery-life-improvements">Battery Life Improvements</h2>
<p>Power management remains one of the weak points in Linux, with battery life lagging far behind what you'll find in Windows and OS X running on the same hardware.</p>
<p>The good news for laptop users is that several recent kernel updates related to power management have dramatically improved battery life and these are all part of Ubuntu 14.04.</p>
<p>I started using 14.04 when the final beta was released in March and immediately noticed a huge difference in battery life on my primary machine, an early-2013 Retina Macbook Pro. It's hard to say whether these improvements come from the kernel updates or perhaps some Unity-level improvements, but whichever is responsible it's a big improvement over Ubuntu 12.04.</p>
<p>I typically use only a handful of apps, primarily a web browser -- Chromium with anywhere 20-80 tabs -- and a Terminal session with several Tmux sessions running inside it which I attach and detach depending on what I'm doing (for development and writing I run zsh, python, ruby, vim, mutt, cmus). None of that should produce a huge battery drain. I also occasionally use Darktable and Gimp for image editing, which of course shortens the battery life. I should note that I use a <a href="https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg?hl=en">Chromium add-on</a> which suspends background tabs and significantly reduces Chromium's overall system footprint even with the large number of tabs I typically keep open.</p>
<p>This setup, which is pretty minimalist in terms of battery draining apps, would in Ubuntu 12.04 still manage to drain the battery in under 4 hours, sometimes not lasting much more than 3 hours. I switched to running Ubuntu in VMWare (using OS X as the base system) and battery life improved somewhat, consistently lasting about 4 hours, but that's still not very good.</p>
<p>In 14.04 with the same workload on the same machine the battery lasts just over 4.5 hours on average. That's actually a pretty significant improvement and would be worthy of praise did it not still lag far behind OS X (6.5 hrs) and the minimalist Crunchbang Waldorf (currently my primary OS), which lasts nearly as long as OS X itself -- well over 6 hrs. Crunchbang and Ubuntu share the same Debian core and Linux kernel, which most likely makes Ubuntu's Unity interface the primary source of the additional battery drain.</p>
<p>That's been my experience with battery life thus far in 14.04, but remember that real-world battery stats are highly subjective. Hardware, system setup and the details of what you do make it nearly impossible to guarantee anything. That said, based on my experience with 14.04 on three different laptops you'll likely see at least some improvement over 13.10 and even moreso if you're upgrading from 12.04.</p>
<h2 id="the-unity-desktop">The Unity Desktop</h2>
<p>While Canonical is playing it safe with most things in this release, given the LTS nature of 14.04, there are some surprising and very welcome changes to the Unity interface. The biggest news on the Unity front is that Canonical has done an about face on a number of long-requested features previously rejected by the Ubuntu development team.</p>
<h3 id="menu-in-windows">Menu in Windows</h3>
<p>The first and most notable change in Unity is a new option to turn off the global menu bar and put application menus back in the window.</p>
[image="screenshot1.png" caption="Menus in application window.]
<p>Part of the rationale behind the decision to move the window menus out of the window and up into the global position was to save space. This made sense back with Unity was an interface for netbooks and other small screen devices, but it doesn't hold water on a 27in HD monitor.</p>
<p>There are other arguments for global menus, notably [Fitts's Law](https://en.wikipedia.org/wiki/Fitts's_law) which, among other things, says that it's easier to throw your mouse to the top of the screen then it is to try to hit any target within the screen. That's true and countless studies have confirmed it, but there's a counter argument to be made that it's equally difficult to get all the way back to where your cursor was before you went to the global menu with that flick of the mouse.</p>
<p>It would seem that there are advantages and disadvantages to both approaches and which is best depends on how you work; it would be disingenuous to try to categorically say one is better than the other.</p>
<p>Ubuntu is one of the few Linux distros that uses something like a global menu and, until this release, that was the only option. Now though you can opt to go back to window-level menus if you prefer that approach.</p>
<p>It's a nice option to have because Ubuntu's global menu is, frankly, a mess.</p>
<p>The most notable global menu in a desktop OS is undoubtedly the Mac OS, which has used a global menu since it debuted in 1984. But the reason OS X's menu works so well isn't just because Fitts's law is followed, it's also that the menus and the items in them are standardized across the OS.</p>
<p>For example, preferences are always in the application menu and always accessed with the keyboard shortcut cmd-,. That consistency makes for a simpler, more unified user experience. The user never has to think, now where are the preferences in this new app I just installed? Likewise they don't have to look to see what the keyboard shortcut is to open the app's preferences window, they just hit cmd-, and the preferences window opens.</p>
<p>Ubuntu, for reasons beyond its control, will never be able to achieve this level of OS interface consistency, which makes its global menu next to useless.</p>
<p>In fact the Unity global menu is not a global menu at all, it's a window-specific menu that got kicked up to the top bar for reasons only known to Ubuntu developers.</p>
[image="screenshot2.png" caption="Ubuntu's global menu being less than global."]
<p>No matter what kind of window is open in the application, the global menu in OS X remains the same. In Unity, however, as Ryan Paul noted in his <a href="http://arstechnica.com/information-technology/2012/05/precision-and-purpose-ubuntu-12-04-and-the-unity-hud-reviewed/">review of Ubuntu 12.04</a>, "despite displaying the menu contents outside of the window, the menus are still window-specific. By design, the global menu bar displays the menu of the focused window. This proves awkward in some applications with dialogs and multiple windows."</p>
<p>It's not just awkward, it's potentially crazy-making as it means your menu items (which you can't see until you drag the cursor up to the top of the window) may or may not actually be there depending on the type of window you have in the foreground right now.</p>
<p>Say you're browsing the web with Firefox and you decide you want to edit a bookmark. You click the Firefox menu item "show all bookmarks", which opens a new window with Firefox's bookmark manager. But of course this window does not have a window-level menu, which means your "global" menu at the top of the screen is now unavailable. That also means your keyboard shortcuts won't work, a curious bit of consistency I suppose. So in this window when you hit control-Q (Quit) nothing happens. Do the same when a regular browser window is at the forefront and Firefox will happily quit.</p>
<p>This isn't a problem limited to browsers. The same situation arises in the Nautilus file manager. Just open a Property inspector window and see what the "global" application menu does (hint: there suddenly isn't one). If you create a file or even just a open a new window with a keyboard shortcut you'll need to first make sure that a "normal" Nautilus window has focus.</p>
<p>Nothing in Ubuntu 14.04 fixes the half-implemented nature of Ubuntu's "global" menu. In fact, nothing has changed at all in the default installation of 14.04. You'll have to go hunting in the system settings to find the new option to put menus back in the windows (it's tucked away under the Behavior tab in the Appearances panel), but at least it's now an option.</p>
<p>Naturally Ubuntu has put it's own spin on what window-level menus look like. Unlike other operating systems, which typically put window-based menus in a row under the window title bar, Ubuntu has opted to put them in the actual title bar. The window level menu is, as with the global menu, hidden away until you hover your mouse over the window.</p>
<p>One nice touch is that the menu items in the title bar manage to never get in the way of click-and-drag operations on the window. Canonical's developers deserve much credit for making sure that this potentially disastrous UI decision actually works without a hitch.</p>
<p>As a former OS X user I would prefer to see Canonical try to make a true global menu that works as well as Apple's, but in lieu of that I can at least have the consistency of menus in the window.</p>
<h3 id="minimize-to-launcher">Minimize to Launcher</h3>
<p>The second much-requested feature wish Canonical has finally granted is an option to minimize windows to the launcher by clicking the icon in the launcher.</p>
<p>The default behavior remains the same, when you click an icon in the Unity launcher the application launches. If the application is already running then it is brought to the foreground. If you click it again (when it's already the frontmost application) nothing happens.</p>
<p>There's been a long-standing request to change this last behavior to mirror what you'll find in several other desktops, namely that clicking the icon of the frontmost application will minimize that window.</p>
<p>To enable this behavior in Ubuntu 14.04 you'll need to install and open the Compiz Settings Manager and click the Unity plugin, where you'll see an option that says "Minimize Single Window Applications (Unsupported)".</p>
<p>Despite the name, you can minimize multiple windows. If you have two or more windows open and you click once the icon in the launcher the application will be brought to the front if it isn't already. Click again and it will move to the Unity window spread/switcher mode with the windows arrayed on a grid. Click the launcher icon again and all windows will be minimized. Click a 4th time and the window that had focus when all the windows were minimized will be brought back to the front while any other windows remain hidden.</p>
<p>Technically this feature is considered experimental and unsupported, but in my testing there were no issues and everything worked, if not quite as the wording would lead you to expect, at least consistently.</p>
<h3 id="small-changes-that-make-unity-in-14.04-more-usable">Small Changes that Make Unity in 14.04 More Usable</h3>
<p>To animate resizing a window in previous releases Ubuntu used a yellow rectangle to show the size of the window. The yellow rectangle is still used with window snapping, but resizing now uses live window animation. The live window resizing was an option in 13.10, but this is the first time it has been enabled by default.</p>
<p>There's another useful new feature half-hidden in the application window spread view, that is, the view you get when you click the Unity Launcher icon for an app with multiple open windows.</p>
<p>In 14.04 if you just start typing in the spread view (there's no text entry box, which is why it qualifies as half-hidden) and Ubuntu will filter your windows and highlight the one that matches your search. If you keep dozens of windows open in a single app and frequently lose track of what's where, this makes a quick way to find what you're after. This feature becomes even handier if you add a keyboard shortcut to toggle the window spread view (by default there isn't one, but you can set one in the Compiz Settings Manager >> Window Management >> Scale and then click the Binding Tab).</p>
[image="screenshot3.png" caption="Searching for windows"]
<p>With a keyboard shortcut you can activate the window spread view, type to find the window you want and switch to it without ever taking your hands off the keyboard.This would be a fantastic tool if it could spread out tabs within an application --particularly web browsers -- but it doesn't, it's only a window-level feature.</p>
<h3 id="the-unity-dash">The Unity Dash</h3>
<p>If you upgrade to every new Ubuntu release there's nothing new to see in Dash of 14.04. If you stick with LTS releases though, the Dash has some very big changes you may have heard about -- namely that, starting with 12.10, by default the Unity Dash will forward your search terms on to Canonical's servers which then query all manner of web services, including Amazon.com.</p>
<p>There two things annoying about this. First it clutters your search results with (often NSFW) junk when all you want is to find a file. The second and the far more serious problem is that it gives Canonical a massive amount of data about you.</p>
[image="screenshot4.png" caption="Do you want to open the Ubuntu Software Center or buy some music? That's something <strike>only</strike> you and Canonical get to know."]
<p>When it debuted in 12.10 the online search tools caused a privacy uproar with FSF and the EFF calling for Canonical to remove what in many users' eyes amounts to spyware.</p>
<p>Nothing has changed on this front since 12.10 was released. By default your searches are still sent to Canonical and on to, well, who knows really? Which is why we suggest disabling this feature by completely uninstalling it in the Ubuntu Software Center.</p>
<p>There has been some talk of Ubuntu offering more fine-grained controls over how and where your data is sent, but as of this release that hasn't happened. The privacy controls are still more or less the same -- a single on or off switch controls all your online search tools (not to be confused with the online accounts privacy controls, which do offer more fine-grained control over which apps can access your accounts).</p>
[image="screenshot5.png" caption="Search privacy options, or lack thereof"]
<p>The good news is that it looks like Canonical is finally going to make the online search components of Ubuntu opt-in, though not -- some might argue conveniently not -- in time for this LTS release. If you're just one person upgrading turning off these feature isn't that big of a deal, the EFF has some <a href="https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks">instructions on how to do it</a>. A couple clicks and you're done.</p>
<p>If you're upgrading an enterprise-level deployment of Ubuntu with thousands of machines to upgrade, disabling the online search features in each one is going to be a pain. Enough of a pain that you just might want to skip this release and wait for the next LTS in two years (or move to another distro). After all Ubuntu 12.04 won't reach the end of its LTS lifespan until April 2017.</p>
<h2 id="whats-missing">What's Missing</h2>
<p>Mir and Unity 8 did not make the cut, but they will be coming eventually (14.10 looks pretty likely to see at least xMir enabled by default). There are some other features though that have disappeared and will not be returning, the most notable being Canonical's Ubuntu One file storage and synchronization tool.</p>
<p>Canonical has wisely elected to <a href="http://arstechnica.com/information-technology/2014/04/ubuntu-one-storage-and-music-service-shut-down-by-canonical/">pull out of the race to the bottom that is cloud storage and synchronization services</a>, which means that as of this release Ubuntu One is no longer a part of Ubuntu. The Unity Launcher item is gone and if you were using Ubuntu One you should have received an email from Canonical with instructions on how to get your data out before it disappears forever on July 31.</p>
<p>The other noticeably missing feature in the release is also web-app related, namely the browser behind Ubuntu's web apps has changed. Ubuntu 12.10 first introduced the ability to add web apps for certain sites to the Unity Launcher, giving them first class citizen status alongside desktop apps (a full list of supported sites can be <a href="https://launchpad.net/webapps">seen on Launchpad</a>).</p>
<p>That part hasn't changed. Ubuntu 14.04 still ships with an Amazon web app in the Launcher (the Ubuntu One web app is gone) and it's also still easy to create these apps for supported sites like Gmail or Twitter.</p>
<p>What's different is the web browser behind these apps. It's no longer Firefox or Chromium powering your web apps, but Ubuntu's own QML-based web browser. The change means that Ubuntu on the desktop uses the same browser as Ubuntu Mobile for all your web apps, which would fine if the Ubuntu browser were anywhere near as stable as, well, any other browser on the platform. Sadly, it isn't. It crashes frequently and I still haven't figured out a way to reliably get desktop notifications working with web apps. It also doesn't seem to have access to the Flash plugin even if it's installed system wide and works in every other browser (perhaps this is because Flash won't be supported on Ubuntu Mobile).</p>
<p>Fortunately, you can use the features in your favorite web browser to create web apps and then add those to the Unity Launcher to get the same sort of web-app-as-desktop-app feel, but with a reliable browser behind it.</p>
<p>For instance Chromium has an option to "Create application shortcuts" (under the Tools menu) which will offer to add a shortcut to the Launcher. It will lack the nice icon you get with the Unity-integrated web apps, but you can add your own icon by editing the .desktop file (you can also create sandboxes to sequester cookies and history, which means you can be logged in to multiple accounts in multiple web apps). This method, while more cumbersome to set up, is considerably nicer than trying to use a browser that's liable to crash at any given moment, may or may not actually notify you that a critical message has arrived in your inbox and won't let you watch the video of your kids that your spouse just posted to Facebook.</p>
[image="screenshot6.png" caption="The Gmail web is Unity's doing, the Twitter app uis mine. They look identical, but one has a real web browser behind it."]
<h2 id="where-ubuntu-14.04-fails">Where Ubuntu 14.04 Fails</h2>
<p>The one bright side to the bugginess of the web apps feature in Ubuntu 14.04 is that it serves as a reminder of just how stable the rest of the system is -- it wasn't all that long ago that any review of desktop Linux was more or less a rundown of bugs and workarounds, which is thankfully no longer the case.</p>
<p>Ubuntu 14.04 is incredibly stable and all the basic features you could hope for in a desktop system "just work". If you're a seasoned Ubuntu user, Ubuntu 14.04 is a minor, but welcome upgrade.</p>
<p>While all that is true, Ubuntu clearly wants to be not just the best of the Linux desktops, but capable of holding its own next to Windows and, probably more so, OS X.</p>
<p>To do this Ubuntu sweats the details like few other Linux distros out there and this release is no exception. Two details worth noting in 14.04 are some improvements to the rounded window corners which now feature much smoother anti-aliasing and the new borderless windows, which give windows a cleaner edge and make the overall appearance look sharper (particularly if you use a lighter theme like Radiance).</p>
[image="screenshot7.png" caption="Smoother corners (old version on the right)"]
<p>The problem is that details and small touches like this don't hide the larger usability issues that still exist in Unity.</p>
<p>As I mentioned above the global menu remains an inconsistent mess and it's not the only problem Unity has. The precise behavior of the search lens in the Unity search field seems to change with every release and applications move in and out of fullscreen mode in inconsistent ways (most do just fine but Terminal and some other, non-Unity optimized apps don't remember window size and position).</p>
<p>What makes these things frustrating is that they aren't new. These inconsistencies and half-implemented ideas have been around since at least 11.04. If these are the pain points that have had you itching to upgrade from 12.04 LTS, 14.04 is going to disappoint.</p>
<p>Ubuntu apologists dismiss such criticisms by arguing that these applications aren't Ubuntu's applications. That's certainly true. Nautilus and Terminal come from the Gnome project, Firefox from Mozilla. In fact nearly all the default Ubuntu apps are not built by Canonical developers, most come from GNOME. But if that's the defense, then what is Ubuntu? A Compiz plugin with a HUD/launcher and a "global" menu bar? If that's all it gets credit for what does it say that it still can't make menus behave consistently?</p>
<p>Ubuntu is one of the most polished desktops around, certainly the most polished in the Linux world, but in many ways that polish is increasingly skin deep at the expense of some larger usability issues which continue go unaddressed release after release.</p>
<p>None of these annoyances are deal-breaking problems for users familiar with Ubuntu or Linux. And they certainly won't stop enthusiastic Ubuntu users from updating. Nor should they, in the world of Linux desktops this amounts to splitting hairs.</p>
<p>But in the world of building usable interfaces these are glaring failures atop which smoother rounding for window corners and borderless windows are mere lipstick on a pig.</p>
<p>These UI failing also don't bode well for the future of Ubuntu Mobile. Perhaps part of the reason the desktop remains seemingly half done is that the development effort is focused on Ubuntu Mobile at the moment. That's part of the reason Mir and Unity 8 aren't part of this release and it might be a plausible excuse for other failings. Unity wouldn't be the first desktop to languish while developers worked feverishly on a mobile OS.</p>
|