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?

  • zikzak025@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    2 days ago

    Adobe apps are notoriously difficult to get running on Linux. You’re better off trying to find a better supported alternative.

    If you really need Adobe apps, you need Windows or MacOS. Can try a Windows VM if you don’t want to dual boot.

  • 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.

  • Jumuta@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    Even if you get it working it’s going to be janky asf, I’d probably just use libreoffice draw + okular

  • Björn@swg-empire.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    I don’t think Lutris is meant to pass on command line arguments. I’d rather use just Wine without anything else.

    Doesn’t Adobe provide a Linux build of Acrobat anymore? I’m pretty sure they used to do that.