I'm quite confused about notifications in , I create the files as specified and they actually make the phone buzz only very rarely (but sometimes!) and only then the diode turns green. They do show up in the notification menu though, so they are not completely wrong.

I know that the monitoring script has quite obvious async bugs, but it seems to work for smses and some other sxmo-initiated notifications pretty consistently, so I'm confused...

Anyway, anyone encountered similar problems?

Oh goodness, I got it, if I create and fill the file in one go it gets ignored, I have to fiddle with it afterwards to trigger scripts... how silly.

@timorl Is it only watching for changes to files that exist? Maybe I should write that version of inotify(1) that actually makes sense...

@robryk I don't think the issue is with inotify, it looks as if the sxmo people consciously wrote it ignoring file creation. I haven't seen a good reason for that, but I really hope one exists.

@timorl It would need to be _very_ good to make sense, because there's no such thing as atomically changing a file.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.