I'm using Ubuntu 14.04 and when I'm doing experiments which creates new files inside a particular folder X. But I can't see these new files inside X without refreshing X.
I have increased the count to 1M in
/proc/sys/fs/inotify/max_user_watches
but still the issue is not fixed.
How to fix it?
EDIT
As suggested, output of cat /etc/xdg/autostart/user-dirs-update-gtk.desktop
[Desktop Entry]
Encoding=UTF-8
Exec=xdg-user-dirs-gtk-update
Name=User folders update
Comment=Update common folders names to match current locale
Terminal=false
OnlyShowIn=GNOME;LXDE;Unity;
Type=Application
StartupNotify=false
X-KDE-autostart-after=panel
NoDisplay=true
X-Ubuntu-Gettext-Domain=xdg-user-dirs-gtk
Best Answer
The changes are not permanent, therefore
Edit the file
/etc/sysctl.conf
Add the line below, eg
Reload the changes
You should see something like this
and with
cat /proc/sys/fs/inotify/max_user_watches