First time working with inotifywait from inotify-tools. I wanted to detect when XFCE changes the display configuration:
Code:
inotifywait -qq -e modify ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
The line above waits indefinitely though, even when I can confirm the file has changed. Running without specifying "-qq -e modify" works, but prints ATTRIB. Apparently on the grounds of catching an attribute change i.e. the modification date it can detect a change.
Is this expected, and do I not understand the program? Or is it some quirk in my setup, like my file systems (NTFS)?