I want to monitor file/files changes during the changing any settings. I can monitor changes by using dconf watch / but this command just monitoring path for settings and I want its file not schema path. Is there any tool/command to monitor file changes?

I only want /path/to/filename from result of monitoring.

For example I want to know which file changes after changing my brightness setting.

1 Answer 1


You can use the command line tool inotifywatch from the package inotify-tools.

If you want to monitor all files in you home directory for change, use this command:

inotifywatch -r $HOME

Probably the command will raise an error because the upper limit of watches is reached. You can change those with

sudo sh -c 'echo 16384 > /proc/sys/fs/inotify/max_user_watches'

(adjust the number accordingly)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.