~proycon

Eindhoven, the Netherlands

https://proycon.anaproy.nl

  • 🐧 FOSS software enthusiast
  • 🎓 Research Sofware Engineer, Natural Language Processing
  • 🐍 Python, 🌊 C, C++, 🦀 Rust, 🐚 Shell
  • 🔐 Privacy and Security
  • 📱 Sxmo co-maintainer
  • 🏡 Home automation
  • 🌍 Language enthusiast

See my homepage at https://proycon.anaproy.nl for further details and contact info.

~proycon/public-inbox

Last active 1 year, 6 months ago
View more

Recent activity

Re: [PATCH sxmo-utils] configs/default_hooks: drop symbolic links to three_button_touchscreen 23 hours ago

From Maarten van Gompel to ~mil/sxmo-devel

Thanks! Applied!

-- 

Maarten van Gompel (proycon)

web: https://proycon.anaproy.nl
gpg: 0x39FE11201A31555C

[PATCH sxmo-utils] sxmo_playerctl.sh: return should be exit a month ago

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]

Re: [PATCH sxmo-utils] Makefile: added 'release' target that does git tag a month ago

From Maarten van Gompel to ~mil/sxmo-devel

Marked as superseded

Re: [PATCH sxmo-utils v2] rework how we store VERSION a month ago

From Maarten van Gompel to ~mil/sxmo-devel

Looks good! Applied!

[PATCH sxmo-utils] Makefile: added 'release' target that does git tag a month ago

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]

[PATCH v2 sxmo-utils] sxmo_screenshot: workaround for slurp issues a month ago

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]

Re: [PATCH sxmo-utils 3/3] sxmo_timer.sh: finish as soon as it get killed a month ago

From Maarten van Gompel to ~mil/sxmo-devel

On Fri May 31, 2024 at 6:47 PM CEST, Willow Barraco wrote:
> I've sit on this for sometime. It continues to works fairly well. I've
> applied this!

The Makefile does:

    setcap 'cap_wake_alarm=ep' $(DESTDIR)$(PREFIX)/bin/sxmo_sleep        

We should take care to do the same when packaging for Alpine, and that implies
we need to include libcap-setcap as a dependency too (I didn't have it
install yet).

Re: [PATCH sxmo-utils] sxmo_screenshot: workaround for slurp issues 2 months ago

From Maarten van Gompel to ~mil/sxmo-devel

On Mon May 6, 2024 at 9:22 AM CEST, Willow Barraco wrote:
> > diff --git a/scripts/appscripts/sxmo_screenshot.sh b/scripts/appscripts/sxmo_screenshot.sh
> > index 8b41453..50c4c56 100755
> > --- a/scripts/appscripts/sxmo_screenshot.sh
> > +++ b/scripts/appscripts/sxmo_screenshot.sh
> > @@ -5,7 +5,6 @@
> >  # scrot refuses to work with double quotes
> >  # shellcheck disable=SC2016
> >  
> > -set -e
>
> Be carefull, without this, we can't exit slurp anymore (with Esc by
> example), and so we can't cancel the screenshot.
>

[PATCH sxmo-utils] sxmo_hook_statusbar: simple suboptimal notch implementation 2 months ago

From Maarten van Gompel to ~mil/sxmo-devel

* set SXMO_NOTCH to a string to use for the notch (length determines width), do not use spaces/tabs
* optionally set SXMO_NOTCH_PRIO to a placement value (trial and error)
---
 configs/default_hooks/sxmo_hook_statusbar.sh             | 9 ++++++++-
 .../sxmo_deviceprofile_oneplus,enchilada.sh              | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/configs/default_hooks/sxmo_hook_statusbar.sh b/configs/default_hooks/sxmo_hook_statusbar.sh
index 2c3c309..6e2871b 100755
--- a/configs/default_hooks/sxmo_hook_statusbar.sh
+++ b/configs/default_hooks/sxmo_hook_statusbar.sh
@@ -414,6 +414,12 @@ set_volume() {
	fi
}
[message trimmed]

Re: [PATCH sxmo-utils] Refact battery monitoring with upower 2 months ago

From Maarten van Gompel to ~mil/sxmo-devel

On Sat May 4, 2024 at 4:17 PM CEST, Willow Barraco wrote:
> This has been already applied probably?

Oh right, this stems from last year and was already applied... No idea
why I didn't notice that, perhaps the status was never updated. Marking
as applied to be sure.