Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Adding new files & attachments in Thunderbird

  • 2 trả lời
  • 1 gặp vấn đề này
  • 98 lượt xem
  • Trả lời mới nhất được viết bởi gerazov

more options

I want to change the default application for opening pdf attachments via Thunderbird. Unfortunately, going to Preferences > Files & Attachments there is no pdf file type in the list and no way to add it there.

Thunderbird currently opens them automatically with Chromium, so there is a setting but where can we find and edit it? In Firefox the setting for pdf-s is Firefox so it's not the same setting ...

It would be also nice if one could right click the attachment and do Open with and there select default applications for future attachments as in the DE's File browsers.

I want to change the default application for opening pdf attachments via Thunderbird. Unfortunately, going to Preferences > Files & Attachments there is no pdf file type in the list and no way to add it there. Thunderbird currently opens them automatically with Chromium, so there is a setting but where can we find and edit it? In Firefox the setting for pdf-s is Firefox so it's not the same setting ... It would be also nice if one could right click the attachment and do Open with and there select default applications for future attachments as in the DE's File browsers.

Được chỉnh sửa bởi gerazov vào

Giải pháp được chọn

The opening applications for attachments are defined in handlers.json in the profile folder, but I don't know why Files & Attachments has no entry for pdf if they open with Chromium. If you rename or delete handlers.json, with TB closed, then restart TB and open a pdf attachment, you should be prompted to define the default opening app, and if you check 'Always open...', the setting should be stored in the json file.

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

The opening applications for attachments are defined in handlers.json in the profile folder, but I don't know why Files & Attachments has no entry for pdf if they open with Chromium. If you rename or delete handlers.json, with TB closed, then restart TB and open a pdf attachment, you should be prompted to define the default opening app, and if you check 'Always open...', the setting should be stored in the json file.

more options

Thanks @sfhowes - that's a good pointer!

It seems there are two definitions for pdf in this file: - "application/pdf":{"action":4,"extensions":["pdf"]} - "video/x-flv":{"action":2,"handlers":[{"name":"okular","path":"/usr/bin/okular"}],"extensions":["flv","pdf"]}

In fact okular does appear in the Files & Attachments but under Flash Video : )

Still no Chromium to be found in the specification, which is weird.

Anyways, I've followed your advice and upon restart I specified okular for automatic opening of pdfs and the Files & Attachments shows it accordingly.

It might be useful to upgrade the GUI to be able to add or delete items, or reset the handles.json via the Preferences for the future.

Được chỉnh sửa bởi gerazov vào