Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix PDF-XChange Editor

Are you on NixOS? Are you tired of seeing this when trying to open encrypted PDFs?

Notice

No? Well, unless you're a plumber-in-training trying to download the plumbing code of Australia from their university database who also happens be a long-time programming enthusiast and Linux user, probably not. But just in case you are, I've packaged PDF-XChange Editor with Wine!

First, add this repository as an input to your flake:

# ...
inputs = {
  # ...
  nix-pdf-xchange-editor = {
    url = "github:JakeHPark/nix-pdf-xchange-editor";
    inputs.nixpkgs.follows = "nixpkgs";
  };
  # ...
};
# ...

Then apply the overlay:

# ...
nixpkgs.overlays = [
  inputs.nix-pdf-xchange-editor.overlays.default
  # ...
];
# ...

To remove protections on the PDF, just print the PDF to PDF:

services.printing = {
  enable = true;

  cups-pdf = {
    enable = true;

    instances.pdf.settings = {
      Out = "\${HOME}/Desktop";
      UserUMask = "0033";
    };
  };
};

About

PDF-XChange Editor wrapped with Wine for Nix.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages