I'm trying to open
acrordrdc installed via snap. I tried:
acrordrdc file.pdfworks I tried using a "wrapper" file:
#!/bin/bash acrordrdc $1
acrordrdc.desktop(see Changing default app for PDF).
In the first case (the wrapper solution) acrordrdc opens with an empty window. No file is showed.
In the second case I can select "Acrobat Reader DC" in
Firefox but nothing happens when the files is downloaded. Acrobat is not opened.
Edit. After the N0rbert answer I tried to modify my wrapper:
#!/bin/bash cp $i ~/Downloads/renamed.pdf acrordrdc ~/Downloads/renamed.pdf
and now it works. Now I need to find a way to remove the file(s) after I read it (them).
I don't understand why I need to rename it. If I have:
#!/bin/bash cp $i ~/Downloads/$1 acrordrdc ~/Downloads/$1
it doesn't work. The file is copied but not opened.