this post was submitted on 20 Apr 2024
979 points (97.2% liked)

linuxmemes

21272 readers
493 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 24 points 6 months ago* (last edited 6 months ago) (2 children)

    There was a point not so long ago where Adobe Collaboration Sync got so bad on my Windows 10 box it wouldn't let me close any pdfs that were open. "File in use" error, even if all Adobe programs were closed except for that pdf. I'd have to go into Task Manager and manually kill it. Between that and Adobe Updater I couldn't get rid of it by any known means, and it was choking the shit out of my machine.

    I'm transitioning to Linux but not there yet, still need the Windows box for now, so I had to do something. But I'm old school, so it was a DOS batch file to the rescue. I call it "kiladobe.bat":

    taskkill /f /im armsvc.exe       
    del "C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\armsvc.exe"      
    taskkill /f /im AdobeCollabSync.exe     
    del "C:\Program Files\Adobe\Acrobat DC\Acrobat\AdobeCollabSync.exe"      
    

    It's now a scheduled task in taskschd.msc. I put kiladobe.bat in the main Adobe program folder (heh) and run that task as administrator at startup and every four hours or so, give or take an hour.

    No more problems.

    Now, all that remains is that every so often I see the command window flash up for a split second because this batch file is killing Adobe shit, and it just makes me smile. (I could probably make it stop flashing up the CLI, but I genuinely enjoy the reminder of how I'm fucking Adobe's virus-like install and lock endeavors up the ass.)

    EDITED TO ADD a simple "@echo off" by itself as the first line would probably turn off any appearance of the CLI, if anyone wants to use this text for their own batch file. If that didn't work I'd probably throw a space and a ">nul" at the end of each line to grab the output and throw it into neverneverland.

    [–] [email protected] 4 points 6 months ago (1 children)

    Damn install a proper pdf viewer and use instead of adobe... Or do you have to edit pdfs?

    [–] [email protected] 1 points 6 months ago

    I have Foxit installed and can usually use that, but am forced to have Adobe Reader installed for other reasons.

    Adobe Reader will now never be updated on my machine. It's a small price to pay. And Foxit is great for most pdf tasks.

    [–] [email protected] 18 points 6 months ago (3 children)

    I just use my browser for pdfs lol

    [–] [email protected] 2 points 6 months ago (1 children)

    I would like to recommend sumatrapdf

    [–] [email protected] 1 points 6 months ago

    Why? What does it do over a built in browser pdf reader

    [–] [email protected] 6 points 6 months ago (1 children)
    [–] [email protected] 10 points 6 months ago

    Proprietary 💩

    [–] [email protected] 5 points 6 months ago (1 children)
    [–] [email protected] 2 points 6 months ago (1 children)

    What lol, are you trying to say a modern browser that can read pdfs is bloat? Lol

    [–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (1 children)
    [–] [email protected] 1 points 6 months ago (1 children)

    I was expecting a terminal command to parse your pdfs lol

    [–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (1 children)

    To be honest I do not like PDF readers being bundled in browser's binaries, I see web rendering engines themselfs as a pile of legacy impossible to rewrite spaghetti.
    Qutebrowser for example has PDF.js as an optional, installable dependency. I guess Firefox can be recompiled without PDF support, if someone wants to save those... 3MB. But just that my Linux mind has slight aversion to bundling stuff in single binary, because on Linux installing 1 or 100 programs if they are packaged takes the same time.

    Ah. And some commands for PDFs are really useful :P.
    For example I used convert file.jpg file.pdf to upload couple of documents I had scanned as pictures but website required a PDF extension.

    [–] [email protected] 1 points 6 months ago

    Nice.

    The question I have is does tesseract do better OCR on pdfs than chat GPT lol

    Also obligatory fuck Adobe.