Showing posts from 2016

Ubuntu Touch Onscreen Keyboard QML hack for transparency

DISCLAIMER:Apparently this is already being addressed as a resolution to a bug/feature report I filed at:
So by the time you are reading this, might already be obsolete, hopefully ;)

All started with me being frustrated when the onscreen keyboard on my Ubuntu Touch phone overlapped the portion of the window that I was typing text into, so I could not see what I was typing. I quickly shared my complaint online along with a conceptual transparent maliit keyboard, which was just a retouched photo:

Well, very soon after help came from a Google Plus user who +Kugi Javacookies helped me with QML, because I'm not familiar at all with QML, never used it. This hack is very simple if you don't mind using command line, as it only requires editing one file:
/usr/share/maliit/plugins/com/ubuntu/Keyboard.qml on your phone, using editor you like. I used mcedit, because I think it is the most user friendly terminal mode editor. …

Easy containers on Ubuntu Touch with qemu-debootstrap

There are few ways to use containers on Ubuntu Touch, but my favorite one is using qemu-debootstrap. This is a layer atop debootstrap, which is easier to use. But it does require a package that is not present on the Ubuntu Touch by default, and approx 80MB of additional disk space. This is only if you are going to build containers, and you do not need it to just use the containers once they are already created and distributed. So without a further do, I will cover these topics:
Installing qemu-debootstrapCreating containersUsing containersConfiguring X forwarding for containers (for using GUI apps from container)DESCLAIMER: using qmu-debootstrap in conjunction with qemu-system-arm has one amazing advantage: you can actually fully create the container on your Ubuntu Desktop x86_64 because the qemu-system-arm will emulate ARM architecture. In this article Iam showing you steps for doing everything on your Ubuntu Touch device, but I want you to know that you don't have to. Sometimes b…

How I use Linux to write software for multiple target platforms

This article has everything to do everything with Wine - a pure magic that makes it possible for native Windows executables to run on POSIX compilant operating systems like Linux, MacOS or BSD. Just if you don't know about Wine yet, read about it: FAQ - WineHQ WikiWine on Wikipedia In short: wine runs windows programs on Linux, MacOS and BSD, and it does not use virtualization or any sort of emulation. 
If you cannot or do not want to target Linux but you are targeting Windows, the least you can do it to make it wine compatible.  If your Windows software works under wine, I will pay for i to use it on Linux.  As far as Linux users are concerned, you already are targeting them too, when you remember about wine.
While I do not know much about popularity of it on MacOS or BSD, I dare to claim that it is truly widely used by Linux desktop users. Also, it probably is most tested and most stable with Linux, although theoretically it can be supported by any POSIX c…

Delphi VCL/FMX for Linux before the official platform support

There was a time when Borland approached Linux platform in a Delphi's "clone" called Kylix.
This product eventually reached its end of life after the last release of Kylix 3 on August 2002.
Currently in the era of Delphi XE with Firemonkey, we can finally target more platforms than Windows. However, Linux is not yet among those targets. We now can officially see the support for Linux server in the roadmap, but no mention about the Linux desktop development so far.
This article will show you that you can quite easily target Linux desktop users already now, not only with Firemonkey, but even with VCL, so from most recent Delphi XE versions all the way back to probably Delphi 3. 

This article will cover:
Wine - running Windows apps on Linux, BSD, Solaris and Mac without VM or emulatorPre-Firemonkey cross platform software with Delphi VCLFiremonkey applications tailored for WineCode snippets

Wine - running Windows apps on Linux, BSD, Solaris and Mac without VM or emulator

So, just …

Lazarus development for Ubuntu Phone

This post will cover:
Why LazarusInstalling Lazarus IDE on the phoneUsing phone-installed Lazarus over SSHDevice-specific aspects of developing software with LazarusNative execution on the Ubuntu phoneSoftware publishing and distributionAppendix: tools and scriptsbut just before all this, here is a 30 min video I recorded especially to go with this post:

And these are earlier attempts, where I actually ran lazarus inside a headless X server in a container with an openbox window manager and accessed via VNC. Yes, it was a bit of an overkill, but you gotta start somewhere, and at least I made a progress by now already:

Why Lazarus

Most of people when they hear "Lazarus" they have no idea what that is. Then they hear "Free Pascal" and they think/say: "Pascal?? Someone is still using this? I learnt it at junior high..."
Well, they probably have vague memory of Borland Turbo Pascal, an rather ancient compiler crafted for DOS (Disk Operating System), of which the l…