dejvino / pinephone-sway-poc Goto Github PK
View Code? Open in Web Editor NEWSway UI configured for PinePhone (Proof Of Concept)
License: Apache License 2.0
Sway UI configured for PinePhone (Proof Of Concept)
License: Apache License 2.0
What I did:
Everything completed without errors as far as I could tell and I can still ssh into the phone. On the Pinephone screen however I only get a blank screen with blinking cursor in the top left after rebooting. I've started from scratch twice with the same result.
Hey!
I just received my PinePhone and the first thing I wanted to do was trying to set up an environment based on a lightweight wm, like sway. I discovered your work and it looks very promising!
My PinePhone is the manjaro edition, and I would like to stay with it as I like this distribution. Installing your poc shouldn't be an issue but I was wondering, don't you think you could create a full-featured manjaro distribution? The same way multiple editions are available for desktops, we could imagine a sway edition of manjaro for phones.
I'll be happy to help if you think it is a good idea, I am mostly a software engineer with experience in python and C++ (and an intensive i3 user on all my computers), I'm not sure I can help for UI and that kind of stuff but I can definitely help with configuration and scripting!
I was able to boot into sway and had a few things installed but hadn't really done any configuration. I then went to install this and now it won't let me log in to Sway. This seems to be abandoned so I am mostly leaving this issue as a warning to others.
https://xnux.eu/devices/feature/backlight.html
Be aware that LCD backlight and LCD panel controller and LCD panel interface are all separate parts of the display pipeline. If you turn off the backlight via sysfs, you're just turning off the light, but rest of the pipeline is still in full gear.
To get maximum power savings you need to shut down the entire pipeline using DPMS via KMS API.
cd lisgd && git apply ../patches/lisgd.patch
../patches/lisgd.patch:18: space before tab in indent.
transform);
warning: 1 line adds whitespace errors.
cd lisgd && make
make[1]: Entering directory '/home/kelbot/pinephone-sway-poc/lisgd'
lisgd build options:
CFLAGS =
LDFLAGS = -linput
CC = cc
cp config.def.h config.h
cc -c lisgd.c
lisgd.c: In function 'die':
lisgd.c:41:2: warning: format not a string literal and no format arguments [-Wformat-security]
41 | fprintf(stderr, msg);
| ^~~~~~~
cc -g -o lisgd lisgd.o -linput
make[1]: Leaving directory '/home/kelbot/pinephone-sway-poc/lisgd'
cp lisgd/lisgd /usr/local/bin/
Sway fails to start since elogind-inhibit that should start it fails with Access denied. Seems like some permissions need to be fixed.
Related file: /usr/share/wayland-sessions/sway.desktop
The rot8 configuration in the sway config file does not work, likely because x-file and y-file are not valid arguments apparently.
This is because the git clone command doesn't clone the forked version with the added args. This should be specified in the readme.
Very excited for a sway-phone, these scripts are super useful!
For me squeekboard was invisible when using exec squeekboard
in the sway config but it works when adding the file /usr/share/dbus-1/services/sm.puri.OSK0.service
[D-BUS Service]
Name=sm.puri.OSK0
Exec=/usr/bin/squeekboard
I am encountering issues with the lisgd patch:
cd lisgd && git apply ../patches/lisgd.patch
error: corrupt patch at line 61
bemenu is no longer in the postmarketos repositories
apk list menu shows no results to install
and apk add bemenu fails to install
Hi!
Which postmarket os image would I download?
I found only posh, plasma mobile and sxmo image
for postmarket os.
Could you share a Link.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.