View Single Post
Old 08-08-2011, 07:20 PM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,862
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by sej7278 View Post
can we make it so this isn't the default behaviour?
Once again: calibre does not set itself as the default handler for any file type, on any operating system. I absolutely detest programs that do that.

On linux calibre uses the freedesktop.org recommend tools, xdg-mime and xdg-desktop-menu to tell your desktop of the mimetypes it is capable of handling. If your desktop environment chooses to then make it the default, over your objections, then your desktop environment's implementation of xdg-mime and xdg-desktop-menu is broken, and you should open a bug report with your distro maintainers.

If you don't believe me, feel free to examine the calibre source code, the relevant portion is the function setup_desktop_integration() in src/calibre/linux.py.

Last edited by kovidgoyal; 08-08-2011 at 08:25 PM.
kovidgoyal is online now   Reply With Quote