by vlmutolo · 5y ago · 0 comments
I'm super impressed with the state of "convergence" here. Dragging a window over from a full desktop monitor to the phone was exciting to watch.
I doubt I would want to do development directly on the phone, but only because the phone is going to be underpowered compared to a desktop. But since it's just a standard linux distro on the phone, it probably wouldn't be too hard to set up the Librem to automatically pull the latest build from the desktop/laptop for testing purposes.
Convergence is great for productivity. Ubuntu Touch's main USP was that and I was even able to get it working in UBPorts on my nexus4[1].
It's a shame that convergence is still a hit or miss on android ecosystem, At this point of smartphone compute hardware & USB-C standardization we should be able to plug any smartphone to a monitor. At least Linux smartphone ecosystem is betting high on that.
[1] https://twitter.com/heavyinfo/status/1251048583190609920?s=2...
It was incredible going to school, sitting down at a random monitor and just having all of my vscode files and blender assets follow me around
What Samsung had was a a beta of running a Linux distro in a kind of isolated container on Android.
This also let you boot into Ubuntu 16.04 with external display and use things like VS Code.
Google changed something in their APIs preventing the beta from continuing on newer versions of android.
GNOME Builder uses Flatpak - when you press "run" button it does full flatpak packaging and runs the resulting package inside a sandbox. Of course you could still run such app natively, directly from the terminal, in which case it would be pretty much instantaneous :)
This isn't a swipe at Rust, per se: if you're using Rust you've probably already decided that build speed and portability aren't as important as memory safety and performance, and I'm sure that's often a valid trade-off.
I do think that "dev builds" should be much faster than release builds, and that means building natively should be default.
App runs well on Pinephone but building Rust GTK App on Pinephone takes forever. I did it once out of curiosity.
Luckily qemu cross compiling is easy to do on laptop and SCP it to phone, with native Linux SSH and root on phones it is refreshing.
Cannot wait for Librem 5 to get shipped, it's a lot more powerful than Pinephone, but I'm super happy to be experimenting on the future of Linux phones and convergence, regardless of where it ends up going.
Have you tried Lazarus on the Pinephone and the Librem5? It already runs on different ARM boards and apparently it does on the Pinephone too producing fast code.
https://forum.lazarus.freepascal.org/index.php?topic=52217.0
Check also the video on mega.nz linked in that thread.
Slightly related, there's a nice tool called x2x which combines two X displays on different machines, so moving the cursor off the side of one makes it appear on the other (AFAIK it works using a 1-pixel-wide window at the screen edge).
I used this to control my OpenMoko with keyboard and mouse (over SSH), in lieu of an external screen/'dock' like the article shows.
> But since it's just a standard linux distro on the phone, it probably wouldn't be too hard to set up the Librem to automatically pull the latest build from the desktop/laptop for testing purposes.
It's probably easiest to just SSH into the phone as needed, and use scp/rsync/sshfs/etc. to copy things across. If nothing else, it avoids the horrors of having to type commands via a touchscreen.
You can connect a keyboard to the phone as shown in the video. Bluetooth keyboards work too.
This approach allows me to ignore of the Android development pain, mostly develop on desktop and just focus on the device for final testing.
Naturally on that case Koltin isn´t part of the story.
Convergence has been held back by UX and UX alone.
It's the single most-requested feature at my bespoke secure technology firm.
I'm curious now, is your firm going to order a bunch of Librem 5 phones?
Basically it needs everything but the motherboard/cpu/ram meaning you need a $500 peripheral to turn your awesome $1000 dollar phone into a merely OK computer.
If you really want to save money you probably have a $400 laptop and a $100 phone. If you have money to spend a $1000 phone AND a $1500 laptop will be a nicer experience.
With support for arm software better than ever before and better hardware available cheaper than ever before its better than it has ever been for this idea but it would still be a compromise that you have to convince your customer they ought to both pay substantially for and accept.
I still use it every day, since it has my two-factor auth credentials (in GPG); although I transferred my SIM to a PinePhone last Christmas :)