TranslateProject/sources/tech/20180223 Plasma Mobile Could Give Life to a Mobile Linux Experience.md
Xingyu.Wang 6cc80b7b1e 超期回收
@Auk7F7 @sugarfillet @loujiaye @HardworkFish @zhouzhuowei @Flowsnow
@amwps290 @cizezsy @Dotcra @KevinSJ
2018-06-13 23:55:02 +08:00

8.3 KiB
Raw Blame History

Plasma Mobile Could Give Life to a Mobile Linux Experience

In the past few years, its become clear that, outside of powering Android, Linux on mobile devices has been a resounding failure. Canonical came close, even releasing devices running Ubuntu Touch. Unfortunately, the idea of Scopeswas doomed before it touched down on its first piece of hardware and subsequently died a silent death.

The next best hope for mobile Linux comes in the form of the Samsung DeX program. With DeX, users will be able to install an app (Linux On Galaxy—not available yet) on their Samsung devices, which would in turn allow them to run a full-blown Linux distribution. The caveat here is that youll be running both Android and Linux at the same time—which is not exactly an efficient use of resources. On top of that, most Linux distributions arent designed to run on such small form factors. The good news for DeX is that, when you run Linux on Galaxy and dock your Samsung device to DeX, that Linux OS will be running on your connected monitor—so form factor issues need not apply.

Outside of those two options, a pure Linux on mobile experience doesnt exist. Or does it?

You may have heard of the Purism Librem 5. Its a crowdfunded device that promises to finally bring a pure Linux experience to the mobile landscape. This device will be powered by a i.MX8 SoC chip, so it should run most any Linux operating system.

Out of the box, the device will run an encrypted version of PureOS. However, last year Purism and KDE joined together to create a mobile version of the KDE desktop that could run on the Librem 5. Recently ISOs were made available for a beta version of Plasma Mobile and, judging from first glance, theyre onto something that makes perfect sense for a mobile Linux platform. Ive booted up a live instance of Plasma Mobile to kick the tires a bit.

What I saw seriously impressed me. Lets take a look.

Testing platform

Before you download the ISO and attempt to fire it up as a VirtualBox VM, you should know that it wont work well. Because Plasma Mobile uses Wayland (and VirtualBox has yet to play well with that particular X replacement), youll find VirtualBox VM a less-than-ideal platform for the beta release. Also know that the Calamares installer doesnt function well either. In fact, I have yet to get the OS installed on a non-mobile device. And since I dont own a supported mobile device, Ive had to run it as a live session on either a laptop or an Antsle antlet VM every time.

What makes Plasma Mobile special?

This could be easily summed up by saying, Plasma Mobile got it all right. Instead of Canonical re-inventing a perfectly functioning wheel, the developers of KDE simply re-tooled the interface such that a full-functioning Linux distribution (complete with all the apps youve grown to love and depend upon) could work on a smaller platform. And they did a spectacular job. Even better, theyve created an interface that any user of a mobile device could instantly feel familiar with.

What you have with the Plasma Mobile interface (Figure 1) are the elements common to most Android home screens:

  • Quick Launchers

  • Notification Shade

  • App Drawer

  • Overview button (so you can go back to a previously used app, still running in memory)

  • Home button

KDE mobile

Figure 1: The Plasma Mobile desktop interface.

Used with permission

Because KDE went this route with the UX, it means theres zero learning curve. And because this is an actual Linux platform, it takes that user-friendly mobile interface and overlays it onto a system that allows for easy installation and usage of apps like:

  • GIMP

  • LibreOffice

  • Audacity

  • Clementine

  • Dropbox

  • And so much more

Unfortunately, without being able to install Plasma Mobile, you cannot really kick the tires too much, as the live user doesnt have permission to install applications. However, once Plasma Mobile is fully installed, the Discover software center will allow you to install a host of applications (Figure 2).

Discover center

Figure 2: The Discover software center on Plasma Mobile.

Used with permission

Swipe up (or scroll down—depending on what hardware youre using) to reveal the app drawer, where you can launch all of your installed applications (Figure 3).

KDE mobile

Figure 3: The Plasma Mobile app drawer ready to launch applications.

Used with permission

Open up a terminal window and you can take care of standard Linux admin tasks, such as using SSH to log into a remote server. Using apt, you can install all of the developer tools you need to make Plasma Mobile a powerful development platform.

Were talking serious mobile power—either from a phone or a tablet.

A ways to go

Clearly Plasma Mobile is still way too early in development for it to be of any use to the average user. And because most virtual machine technology doesnt play well with Wayland, youre likely to get too frustrated with the current ISO image to thoroughly try it out. However, even without being able to fully install the platform (or get full usage out of it), its obvious KDE and Purism are going to have the ideal platform that will put Linux into the hands of mobile users.

If you want to test the waters of Plasma Mobile on an actual mobile device, a handy list of supported hardware can be found here (for PostmarketOS) or here (for Halium). If you happen to be lucky enough to have a device that also includes Wi-Fi support, youll find you get more out of testing the environment.

If you do have a supported device, youll need to use either PostmarketOS (a touch-optimized, pre-configured Alpine Linux that can be installed on smartphones and other mobile devices) or Halium (an application that creates an minimal Android layer which allows a new interface to interact with the Android kernel). Using Halium further limits the number of supported devices, as it has only been built for select hardware. However, if youre willing, you can build your own Halium images (documentation for this process is found here). If you want to give PostmarketOS a go, here are the necessary build instructions.

Suffice it to say, Plasma Mobile isnt nearly ready for mass market. If youre a Linux enthusiast and want to give it a go, let either PostmarketOS or Halium help you get the operating system up and running on your device. Otherwise, your best bet is to wait it out and hope Purism and KDE succeed in bringing this oustanding mobile take on Linux to the masses.

Learn more about Linux through the free "Introduction to Linux" course from The Linux Foundation and edX.


via: https://www.linux.com/learn/intro-to-linux/2018/2/plasma-mobile-could-give-life-mobile-linux-experience

作者:JACK WALLEN 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出