3

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

11

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)

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .