blob: ed7279662ef10682d1749cd2786b860ef8052ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
"name":"phonelock",
"friendly_name":"phonelock",
"description":"Wayland screen locker for mobile devices",
"state":"archived"
}
Using Linux on smartphones becomes more and more realistic. An excellent place
to get software, documentation and new contacts is the
[postmarketOS](https://postmarketos.org/) distribution. Mind especially the
[devices page](https://wiki.postmarketos.org/wiki/Devices) where I found the
[OnePlus 6](https://wiki.postmarketos.org/wiki/OnePlus_6_(oneplus-enchilada))
from 2018 I am currently using.
Since using a desktop like Gnome or a window manager like Sway is not a lot of
fun on a mobile device, you need a proper user interface. postmarketOS has a
wiki page about suitable [user
interfaces](https://wiki.postmarketos.org/wiki/Category:Interface). My personal
preference is [Sxmo](https://sxmo.org/) based on the tiling window manager
[Sway](https://swaywm.org/) and Wayland.
While Sxmo works great for me it has currently no screen locker. The default
screen locker for Sway is [swaylock](https://github.com/swaywm/swaylock) which
is developed for desktop environments with a keyboard only. This does not work
well on a phone with a virtual keyboard.
Since I do not want to leave my primary phone without a screen locker it is
time to write one! Furthermore this is an opportunity to learn about the
Wayland protocol and the [Cairo](https://www.cairographics.org/) graphics
library.
|