~aren

~aren/public-inbox

Last active 2 years ago
View more

Recent activity

Re: [PATCH sxmo-utils] postmarketOS: detect if on systemd and use systemd 23 days ago

From Aren to ~mil/sxmo-devel

Other replies have pointed at the relevant systemd documentation, which
looks straight-forward to implement. I'm in favor of this patch with
that change implemented. Marking as needs revision for now.

Here's the link again just in case:
https://www.freedesktop.org/software/systemd/man/latest/sd_booted.html#Notes

On Tue, Nov 19, 2024 at 11:17:20PM -0800, Anjandev Momi wrote:
> I want to give users the option to use systemd on postmarketOS. This
> is a draft patch.

> How do we enable user services on systemd distros? Do we use superd on
> systemd distros?

Re: [PATCH sxmo-utils] sxmo_hook_contextmenu.sh: fixed sxmo_type to sxmo_type.sh 23 days ago

From Aren to ~mil/sxmo-devel

On Wed, Dec 18, 2024 at 04:03:06PM +1000, hazardchem wrote:
> > sxmo_type() {
> > →   sxmo_type.sh -s 200 "$@" # dunno why this is necessary but it sucks without
> > }
> > 
> > Someone remember why? Does it works if we drop this?

IIRC sometimes applications will skip key presses if they come in to fast.

> Looks like that is an alias for sleep in xdotool and add a delay in wtype.
> 
> Could we look at instead including that into sxmo_type.sh, using a delay between
> each command if needed.

Re: [PATCH sxmo-utils 2/2] desktop mode: enlarge the workspace wrapping 23 days ago

From Aren to ~mil/sxmo-devel

LGTM, Applied

To git.sr.ht:~mil/sxmo-utils
   f059c9b..ac13f77  master -> master

Re: [PATCH sxmo-utils] deviceprofile: Extend samsung,coreprimevelte configuration 23 days ago

From Aren to ~mil/sxmo-devel

LGTM, Applied

To git.sr.ht:~mil/sxmo-utils
   0457e35..94fc8cd  master -> master

Re: RFC: Sxmo state improvements -- partial implementation 25 days ago

From Aren to ~mil/sxmo-devel

I wrote a proof of concept based on what I described in the previous
message. In some ways it works nicely, and in others it's still quite
lacking. Source is available here for anyone who's interested:
https://git.sr.ht/~aren/wip-lock-states.

side note: the zig code is a mess / isn't worth taking the time to
understand, all it does is provide a wait_idle function to lua that
blocks until the system has been idle for a given time or there was an
unidle event.

What follows is my takeaways from that. What worked, what didn't, and
what might need work upstream (I ran into limitations with the wayland
protocol).