So…I’m installing KDE for my gf. She needs to be able to use Acrobat Pro in order to edit PDFs which is something she commonly does. So…I managed to install it. In Lutris. It does open, and from the ‘open file’ menu, I can actually open PDFs to edit them.

However…when I click on a random PDF file on my desktop…it completely ignores it, and just open to the welcome screen. Is there a way I can pass the file URL to Lutris/Adobe?

For better details, let’s see, the KDE shortcut looks as follows:

Name: Adobe Acrobat Generic Name: Comments: Environment Variables: LUTRIS_SKIP_INIT=1 Program: flatpak command-line arguments: run net.lutris.Lutris lutris:rungameid/1

So…I tried to pass the %U at the end of the arguments, so it would look as:

run net.lutris.Lutris lutris:rungameid/1 %U

But this doesn’t look too successful, as it seems to completely ignore the last part. So…how can I pass the file URL to flatpak Lutris/Adobe?

  • Thwompthwomp@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 day ago

    I have to use acrobat for some work stuff (it is the only pdf reader I can find that lets you do highlights, add notes, and use custom stamps. I’ve tried a ton of open source options and they are all surprisingly missing some subset of those features). I use playonlinux and there is an older acrobat version from there that works. I can look to see what my desktop shortcut is later.

    … time passes …

    Yep, mine works as you are wanting. It’s acrobat dc and it’s from a 2016 version. It’s fairly stable to run, but will freeze out if the blue every now and then. So save often.

    The exec piece is:

    <path>/playonlinux —run “Adobe Acrobat Reader DC” %F

    Maybe this can lead you down a path that works. There is a web version of some adobe tools but I found them to be pretty bad when I tried them.