ACPI administration advocacy advocacy advocacy opinion alsa amarok apache apple apt aptitude archive audio audo authentication automount avi awk bash BIOS boot browser business cache calendar calibre cdr cdrecord censorship commandline computerscience console convert cron cut database date debian degree design desktop development disk dpkg dvd economics education emacs email europe exim faad ffmpeg file files firefox firewall flash foss freedom ftp fun fuse git gnumeric graphics grep growisofs grub gtkpod hardware hardware html icedove idiocy image imagemagick images installation ip iphone ipod iptables iso itunes ivman kde kernel keyboard knoppix lame laptop latex linux locale lockin locking longlines lsof m4a microsoft mimetypes minitab mount mp3 mp4 mplayer multimedia music mysql network nfs nfs4 nmap openbox openfiles openoffice opinion opinion orgmode partition pdf perl php podcast politics pomodoro ports postgresql printing privacy process programming rant remote rhythmbox rss rsync rxvt scp screengrab screenshot script scripting scsi security sed server services shell siteadmin sitenews sitesoftware skype skype slackware sound sox spam spreadsheet ssh statistics subversion sudo svk swap t23 t43 terminal tex text thinkpad thunderbird time timer timezone ubuntu udev upgrade usb usbmount users uuid versioncontrol vfat video vnc windows wine wordpress wordprocessing X40 xwindows xwindows youtube
Like many people I use calibre as my ebook viewer. Yet, this program is slowly becoming a living nightmare. First is the root exploit. Second is the way that calibre wants to take over every single file. Almost all my files were defaulting to being opened in calibre. Why on Earth would I want an openoffice document opened in calibre? The creators of calibre think I do.
This obviously required fixing.
/usr/local/share/applications/defaults.list looks like this:
[Default Applications] application/x-sony-bbeb=calibre-gui.desktop;calibre-lrfviewer.desktop;calibre-ebook-viewer.desktop application/x-ruby=calibre-gui.desktop;calibre-ebook-viewer.desktop text/rtf=calibre-gui.desktop;calibre-ebook-viewer.desktop application/pdf=calibre-gui.desktop;calibre-ebook-viewer.desktop application/x-cbz=calibre-gui.desktop;calibre-ebook-viewer.desktop application/x-mobipocket-ebook=calibre-gui.desktop;calibre-ebook-viewer.desktop application/x-cbr=calibre-gui.desktop;calibre-ebook-viewer.desktop text/fb2+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop application/vnd.oasis.opendocument.text=calibre-gui.desktop;calibre-ebook-viewer.desktop application/epub+zip=calibre-gui.desktop;calibre-ebook-viewer.desktop text/plain=calibre-gui.desktop;calibre-ebook-viewer.desktop text/html=calibre-gui.desktop;calibre-ebook-viewer.desktop application/xhtml+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop application/ereader=calibre-gui.desktop;calibre-ebook-viewer.desktop application/oebps-package+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop
This is a nonsense. It has been setup to open plain text, html and pdfs in calibre. How totally stupid! It needs editing. This is better:
[Default Applications] application/x-sony-bbeb=calibre-gui.desktop;calibre-lrfviewer.desktop;calibre-ebook-viewer.desktop application/x-cbz=calibre-gui.desktop;calibre-ebook-viewer.desktop application/x-mobipocket-ebook=calibre-gui.desktop;calibre-ebook-viewer.desktop application/x-cbr=calibre-gui.desktop;calibre-ebook-viewer.desktop text/fb2+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop application/epub+zip=calibre-gui.desktop;calibre-ebook-viewer.desktop application/ereader=calibre-gui.desktop;calibre-ebook-viewer.desktop application/oebps-package+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop
sudo update-desktop-database. That seems to fix it.
"Is Calibre the most annoying program in the word ever?"
You must be like 8 years old.
Good fix, thanks for publishing it.
Using the calibre packages provided by your distro rather than installing it from upstream is probably a good idea. The packages for most distros fix the biggest calibre problems, like the two noted here.