persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.
https://persepolisdm.github.io
GNU General Public License v3.0
6.12k stars 647 forks source link

Firefox extension dont work in Librewolf (Linux) #966

Open Milor123 opened 2 months ago

Milor123 commented 2 months ago

System Details:

noe@  ~  neofetch ██████████████████ ████████
██████████████████ ████████ ------------------------- ██████████████████ ████████ OS: Manjaro Linux x86_64 ██████████████████ ████████ Kernel: 6.6.19-1-MANJARO ████████ ████████ Uptime: 2 hours, 15 mins ████████ ████████ ████████ Packages: 1963 (pacman) ████████ ████████ ████████ Shell: zsh 5.9 ████████ ████████ ████████ Resolution: 1920x1200 ████████ ████████ ████████ DE: Plasma 5.27.11 ████████ ████████ ████████ WM: KWin ████████ ████████ ████████ Theme: [Plasma], Breeze [GTK2/3] ████████ ████████ ████████ Icons: [Plasma], breeze-dark [GTK2/3] ████████ ████████ ████████ Terminal: tilix ████████ ████████ ████████ CPU: Intel i5-14500

Interrup Downloads is ON and Context Menu ON

I try download files from https://myjob.page/tools/test-files

I've tried change privacy.firstparty.isolate settings to false, and all related but nothing work, persepolis dont detect the file

I have all as default in persepolis and it is in the system tray image

What should I do guys?

In Vivaldi it work correctly, but not in firefox (Librewolf)

alireza-amirsamimi commented 2 months ago

Hello I guess the config folder of LibreWolf is different from FireFox. I'll install LibreWolf and I'll fix this issue.

alireza-amirsamimi commented 2 months ago

Hello You must create two symlinks to solve the issue. Checkout this link for more information.


ln -s ~/.mozilla/native-messaging-hosts ~/.librewolf/native-messaging-hosts

sudo ln -s /usr/lib/mozilla/native-messaging-hosts /usr/lib/librewolf/native-messaging-hosts
Milor123 commented 2 months ago

Hello You must create two symlinks to solve the issue. Checkout this link for more information.


ln -s ~/.mozilla/native-messaging-hosts ~/.librewolf/native-messaging-hosts

sudo ln -s /usr/lib/mozilla/native-messaging-hosts /usr/lib/librewolf/native-messaging-hosts

Ohh thank you very much, I've copied the file into my librewolf folder and it works !!!

cp -r /home/noe/.mozilla/native-messaging-hosts/com.persepolis.pdmchromewrapper.json /home/noe/.librewolf/native-messaging-hosts/com.persepolis.pdmchromewrapper.json

Solved !!! Thanks guys