Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 04-17-2016, 11:16 AM   #1
porphyry5
Connoisseur
porphyry5 began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
Prevent calibre making itself default app for unassigned document types

arch linux

When calibre installs, it sets itself as the default app for any type of document that does not have a default app already set for it. How do I cancel/prevent that feature. I do not want calibre to be the default for any type of document. Thank you for your help.
porphyry5 is offline   Reply With Quote
Old 04-17-2016, 11:50 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You should probably complain to the freedesktop people.

All calibre does is install *.desktop files for the GUI applications it offers.
`update-desktop-database` is responsible for reporting on available file associations, and also for randomly setting defaults.
This has nothing to do with calibre and everything to do with Linux standards for mimeinfo.

Somewhat related recent discussion: https://www.mobileread.com/forums/sho....php?p=3299856
eschwartz is offline   Reply With Quote
Advert
Old 04-17-2016, 12:18 PM   #3
porphyry5
Connoisseur
porphyry5 began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
Quote:
Originally Posted by eschwartz View Post
You should probably complain to the freedesktop people.

All calibre does is install *.desktop files for the GUI applications it offers.
`update-desktop-database` is responsible for reporting on available file associations, and also for randomly setting defaults.
This has nothing to do with calibre and everything to do with Linux standards for mimeinfo.

Somewhat related recent discussion: https://www.mobileread.com/forums/sho....php?p=3299856
Thanks for the info. I recall there was a flurry about mime-types a few years back that resulted in firefox starting up on virtually every other kind of file (still does, actually). Sigh, pcs reached their apogee in the 90s and its been all downhill into over-elaboration ever since.
porphyry5 is offline   Reply With Quote
Old 04-17-2016, 12:31 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Heck, there's gotta be some sort of reason why so many people write their own drop-in replacements for xdg-open.

I actually find myself in the unlikely position of envying Windows for prompting you on new filetypes.
Don't worry though -- Windows still has its own file association mess.

...

Assuming you have something else capable of opening said files (or default to gvim or something ???) you can use mimeo (from Xyne's repo) to quickly set file associations in bulk.
As long as you have something in your user mimeapps.list then it doesn't matter what the system mimeinfo.cache says. By which I mean the irritating statement:
Quote:
The order of the desktop files found for a MIME type is not significant. Therefore, an external mechanism must be used to determine what is the preferred desktop file for a MIME type.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Calibre default to AZW3? Victor Delta Plugins 2 12-28-2012 01:47 PM
Calibre default reader vs. Kindle app question robbw Calibre 3 05-23-2012 09:22 AM
Using Empty Books to store other document types africalass Library Management 8 04-30-2012 12:22 PM
any way to prevent calibre from making a copy of the book when added to its library? GoldThreader Calibre 28 04-04-2012 05:41 AM
What document types will the Kindle read natively? brent_strong Amazon Kindle 8 04-30-2008 11:41 AM


All times are GMT -4. The time now is 09:17 PM.


MobileRead.com is a privately owned, operated and funded community.