We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2013-12-29 18:40:58 +0200

How to blacklist directories from being indexed by tracker?

To prevent e.g. all the pngs/gifs from random web developer stuff in memory card being indexed and shown e.g. in gallery.

I'm using my phone in developer mode, have symlinked my sdcard under home directory and happen to have directories with gif/png icons, logos and other similar technical graphic files on my sdcard. The problem is that now I see all not only my camera photos but also all technical pngs and other graphics from my sdcard in the gallery app.

I tried to make a good guess and added $HOME/.config/tracker/tracker-miner-fs.cfg, but that was removed as soon as I restarted the miner.

How to blacklist directories from being indexed by tracker?

Edit: put a file called .nomedia in the folders you do not want to have indexed

To prevent e.g. all the pngs/gifs from random web developer stuff in memory card being indexed and shown e.g. in gallery.

I'm using my phone in developer mode, have symlinked my sdcard under home directory and happen to have directories with gif/png icons, logos and other similar technical graphic files on my sdcard. The problem is that now I see all not only my camera photos but also all technical pngs and other graphics from my sdcard in the gallery app.

I tried to make a good guess and added $HOME/.config/tracker/tracker-miner-fs.cfg, but that was removed as soon as I restarted the miner.