How to get rid of the Banner ‘media contains digital photos’ downloads bluetooth linux mate for ever [solved]

Problem:
When I look in my SD card, caja throws up a stupid blue banner saying “The media contains digital photos”

Cause:
Not entirely sure.  Related to gthumb-import.desktop, which has the text “Import with gThumb” which is in /usr/share/applications/gthumb-import.desktop
Nothing in mateconf-editor to tweak as well.  Bad coding…
Uninstalling  gthumb and any other image program got rid of the banner, but that is not desirable.

Solution:
Open/create the file /home/$USER/.local/share/applications/mimeapps.list and add these lines (reference http://www.freedesktop.org/wiki/Specifications/mime-actions-spec)

[Removed Associations]
x-content/image-dcf=gthumb-import.desktop;
x-content/image-picturecd=gthumb-import.desktop;brasero.desktop;

then update the mime database and killall instances of caja
sudo update-mime-database /usr/share/mime
pkill caja

Do not get happy and try modifying /usr/share/applications/mimeinfo.cache as it will get overwritten without warning.
Reference: http://www.allquests.com/question/1705936/This-media-contains-digital-photos.html

Had a similar problem with the Downloads directory, same stupid blue banner again, “Personal File Sharing”, “You can receive files over Bluetooth into this folder”.
This time I uninstalled the bluetooth sharing agent:
mate-user-share
and did another pkill caja

in mateconf-editor the key /desktop/mate/file_sharing/bluetooth_obexpush_enabled looks suspicious

To all the retards that want these helpful hints, download Ubuntu please or better yet, purchase Windows / Mac OS.

WindyCityTech Blogger
WindyWindyCityTech WordPress

3 responses to “How to get rid of the Banner ‘media contains digital photos’ downloads bluetooth linux mate for ever [solved]

  1. Brilliant, thanks! Only half way there, though: browsing the "SD card" on my Android, I still get a banner saying "These files are on a digital audio player" and a button offering to open Banshee in Caja. What code would I add to mimeapps.list to get rid of that, too?

  2. Thanks.I can't understand why developpers could put such intrusive and uninteresting messaegs without any option to dismiss them.So far so long, mate-user-share has gone, and it's stupid messages alltogether.Thanks you again !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s