• 1 Post
  • 16 Comments
Joined 1 year ago
cake
Cake day: September 15th, 2023

help-circle









  • Just the other day I wrote something just like this, but I used inotify.

    I have to monitor a fairly small direcotry tho, so I didn’t encounter any problem.

    both of which use the inotify interface and attempt to set watches on each individual subdirectory

    Is this really necessary? Inotify’s man page says it can monitor a whole directory with only one watch, so that’s what I did and it looks like it’s working

    I didn’t make a lot of tests tho, so I might be wrong

    Edit: from the inotify man page:

    Inotify monitoring of directories is not recursive: to monitor subdirectories under a directory, additional watches must be created. This can take a significant amount time for large directory trees.

    Yeah, it is necessary. That’s what I get for not reading the whole thing.








  • I don’t have time right now to read all the post, i only read up to the desktop grid, but i have to ask: have you ever heard about i3wm? I think you might like it.

    And if you do know it, do you know of any way to implement a desktop grid? I have the same problem you have with alt+tab and it would be the best thing ever