Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Nautilus on a Linux Mint 13 machine. When connected to a windows share, I have to manually refresh the contents to pick up file changes. Is there a way to make Nautilus auto-refresh?

share|improve this question

2 Answers 2

There's no way for inotify to handle network filesystems so it won't work over NFS/SMB. Automatic refresh in Nautilus used to be done with fam (see also Alex Larsson's reply here) or gamin (where you could configure polling interval etc).

I think you could install/configure gamin and give it a try.

share|improve this answer

As far as I've understood it, Nautilus uses inotify to detect file changes. Since Nautilus isn't showing the latest file changes...

When connected to a windows share...

...I'm guessing that the amount of files on your windows share (combined with what inotify is already keeping track of) exceeds the maximum amount of files that inotify is allowed to watch.

I'd recommend that you try to increase the default value of max_user_watches for inotify to something like 100000 or more:

echo 100000 > /proc/sys/fs/inotify/max_user_watches
share|improve this answer
    
Ill give it a shot... but were not talking about a large amount of files... maybe a couple dozen –  Keltari Sep 18 '12 at 19:50
    
didnt work for me. :( –  Keltari Sep 19 '12 at 18:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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