Hey everyone. I figured some people in the forum might find my latest post interesting, not just from the point of view of how easy it can be to develop simple Librem 5 applications, but also because the application I wrote lets you scale the Librem 5 screen from the default 2x all the way down to native physical resolution.
By scaling to a different size I was able to make normal desktop applications that ran but just didn’t fit on the screen work. Wireshark is the example I use in the article but there are a number of apps that will benefit from this until the upstream developer can get around to making the UI adaptive.
Very cool. Just to clarify: this changes screen setting for everything, not just one target program/window - which I imagine isn’t possible to accomplish at the moment (with this at least?). Looking at the git code of wlr-randr, it seems, it can be used to rotate screen too…
it’s so good that you guys had the time to spread a few Librem 5 around before the quarantine in China-Wuhan … the rest of us will have to suck it up some more for dogwood and evergreen > https://puri.sm/posts/coronavirus-delays/
Given that “desktop” is itself a metaphor - people tend to forget that there was a time when there were actual desks with tops and pieces of paper and pens and other stationery and office items - perhaps it is OK to continue using “desktop”.
In any case, if and when we have convergence then the Librem 5 kind of replaces your existing desktop / laptop, so again “desktop” could be OK.
We’ll probably never get rid of desktop, but how about the less used “workspace”?
For some reason, I have the urge to find a desktop wallpaper of a desktop. Maybe someday we’ll have a retro theme for L5 that actually makes the “phonetop” look like a desktop of yester-years - files, dossier folders and (floppy)disc and filecabinet icons
For development: there was ablog post about screen illumination levels - how a bout adding these scaling and rotation controls available there too as a permanent feature. Would be easier to find all screen related stuff there in one place, even if someone prefers also to use this separate app…
Desktop, workspace… The first GUI “desktop” I used was GEOS on my C=64. It took the desktop metaphor very literally. Later, the OS/2 Workplace Shell. Phosh Desktop works for me!
There has been some work on the team to do one better and automatically detect when an application is trying to use more space than would fit on the screen and scale accordingly. We have a proof-of-concept that’s not yet merged:
My guess would be that the window manager does little to scale the image, but the scaling options simply overrides the DPI exposed to applications so they think the screen is larger than it actually is. Will probably work great for applications built on modern toolkits like GTK and Qt but probably won’t work at all for other applications like games would be my guess.
I don’t understand enough about Wayland to know exactly how it achieves it, however from the application standpoint by default it is presented a resolution that is 1/2 of the actual resolution the phone supports (aka 2x scaling). You can scale it all the way up to 1x scaling, which presents the application with the full 720x1440 resolution.
The Librem 5 will have a 720×1440 5.7” screen. Given the resolution, it is going to use a scale of 2, leaving us with 360×720 points in portrait mode and 720×360 points in landscape mode.
Scaling the screen is a very useful application that can prove useful on many occasions: why not install it by default on the Librem5?
Maybe like others, for example a script to add flatpak or the other, by Kyle, on the backup, they are useful applications that could already be found on the mobile phone.
Regards
We are looking to add a feature that would do this automatically so you wouldn’t need the app at all. We are looking into packaging all of my scripts though for people who may want them but don’t want to go to the trouble of getting them from git.
Nice to see a good idea going from concept to benefit everyone. From the new blog post and video it seems that something is already there. Also nice. Makes me all warm and fuzzy inside to see everything coming along (unless it’s something else ). [edit to add: also kudos for informative graphics, as now there’s visual and data that things are developing for the better]
One thing: I know some USB-peripherials (the USB-port) that I’d like to use on top of the phone - would it be possible to switch the screen 180/upside down somehow (now there seems to be only the 90/side option)?