|
|
Log in / Subscribe / Register

Distributions

Maru: a pocket desktop

By Jonathan Corbet
April 18, 2016
It appears to be widely accepted that the Linux desktop has achieved limited success at best, while the Linux palmtop — in the form of Android — has been wildly successful. The two classes of systems are generally thought of as being quite different, but it is worth remembering that the handsets we carry now have more computing power than the desktop systems we were using in the recent past. Given the right peripherals, an Android handset should be more than capable of providing a reasonable desktop experience. The Maru distribution is an experiment intended to prove that point by turning a smartphone device into a portable Debian desktop.

Maru, in its current state, is clearly not for everybody; it is currently running in a "private beta" and only works on the Nexus 5 handset. As luck would have it, your editor is in possession of both the hardware and the patience to wait until his number came up for a beta invitation. Playing with this system shows that there are some issues to deal with yet, but the idea has a lot of potential.

Installing Maru will be a familiar process to anybody who has flashed an Android device. The bootloader must be unlocked, and the owner needs to be cognizant of the fact that all data on the device will be overwritten; then it is just a matter of a couple of fastboot flash commands. Or it should be: that resulted in a phone that got stuck looping through the interminable "optimizing apps" process — amusing at first, but even your editor, who is easily amused, found it tiresome by about the fourth time through. Explicitly wiping the data area (using the TWRP recovery image) and starting over got past that issue.

The installation results in a standard — if severely minimal — Android "Lollipop" system; Maru has not made the move to the Marshmallow release. As is always the case with a third-party build, the Google apps are not there; they can be added from the Open GApps repository if desired — though it is somewhat assumed that the user knows how to do this. There are reports that only the "pico" version of Open GApps will actually fit on the device after the Maru installation; the 32GB device used here still had 26GB of free space, though, and was not so constrained.

Experiencing Maru as anything but an Android device requires some additional hardware in the form of a Bluetooth keyboard, a Bluetooth mouse, and a USB-to-HDMI dongle. The latter device plugs into the phone's USB port and allows the handset to drive an ordinary monitor (or television); the documentation advises buying one that allows for a power connection, since running in the desktop mode can drain the battery quickly.

Once the Bluetooth devices have been paired and the monitor connected, the user is presented with an attractive XFCE desktop (for those who, inexplicably, think that translucent terminal emulators are attractive, anyway). At least, that happens briefly. One of the first discoveries is that the desktop is only active when the handset screen is on, and desktop activity does not keep the handset from timing out and shutting down. So working on the desktop happens in 30-second bursts, separated by (hopefully shorter) bursts of [Maru desktop] profanity. Making the system usable requires setting the timeout value to a high number, which may not be what one wants when the desktop is not in use. This, perhaps, is part of why running the desktop tends to drain the battery quickly.

With the external keyboard and mouse, the desktop works as one would expect. A lot of the basic utilities are present, and some not-so-basic ones (e.g. LibreOffice) as well. Anything else can be had in the usual manner from the Debian repository. The desktop is surprisingly responsive; even LibreOffice is able to launch within a few seconds. Building kernels is probably a poor idea, but the device clearly has the power to handle most day-to-day tasks.

There is no access to Android apps in the Debian desktop, of course, and the desktop never appears on the handset screen. The two are separate worlds living on the same device. The one exception is that the Android data area has been mapped into the Debian world, so that, for example, photos taken with the camera can be accessed on the Debian side.

