Hello.
First, let me say, VHD is brilliant.
I have seen many posts here (and elsewhere on the net) reporting various problems with VDH not recognising that the companion app is installed. This seems to affect firefox more than other browsers
I have two PCs - and on one VDH works flawlessly, including by using the companion app, and on the other refuses to recognise the app is installed.
[All installations performed as sudo.]
The details are:
1. the machine where VDH works:
NUC, i5
OS: fully patched, up to date Ubuntu, 22.04.3 LTS
Browser: Firefox, snap, 119.0.1
VDH: 8.0.0.6
the companion app appears to be installed in:
/opt/net.downloadhelper.coapp/
/usr/lib/mozilla/native-messaging-hosts
I know this version of the companion app is out of date, but it is working. And as I'm a finishing my studies, I can't afford for a vital piece of software to go west.
This combination downloads all manner of formats,, including m2ts - files in that format show up in the file list.
2. the machine where VDH does not work:
[It did but then stopped, after an update - but I am not sure which.]
Intel i5
OS: fully patched, up to date Ubuntu, 22.04.3 LTS
Browser: Firefox, snap, 119.0.1 but now: 120.0b9 - it fails on both versions
VDH: 8.0.0.6 then: 8.1.0.0a8.
Companion app :
(a) Version 8.0.0.6; then I deleted it, via synaptic and installed:
How I installed both companion apps: sudo dpkg -i <deb file> from package located in Home.
I have followed the instructions to re-register the companion app (for both versions of the companion app):
Run: /opt/vdhcoapp/vdhcoapp
vdhcoapp is running successfully. This is not intended to be used directly from the command line. You should press Ctrl+C to exit. If your browser is unable to detect the coapp, run: "vdhcoapp install".
And then:
/opt/vdhcoapp/vdhcoapp install
Installing…
Writing /home/i5/.mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
Writing /home/i5/.var/app/org.mozilla.firefox/.mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
VdhCoApp : VdhCoApp is ready to be used
Youtube videos and those from other sites, do appear to be downloadable. However, sites that on my other machine are m2ts, do not appear - only mp4.
But: when I try to down load the video, I receive the error message that the companion app needs to be installed.
When I check VDh settings, the companion app part says the app is not installed.
And checking companion app returned: An unexpected error occurred
I checked the file path for the json files. I saw that on the machine where VDH does work, the json file is store in: /usr/lib/mozilla/native-messaging-hosts
I created a folder, /usr/lib/mozilla/native-messaging-hosts, and placed in it a copy of the json file foudn in /home/i5/.mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
VHD still did not find the companion app.
I apologise for taking so long to explain all this. I would be most obliged if someone who know a lot more than me could let me know what to do.
The forum is so helpful and this is the first time I've not been able to solve a puzzle that my machine have thrown up.
Thank you for reading.
Vik.