stumpi
August 22, 2024, 3:53pm
1
So the posts I was able to find seemed to be rather dated, or suggested a rather complicated option so I am asking hoping there is an answer about an updated addon?
I previously used an addon but that was years ago; I recently noticed on the minimal templates doc that one can install thunderbird-qubes
so I did but when I opened thunderbird I got:
Is this an old addon issue, thunderbird issue, and more importantly is there a way to resolve this and or and streamline opening attachments and links in DVMs?
It should be possible to prepare something akin to this .
adw
August 23, 2024, 12:04am
3
See this issue (including the comments) for everything you need to know (including solutions that obviate the need for the extension, IMHO):
opened 07:45AM - 28 May 20 UTC
T: enhancement
help wanted
C: other
P: default
**Qubes OS version**
`Qubes release 4.0 (R4.0)`
**Affected component(s) or f… unctionality**
thunderbird-qubes
**Brief summary**
The Qubes integration with Thunderbird uses a legacy extension that will break in Thunderbird 78.
**To Reproduce**
`vim /usr/lib64/mozilla/extensions/*/qubes-attachment@qubes-os.org/manifest.json`
**Expected behavior**
No `legacy` key
**Actual behavior**
A `legacy` key is present.
**Screenshots**
N/A
**Additional context**
I am not sure if this is possible, given the need to override core functionality of Thunderbird. We should probably discuss this with Mozilla. Mozilla accepts feature requests for extension APIs, and provides a method (experiments) for implementing workarounds in the meantime. This will be disabled eventually, but not for years.
**Solutions you've tried**
N/A
**Relevant [documentation](https://www.qubes-os.org/doc/) you've consulted**
https://developer.thunderbird.net/add-ons/about-add-ons
**Related, [non-duplicate](https://www.qubes-os.org/doc/reporting-bugs/#new-issues-should-not-be-duplicates-of-existing-issues) issues**
none
stumpi
August 23, 2024, 2:21pm
4
Thanks, I actually just ended up writing a basic (understatement) script:
#!/bin/bash
qvm-open-in-dvm "$1"
then went to settings → file attachments → “use other” and selected my script. That seems to work for links.
It didn’t work for PDFs though? The dvm didn’t know how to handle the mime type/pdf, but the fed40 tmp has a pdf reader by default I would think?
stumpi
August 23, 2024, 2:22pm
5
Ah thanks! That looks a bit more versatile than what I came up with, will give it a try.