jueves, 15 de enero de 2015

disable media scanner service in ubuntu

Since I upgraded to Ubuntu 14.10 everytime I plug an USB device I got a message "device is busy" specially whether the devices has a lot of media files and must of the times this is annoying. So, in order to disable this just do these steps:

1. open a terminal
2. from your /home directory just type: echo manual >> ~/.config/upstart/mediascanner-2.0.override
3. login again in order to update your profile

Whether you have several user accounts you should use this line instead:
sudo sh -c "echo manual >> /usr/share/upstart/sessions/mediascanner-2.0.conf"

that's it, try this time to plug/unplug your usb device and you'll see the difference.

Another approach would be to purge mediascanner but I read ubuntu-sdk uses mediascanner in several operations, in case you're developing for ubuntu touch for example, purge it would not be a good idea.

All the best

No hay comentarios:

Publicar un comentario