axet

Results 184 comments of axet

Debian 12. I can test and apply patches. But it is hard to reproduce. It only happens on bad SD cards, and I already dispose all of them.

What is the purpose to call fdatasync on readonly file descriptor? Can this call just be removed?

Dirty pages from man page are pages can only occurs when writing file, you working it read only. You wrote the file, closed it. No unwritten cache left. Then open...

fclose man page explicitly saying: "Any unwritten buffered data are flushed to the OS. Any unread buffered data are discarded. ". You do not even need to call fsync before...

gnome inhibitors != systemd inhibitors. So here we are: ``` dbus-send --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.GetInhibitors ```

Basically gnome inhibitor == screen lock / screen saver inhibitor. Workaround would be disabling (inhibit_screensaver=0) in cofing file. I hope crashing / killing PID would not affect resuming normal screen...

For better gnome inhibit managment you can use this script: * https://gitlab.com/axet/homebin/-/blob/debian/caffeine ```caffeine --list```

I'm using 1.7 version from debian repo, it is save as from github. How exactly do you kill the process? For example, 'killall sleep' will not work (inhibitors will be...

Debian Bookworm (recent release, Debian 12) ```java class JavaComments { public: String testCommentSegment = "ok"; } ```

My provided "steps to reproduce" are not correct. Sometimes lock got released. Sometimes screen never went off. I had to test it.