Hi, Yokota!

I use XFCE here and despite choosing LibreOffice to open the docx files
are opened by ebook-edit or ebokk-viewer when selecting them as
attachments of an e-mail message in mutt.

Reinstalling libreoffice again in aptitude didn't fixed anything. The
workaournd I found here is to edit the mailcap (/etc/mailcap) file,
commenting the lines linking that type of file to ebook-edit and
ebook-viewer programs.

I insist on my suggestion to keep associtaion of files to its more
obvious options programs and let specific users change it to their
needs. In this concrete situation calibre, or any other software, should
not claim the preference for opening .docx files over libreoffice.

Best, Alexandre

On May 14 2023, yokota wrote:
> Hello, Alexandre.
> 
> > Just to confirm that this "bug" remains in the current version and
> > state that IMHO the mimetypes associated to calibre is "too
> > greedy". For instance it doesn't make sense to me open a .docx file
> > sent by e-mail in ebook-edit or ebook-viewer instead of libreofffice.
> 
> System default application choice may vary on your applications
> installation order, or some other reasons.
> For example, .docx uses LibreOffice even I installs Calibre on my machine.
> 
> You can choose your favorite applications as default application from
> GNOME file manager application: "Files"
> or other file managers.
> 
> The help file of this application describes how to change default
> application choice (See blow).
> Don't forget to set "Always use for this file type" switch to keep your 
> choice.
> 
> > Change the default application
> > You can change the default application that is used to open files of a 
> > given type. This will allow you
> > to open your preferred application when you double-click to open a file. 
> > For example, you might want
> > your favorite music player to open when you double-click an MP3 file.
> >
> > 1. Select a file of the type whose default application you want to change. 
> > For example, to change
> >     which application is used to open MP3 files, select a .mp3 file.
> > 2. Right-click the file and select "Open with...".
> > 3. Open "Open File" window.
> > 4. Select the application you want and click "Always use for this file 
> > type".
> > 5. Click "Open" button to open the file with selected application.
> > 6. Next time, selected application will uses as default application.
> >
> > This changes the default application not just for the selected file, but 
> > for all files with the same type.
> 
> --
> YOKOTA

-- 
===============================================================================
Alexandre Lymberopoulos - lym...@gmail.com
===============================================================================

Reply via email to