Eindhoven, the Netherlands
See my homepage at https://proycon.anaproy.nl for further details and contact info.
From Maarten van Gompel to ~mil/sxmo-devel
Note: If you have no Android/iOS instance to link to as primary device, you can run signal-cli (either on the same device as flare or on any other), that also allows you to register a number. --- configs/default_hooks/sxmo_hook_apps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/default_hooks/sxmo_hook_apps.sh b/configs/default_hooks/sxmo_hook_apps.sh index c1417f1..0104d49 100755 --- a/configs/default_hooks/sxmo_hook_apps.sh +++ b/configs/default_hooks/sxmo_hook_apps.sh @@ -56,6 +56,7 @@ write_line_app evince "$icon_bok Evince" "evince" write_line_app falkon "$icon_flk Falkon" "falkon" [message trimmed]
From Maarten van Gompel to ~mil/sxmo-devel
This documents the PEANUTBUTTER_PASSCODE environment variable and the visual feedback. --- README.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9fb7d38..9993fea 100644 --- a/README.md +++ b/README.md @@ -70,11 +70,26 @@ When peanutbutter crashes, ssh into your phone and check the `/tmp/peanutbutter. # Controls [message trimmed]
From Maarten van Gompel to ~mil/sxmo-devel
It wasn't clear to me whether a touch registers, as we need to press the power button twice in sxmo. Now there is visual feedback after each touch; the background image will be flipped. (this should be applied on top of the previous patch) --- src/main.rs | 2 +- src/wayland_protocol.rs | 132 +++++++++++++++++++++------------------- 2 files changed, 72 insertions(+), 62 deletions(-) diff --git a/src/main.rs b/src/main.rs index d64f78f..d5b2525 100644 --- a/src/main.rs [message trimmed]
From Maarten van Gompel to ~mil/sxmo-devel
The PEANUTBUTTER_PASSCODE env variable takes an integer (arbitrary length) where numbers correspond to quadrants:
1: top left
2: top right
3: bottom left
4: bottom right
The default code is 1132 (as it was before), if no environment variable
is set, it will default to that.
There is no 'clear' function anymore, the code is stored in a fixed-size
stack (fixed to the length of the set password).
On error, simply start typing from scratch. The password is checked
after each touch. This sacrifices some
security for convenience.
[message trimmed]
From Maarten van Gompel to ~mil/sxmo-devel
Thanks! Applied! -- Maarten van Gompel (proycon) web: https://proycon.anaproy.nl gpg: 0x39FE11201A31555C
From Maarten van Gompel to ~mil/sxmo-devel
In scoprion2185's log I saw: /usr/bin/sxmo_playerctl.sh: line 31: return: can only `return' from a function or sourced script As far as I checked, sxmo_playerctl is indeed called normally rather than sourced so it should be exit instead of return, this patch fixes that. --- scripts/core/sxmo_playerctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/core/sxmo_playerctl.sh b/scripts/core/sxmo_playerctl.sh index 7acd775..fd60812 100755 [message trimmed]
From Maarten van Gompel to ~mil/sxmo-devel
Marked as superseded
From Maarten van Gompel to ~mil/sxmo-devel
Looks good! Applied!
From Maarten van Gompel to ~mil/sxmo-devel
This may help us not forget to set VERSION in Makefile when releasing, and offers a place for further checks. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e9c87c6..96a95ee 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ EXTERNAL_SERVICES:=1 SCDOC=scdoc [message trimmed]
From Maarten van Gompel to ~mil/sxmo-devel
We've already had a number of patches attempting to resolve this issue,
and an upstream PR to slurp pending for quite a while. I think we need a
solution in the meantime that would work even on the broken version of
slurp (in case distros are behind once a fix is released).
This version also copes with the fat-trembling-finger problem and will
simply take a screenshot of the whole screen if the selection is too
tiny to be reasonable (which may be an issue even in the fixed slurp).
Ref: https://lists.sr.ht/~mil/sxmo-devel/patches/49367
Ref: https://lists.sr.ht/~mil/sxmo-devel/patches/49719
Ref: https://lists.sr.ht/~mil/sxmo-devel/patches/44258
Ref: https://github.com/emersion/slurp/issues/140
Ref: https://github.com/emersion/slurp/pull/141
[message trimmed]