~hallyn

Around

https://s3hh.wordpress.com

~hallyn/seccomp-ut-demo

Last active 5 months ago
View more

Recent activity

Re: 1.4.0 install report a month ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Mon, Mar 29, 2021 at 10:26:28PM -0400, Drew DeVault wrote:
> I have found the new release to be much improved, nice work everyone!
> 
> Some things which worked fairly painlessly:
> 
> - Incoming and outgoing SMS
> - Incoming and outgoing phone calls
> - Wifi and LTE setup
> - The new on-screen keyboard
> - Gestures
> - Camera
> - Bluetooth
> - Various things besides
> 

Re: I tried to enhance our sxmo keyboard (here's my proposition) 2 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Sat, Mar 06, 2021 at 01:36:39PM +0100, Stacy Harper wrote:
> 
> Hello everyone !
> 
> I took some time to work on an svkbd layout that would satisfy me.
> 
> tl;dr here is the v1 demonstration:
> 
> https://tube.misterbanal.net/videos/watch/a308ab44-197c-4e3f-b501-61fda2b55ad0

So I see you tapping away at the 'switch layout' button several times to get
it to switch once, which reminds me of my own frustration with that button.
Would be nice if swipe-right and swipe-left would go fwd/back through the list
of layouts.

Re: [Comments Needed] Is SXMO+pinephone Daily Driver? 2 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Thu, Mar 04, 2021 at 06:08:08PM -0600, Miles Alan wrote:
> Nice to read everyone else's take too, I have some overlap in my
> painpoints. While I would love the Pinephone to be my daily driver, I
> admit its still currently an auxiliary phone for me. I know over time /
> eventually the Pinephone & Sxmo will win out in terms of reliability
> (as FOSS software always does), but its still maturing.
> 
> Here's the main pain points for me (and things I should work on when I
> get some free time):
> 
> - CRUST: TBH seems like reliability is in constant flux on pmOS,
> occasionally things freeze up. It's not difficult to fix these issues
> with the initcall_debug kernel param but its a pain to constantly have
> this inadvertently breaking. I'm tired of the instability.

Re: [Comments Needed] Is SXMO+pinephone Daily Driver? 2 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Thu, Mar 04, 2021 at 03:23:05AM -0500, Anjandev Momi wrote:
> I have seen questions around the internet whether the pinephone is daily driver
> ready. Of course, whether it is depends on your use-case. I thought it
> would be worthwhile to make a thread where sxmo users can comment on what
> they use their pinephones for. As such, potential pinephone buyers interested
> in sxmo can see if it's a buy.
> 
> Ill go first:
> 
> I am daily driving sxmo+pinephone. I use my android phone for taking
> pictures (postmarketos' megapixels app is broken temporarily) and that's
> it.
> 
> I use my pinephone for:

Re: [PATCH sxmo-utils] Close windows in a more "graceful" way. 2 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Mon, Mar 01, 2021 at 09:25:12AM +0100, Fernando wrote:
> > I would not want a popup in response to a swipe gesture to make a window
> > go away.
> 
> But that is exactly what some applications might decide to do when
> receiving a "SIGTERM".
> 
> The only difference between directly sending a SIGTERM and using
> the WM_DELETE_WINDOW event is that you are using a different
> callback (one that is more likely to have been registered by the
> underlying toolkit the application is linked against) *and* that you

Right but the *are* different callbacks.  And while I don't know what
the cool kids do these days, I would think I'd have treated them

Re: [PATCH sxmo-utils] Close windows in a more "graceful" way. 2 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Sun, Feb 28, 2021 at 07:12:31PM +0100, Fernando Ramos wrote:
> On 21/02/28 09:51AM, Serge E. Hallyn wrote:
> > 
> > Why not get the PID and send it a sigterm, then after 2s kill it harder?
> 
> That is (more or less) what happens when you use the "Shift+Alt+C" combo,
> except that "Shift+Alt+C" could be considered a more general solution because,
> instead of always using SIGTERM, it might trigger a different action that is
> better suited for the underlying process.
> 
> In particular, this is what happens when you use "Shift+Alt+C":
> 
>   1. DWM sends the "WM_DELETE_WINDOW" to the X server, who forwards it to the X
>      client.

Re: [PATCH sxmo-utils] Close windows in a more "graceful" way. 2 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Sun, Feb 28, 2021 at 02:40:52AM -0500, Anjandev Momi wrote:
> > This doesn't give the application inside the window any chance to do anything
> > which, in the case of Firefox, causes the "restore session" message to pop-up
> > the next time it runs (but, for some reason, not always).
> >
> > I found out that using "xdotool key shift+alt+c" also closes the window while
> > giving the application an opportunity to gracefully shut down (this happens
> > because wdm sends the WM_DELETE_WINDOW message before killing the X window).
> 
> The two finger swipe should close windows in a graceful way in my
> opinion and this patch looks good to me. I will wait till ~proycon
> weighs in though to see if I am missing a use case.
> 
> > WARNING: While this new command is "nicer", it also does *not* immediately close

[PATCH] sxmo_weather: add wind direction 5 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

It's important for me to see wind direction in addition to speed.  I
understand most people probably don't care, so we should probably show
this only if xinit sets WEATHER_WIND_DIR=1?  But we can bikeshed that
later, for now here's what I'm using on my phone right now.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
---
 scripts/appscripts/sxmo_weather.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/appscripts/sxmo_weather.sh b/scripts/appscripts/sxmo_weather.sh
index faaf3c3..00acd5e 100755
--- a/scripts/appscripts/sxmo_weather.sh
+++ b/scripts/appscripts/sxmo_weather.sh
[message trimmed]

Re: [PATCH 2/2] Missed call rework: Use dbus to check for missed calls & properly delete pickup 5 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Sun, Nov 08, 2020 at 11:56:21AM -0600, m@milesalan.com wrote:
> From: Miles Alan <m@milesalan.com>
> 
> Use dbus to monitor for missed calls. Missed calls used to work but had a
> regression due to the work to make text/calls used dbus. This adds the proper
> dbus hook for missed calls as well and also changes the incoming call
> notification to allow for multiple incoming calls (theoretically).
> 
> Tested for a single caller and transitioning the pickup notification
> into a missed call notification and all is working good.

Oh awesome, thanks!  Yeah dbus is definately not my forté.

> ---

Re: [PATCH] sxmo_modemdial.sh: quiet the grep 6 months ago

From Serge E. Hallyn to ~mil/sxmo-devel

On Mon, Nov 02, 2020 at 10:26:14PM -0500, Anjandev Momi wrote:
> Hi Serge,
> 
> I can indeed reproduce your bug and reproduce the fact that your patch

Ah - phew!  I was very worried that I must have been missing something
obvious, if it didn't happen for others :)

> solves this issue. Sorry I couldn't be more of a help on irc earlier this
> morning and I appreciate you taking the time to write this patch.
> 
> I have merged this patch in. Thank you for your patch!
> 
> Anjan Momi