Unity dash is no longer searching for files since I encrypted the drive and reinstalled Ubuntu (I'm not sure if this is the cause).
Searching for files usually shows me results from 'Recent' files if I have usage history enabled but that's not what I'm after.
Sometimes it does return results: (note that all these files are also on the same drive
**Edit: These files are actually in the 'Recent' category even though I have history disabled and cleared, in Privacy settings. Odd. Which means that in fact NO files are being found appart from the history.
Files on my main drive are also omitted.
It does however seem to be finding folders just fine:
This wasn't happening before I reinstalled Ubuntu 16.04LTS with encryption (both system and /home). But I'm not sure if that's the cause.
I tried changing
sudo updatedb as suggested in some other questions but that hasn't worked either.
This is the original content of the updatedb.conf file:
PRUNE_BIND_MOUNTS="yes" # PRUNENAMES=".git .bzr .hg .svn" PRUNEPATHS="/tmp /var/spool /media /home/.ecryptfs /var/lib/schroot" PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre tmpfs usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ecryptfs fusesmb devtmpfs"
P.S. Also, I'd like to know if there is a way to remove the recent files altogether. Since I have cleared and disabled the privacy settings and they still show up.