If one pokes around with a shell, what one finds is an apparently complete Debian distribution running; it even has systemd running the show. The system has been thoroughly isolated from the Android system (some reports on the net say that LXC containers are being used). Except for the access to Android's data area, the Android side of things might as well not be there from Debian's point of view. The Debian system does run on the Android kernel, though (it's not in a virtual machine), so an enterprising attacker could probably find a way to break through that barrier.

Some parts of the system are not entirely at ease with this setup. Systemd, for example, duly logs that the time has been changed — every second. But as a whole it seems to work well.

Anybody looking for the source to Maru will, for now, be disappointed; it does not appear to be available. That might strike some people as surprising, given that it is, in the end, a distribution of Debian, much of which is covered by copyleft licenses. Back in February, Maru creator Preetam D’Souza announced that the distribution would be open-sourced, almost as if it were a new idea. Since then, though, there has been no visible progress on that front. Maru is, thus, quite clearly violating the GPL at the moment. One gets the impression of a small (i.e. one-person) project struggling to cope with a larger-than-expected level of interest. One of the best ways to do that, though, would be to get the source out there and let the community help. Hopefully this issue will be straightened out in the near future.

One might be tempted to ask where a distribution like this might be useful. The advantage of a smartphone is its portability; lugging around a keyboard, mouse, HDMI adapter, and, possibly, monitor tends to detract a bit from that. It is probably easier to just pack a laptop and be done with it. But if the peripherals are available in multiple locations, and all that needs to be carried is the handset, the appeal becomes a bit more clear.

What would be nice, of course, would be a higher degree of integration between Android and Debian, making the device a bit less schizophrenic than it is now. It would be useful, for example, if applications from either side could appear on either the device screen or the external desktop. That is asking a lot, though, considering just how foreign much of the Android system is relative to a typical Linux desktop distribution. But, perhaps, if the two cohabitate for long enough, they will eventually learn to trust each other a bit more. In the meantime, Maru is an interesting experiment in running a Linux desktop in an Android setting.

Comments (19 posted)

Brief items

Distribution quotes of the week

My point is that the Redox team has come along and pointed out various issues with how our favourite operating systems are designed and developed. This makes some people defensive and leads to people lashing out against the new ideas presented. And I feel that reaction is not helpful. GNU/Linux and BSD systems are practical and widely used, but that does not make them perfect. Our established operating systems tend to carry with them a good deal of legacy concepts and potential weaknesses that come from being around for multiple decades. I am not saying we should throw them away and start over, that wouldn't be at all practical. But I am suggesting we consider if there are ways we might improve our existing systems.
-- Jesse Smith

On the other hand, cats wandering around randomly is not going to look like the most awesome Fedora at all. (It might look like the most awesome Neko Atsume game, but that's not our mission.)
Matthew Miller (NetworkWorld interview)

Recently we have seen spectacular advances in compiler optimisation. Spectacular in that large swathes of existing previously-working code have been discovered, by diligent compilers, to be contrary to the published C standard, and `optimised' into non-working machine code.

In fact, it turns out that there is practically no existing C code which is correct according to said standards (including C compilers themselves).

-- Ian Jackson

Comments (46 posted)

Introducing open source DC/OS

Mesosphere has announced the release of DC/OS under the Apache License 2.0. "DC/OS derives from Mesosphere’s Datacenter Operating System, a commercial product built around Apache Mesos. Open sourcing DCOS has always been part of our strategic roadmap and we’re proud to have collaborated with our launch partners for today’s unveiling. DC/OS is a software platform that’s 100 percent open source, comprised of more than 30 component technologies, including Apache Mesos and Marathon. Some of the technologies were always open source, including Mesos, while others were previously proprietary code developed by Mesosphere, such as the GUI and our Minuteman load balancer." Over 60 partner companies participated in the open source release.

Comments (33 posted)

Distribution News

Debian GNU/Linux

Final bits from the (outgoing) DPL

Neil McGovern has a few parting words and delegations at the end of his term as Debian Project Leader. He looks at the treasurer team re-delegation, front desk de-delegation, DSA spending limits update, a new technical committee member, and more.

Full Story (comments: 1)

Debian Project Leader Election 2016 Results

Unsurprisingly, Mehdi Dogguy is the new Debian Project Leader. His term started April 17.

Full Story (comments: none)

Debian Bug Squashing Party in Salzburg/Austria

There will be a Debian Bug Squashing Party September 23-25 in Salzburg, Austria. "Team meetings/sprints during the BSP are welcome, just let me know in advance so we can organize appropriate rooms."

Full Story (comments: none)

Red Hat Enterprise Linux

Red Hat Enterprise Linux 5 One-Year Retirement Notice

Red Hat has announced that RHEL 5 will be retired in one year. "In accordance with the Red Hat Enterprise Linux Errata Support Policy, support for Red Hat Enterprise Linux 5 will be retired on March 31, 2017, at the end of Production Phase 3. Until that date, customers will continue to receive Critical impact security patches and selected urgent priority bug fixes for RHEL 5.11 (the final RHEL 5 release)."

Full Story (comments: none)

Newsletters and articles of interest

Distribution newsletters

Comments (none posted)

Schaller: Fedora Workstation Phase 1 – Homestretch

Christian Schaller celebrates the completion of the (informal) first phase of the Fedora Workstation project. "Another major piece of engineering that is coming to a close is moving major applications such as Firefox, LibreOffice and Eclipse to GTK3. This was needed both to get these applications able to run natively on Wayland, but it also enabled us to make them work nicely for HiDPI. This has also played out into how GTK3 have positioned itself which to be a toolkit dedicated to pushing the Linux desktop forward and helping that quickly adapt and adopt to changes in the technology landscape."

Comments (47 posted)

LXLE Gives Aging Hardware a New Lease on Life (LinuxInsider)

LinuxInsider reviews LXLE. "However, LXLE -- short for Lubuntu Extra Life Extension -- taps fewer system resources than Xfce, making it just as fast and a bit more compatible with aging hardware. It features security fixes, updated SeaMonkey (the default Web browser) packages and various small visual improvements. It is an easy-to-use alternative to other Linux derivatives. LXLE comes with an impressive selection of default applications. It adds useful modifications and tweaks to improve performance and functions, and has several design changes and tweaks that make it even more suitable."

Comments (none posted)

Page editor: Rebecca Sobol
Next page: Development>>


Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds