[How-to] Show pictures from Android DCIM folder to the native SFOS Gallery

I am the type of user that uses CGam in order to snap pictures, and then uses native Sailfish apps in order to share them (Telegram Fernschreiber, Facebook through browser, etc.).
The problem was that the SFOS Gallery app would not show pictures from the android_storage/DCIM, although there is a whitelist line in the Pictures.permission file.

I solved this by creating a symlink in the /home/defaultuser/Pictures folder:

ln -s /home/defaultuser/android_storage/DCIM /home/defaultuser/Pictures

This is for other ppl who face the same issue like me.
If there is any matter of security tampering when using this method, please let me know!

Can you please check what gsettings get org.freedesktop.Tracker.Miner.Files index-recursive-directories gives for you? In SFOS 3.x this included /home/nemo/android_storage/DCIM and many other similar folders already, which also causes the Gallery app to show files under this directory.

@sebix, as I mentioned above, although the android_storage/DCIM is indeed included in Pictures.permission, Gllery did not show the Android images! :confused:

[root@Xperia10II-DualSIM defaultuser]# gsettings get org
.freedesktop.Tracker.Miner.Files index-recursive-directo
URES’, ‘&VIDEOS’, ‘$HOME/android_storage/DCIM’, ‘$HOME/a
ndroid_storage/Download’, ‘$HOME/android_storage/Picture
s’, ‘$HOME/android_storage/Podcasts’, ‘$HOME/android_sto

Pictures.permission is not the same as the tracker path - but your tracker path look fine to me (but I did not yet upgrade to 4.x to check because of the known issues).