Posts

Showing posts from September, 2016

X applications on Ubuntu Phone

Image
All the X software

So yeah, Mir... Canonical's very own display server, to replace X server entirely in the future. Just that, all the great software currently existing, is made for X server. Not for Mir. Simple as that. Well, worry not. First of all, you can still put an executable that is written for X server on the phone. As long as it is ARM linux binary, it is a valid one on the Ubuntu Phone as well. True, you cannot just execute it and expect to work auto-magically, but there is quite a lot of ways you can make it work with some extra work. Generally there are 3 major ways to run X applications on the phone:
Right on the phone via XMirVia a compatibility layer called LibertineOff the phone but onto the Desktop via SSH with X forwardingIn the future directly: Ubuntu devs demo gtk apps running in MirXMir to the rescue
So Mir is a totally new display server somewhat based on Wayland, but it does come with a layer for compatibility with X. It is called XMir. It is said to …

Free Pascal development for Ubuntu Phone

Image
Introduction 
Freepascal compiler (see: freepascal.org) has long been available for both Linux and ARM platforms. It seemed to me that it should be straightforward to use if on Ubuntu phone, to say at least. And I was not interested in any cross-compiling type of setup. I wanted a true native way of writing, compiling, running and debugging code for Ubuntu phone, on the Ubuntu phone itself. This article will show, that this is in fact possible and painfully straightforward - yay!
There are however, few culprits. Everything is as easy as possible as long as you stay inside Ubuntu Phone's shell. As you use terminal environment to write code, and the code you write is a terminal application. Culprits will arise, however, when you go about using code editor in GUI mode, or going about writing a GUI application. This article will introduce and get into detail of those aspects in a rather shallow fashion, because GUI aspect of developing for Ubuntu Phone with Freepascal will be covered se…