TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Making Librem 5 Apps [video]

295 pointsby ruph123about 4 years ago

22 comments

m463about 4 years ago
I have a librem 5.<p>At first I tried setting it up with a keyboard, mouse &amp; monitor, but it was a little fiddly to get everything usable.<p>I had a USB-C hub from a macbook with PD + ethernet + hdmi, but I couldn&#x27;t get the hdmi display to sync.<p>So I got another usb-c hub with ethernet + dp (+other ports) and that worked.<p>amazing: my phone desktop showing up on my 4k monitor!<p>So, that was pretty cool, but I still had a lot of fiddling to do - like which display the app comes up on, and how to switch things around. Also sometimes the display wasn&#x27;t recognized when I wanted it do - I think I had to reboot with the display plugged in, because hotplug sometimes didn&#x27;t work.<p>(There have been software updates since I tried this - it may be better now).<p>However, at the same time I ordered the second hub, I also got a $15 USB-C + PD + ethernet dongle.<p>Turns out that was <i>really</i> what I wanted. Let the phone be a phone, sit there charging and ssh&#x2F;scp into it from my regular system. I can access the entire filesystem.<p>All of this really drives things home about Apple.<p>When the iPhone came out, apple was breaking new ground, so people even accepted web apps, because before they had nothing. And with quality&#x2F;security, the app store made sense.<p>But after over a decade you realize that the apple ecosystem is more about control.<p>Why can&#x27;t I write my own apps (without asking permission&#x2F;eula). Why can&#x27;t I <i>run</i> my own apps without either signing up as a developer and paying, or renew some certificate every 7 days? Why can&#x27;t I plug all the things into USB and use them?<p>Apple has mindfully denied a lot of utility for their users. I thought maybe the mac usability would trickle over to iOS, but it seems the iOS lockdown has trickled over to the mac instead.<p>EDIT: wait. Let me say &quot;Thank You&quot; to the purism folks for doing this. It took a few years, but this phone makes me really really happy. I figure in a year or two it will let normal folks happily run their lives ios&#x2F;android-free.
评论 #26772856 未加载
评论 #26772979 未加载
vlmutoloabout 4 years ago
For a second, I thought, &quot;Man is it really that slow to compile a hello-world Python GTK app?&quot; I completely forgot he was doing this all on a phone.<p>I&#x27;m super impressed with the state of &quot;convergence&quot; here. Dragging a window over from a full desktop monitor to the phone was exciting to watch.<p>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&#x27;s just a standard linux distro on the phone, it probably wouldn&#x27;t be too hard to set up the Librem to automatically pull the latest build from the desktop&#x2F;laptop for testing purposes.
评论 #26772166 未加载
评论 #26772000 未加载
评论 #26772329 未加载
评论 #26772933 未加载
评论 #26771405 未加载
评论 #26772434 未加载
评论 #26771135 未加载
kop316about 4 years ago
This is also true of the pinephone. My entire dev set up for for the pinephone is on my pinephone. All I do is hook up a USB cable and SSH into it (which makes testing a lot easier since mmsd needs to talk to the modem).<p>What is really neat though is any apps that I develop on my pinephone work on the librem 5 too! Some of the bugs found and fixed on mmsd are from Librem 5 users, and I have been collaborating with the chatty dev (I assume he has a Librem 5, I&#x27;m 90% sure he is a Purism employee) with the work I do on the pinephone.
评论 #26770927 未加载
jodohertyabout 4 years ago
The key takeaway to me is that developing mobile apps for the Librem 5 on the Librem 5 is a first class development workflow.<p>This is great. Not having to worry about setting up toolchains on a separate platform, cross-compiling, and then signing&#x2F;transferring apps and running remote debugging sessions makes it easy to just build and test apps.
评论 #26770923 未加载
评论 #26785386 未加载
评论 #26770903 未加载
xrdabout 4 years ago
I&#x27;m reading a lot of the comments here and it seems the salient argument is that this will never replace Android or iOS because this or that.<p>99% sure those comments are correct.<p>But still, what gets me so hot and bothered is that it looks like purism and pine are making devices that cost almost the same as my other subsidized phone (android) AND might be a viable business EVEN IF there isn&#x27;t a critical mass.<p>Linux gets better and better every year even though it will never replace Windows or OSX.<p>The big deal here is that we might finally have an amazing phone that gives us a complete and awesome developer experience AND respects privacy and the right to tinker fully with our phones.<p>We&#x27;ve had that on the desktop but NEVER on our phones. This is a sea change that seems worth getting excited about. And it doesn&#x27;t matter if that doesn&#x27;t destroy or beat out the alternatives.<p>This device will never be the marketplace where app developers try to sell my kids shitty apps. Who cares. It doesn&#x27;t need to be the biggest to be interesting and incredible.
评论 #26775906 未加载
评论 #26777120 未加载
swileyabout 4 years ago
I&#x27;m a little annoyed it took this long to get reasonable smartphones, but I&#x27;m so glad they&#x27;re finally here.<p>--A happy pinephone user
评论 #26771856 未加载
toomanyducksabout 4 years ago
Honestly, I have no idea why I&#x27;m so surprised. This is what happens when you put desktop dev tools on an (albeit modified) desktop desktop environment on an (albeit modified) desktop operating system on a phone. Can&#x27;t wait for these devices to mature!
评论 #26771295 未加载
Netcobabout 4 years ago
It&#x27;s only a matter of time until we can develop smartwatch apps - on our smartwatch.
评论 #26770881 未加载
评论 #26772753 未加载
评论 #26784294 未加载
zeptoabout 4 years ago
More of this, is exactly the competition Apple needs.<p>Why doesn’t Google make an on-device Android studio?
评论 #26771497 未加载
评论 #26773657 未加载
SwiftyBugabout 4 years ago
This is quite impressive. I&#x27;ve always found the iOS development experience very smooth, but after seeing this I&#x27;m not sure about that anymore.
ruph123about 4 years ago
And of course the same goes for the PinePhone (albeit slower). I especially like that you can choose different languages for development although this is not a Librem&#x2F;PinePhone feature of course.
DangitBobbyabout 4 years ago
My dad is very suspicious of Google and concerned about privacy on his Android phone. Is there a Linux phone that&#x27;s polished enough for the non-savvy user?<p>Also, I have a couple of simple containerized apps that I run on my home network. Would I have any trouble running these on a Pinephone? Would love to hear from anyone with experience.
评论 #26771869 未加载
评论 #26777065 未加载
评论 #26772073 未加载
评论 #26772455 未加载
评论 #26776117 未加载
bitwizeabout 4 years ago
Imagine my excitement when I realized I could quickly develop apps for my PinePhone, <i>on</i> my PinePhone.<p>1) ssh -X in to PinePhone over usb<p>2) start Emacs on my desktop&#x27;s X desktop<p>3) code it up in Tcl&#x2F;Tk<p>4) for testing, set DISPLAY=:0 and run the script<p>5) Profit from rapid, iterative development right on the device!
yositoabout 4 years ago
That&#x27;s it. I&#x27;m ordering a Librem 5!
评论 #26772730 未加载
评论 #26771424 未加载
评论 #26770854 未加载
butzabout 4 years ago
What about web app support on Librem 5? Is it possible to add web apps to homescreen? App development using web technologies might be more accessible for developers.
评论 #26785231 未加载
评论 #26771527 未加载
pydryabout 4 years ago
How easy would it be to build anbox, so you could run Android apps?
评论 #26770892 未加载
评论 #26771087 未加载
评论 #26770913 未加载
akudhaabout 4 years ago
What do I need to know to develop Librem apps? Just Python?
评论 #26776875 未加载
评论 #26770968 未加载
评论 #26771071 未加载
评论 #26785566 未加载
qwertoxabout 4 years ago
This is what I want. How good is the hardware?
评论 #26770994 未加载
yepthatsrealityabout 4 years ago
Very cool demo!<p>I can see a future where Unix&#x2F;Linux machines take the pro-device market.
alvarlagerlofabout 4 years ago
I wonder if gtk will ever go declarative
评论 #26777327 未加载
I_am_tiberiusabout 4 years ago
Would love to be able to write apps in Typescript.
评论 #26777335 未加载
评论 #26773433 未加载
评论 #26774578 未加载
eptcykaabout 4 years ago
Had I put 600$ in the S&amp;P500 when I ordered my Librem 5, I would have 1068$ in S&amp;P500 shares. Now, I have occasional spam in my inbox about Librem 5 related blog posts. I expected to at least get a shipping date 2 years later. I understand the times have been tough, but nobody&#x27;s told me if my order is cancelled or if it&#x27;s still being worked on. I&#x27;ve seen some people receive their Evergreen phones. I&#x27;m OK with waiting, but being left out in the cold is starting to get to me.
评论 #26771857 未加载