Desktop Apps on Ubuntu Phone

Table Of ContentClarificationTutorialApplicationsLimitations *also included in the Tutorial part is my digression about Ubuntu Touch platform (my criticism), and how I explain Canonical's failure at selling the concept. Clarification The label "Desktop Apps on Ubuntu Phone" is ambiguous and can potentially mean many things. For example, it could refer to enabling ARM based phone running Ubuntu Touch OS to execute x86 or x64 binaries, similarily like it is possible the other way around with virtualization or emulation. Especially interesting aspect is emulation. On Intel based Linux (but also on OSX or Windows) one can run qemu-system-arm based chroot container, and ARM instructions will get translated into Intel's on the fly. On Linux systems you can even better use so called architectural chroot, which is even better than qemu-system-arm based container, because it does not limit how much RAM you can assign to it. I mentionned this technique in my other post:  Part.1…

Part.1, Telegram Desktop on Raspberry Pi & Ubuntu Touch, The Story Of (2017)

Telegram does not include pre-compiled binary version of its Telegram Desktop application for ARM Linux. I decided to do two attempts today:
compile Telegram Desktop on ARM from sourcesafter running in on Raspberry Pi (Ubuntu Mate), try to also deploy it to Ubuntu Touch based phoneThis could have been just a regular step-by-step tutorial for reproducing an outcome. Instead I made it a complete journal/log of the process. Complete with dead ends and failures. I wanted this post to contain the story, the logic, the rationale and to allow for extrapolating this process to other ones that you, the reader, might deal with in the future. The general grand level problem here is this:

building and deploying software across multiple architectures of Ubuntu in a workflow distributed across desktop computer, raspberry pi board and Ubuntu Touch phone.

and this is only the Part 1, as the things didn't end up well the first time around. Still, you can learn about bunch of topics from this post:

- …

Geany on Ubuntu Touch device as text editor, source code editor, debugger and compiler for multiple languages

Just today I have commited an answer to Quora: Which is a good editor for writing C++ programs on the Ubuntu platform? after mistakenly reading that it was about Ubuntu Touch, when it was actually about Ubuntu in general.

So I decided to bring the content here, where it will not be an out-of-place content by mistake.

Geany is a GUI text editor which also supports multiple compilers including gcc or Free Pascal (fpc) which I use it mostly with. It also supports syntax highlighters for plethora of languages and formats. It is a GTK app, but you can get it up and running on your phone directly, without any container like Libertine. Without further do, below is the content I made on Quora.

Although I almost entirely write apps for UT devices in Pascal, but I did write a little in C++. I did not find any IDE as good as Lazarus IDE for Pascal, but at least for non GUI apps, I found Geany pretty convenient. It supporst many compilers, including gcc. Also it supports syntax highlighter for many…