this post was submitted on 22 Aug 2024
9 points (90.9% liked)

Linux

48328 readers
652 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

TLDR: I recently found out there is "deprecated" XFA format that acrobat still uses in their programs, and government forms have those for dynamic contents in the form that we cannot fill using other softwares. Looking for solutions.


This has been a problem since a long time. Back in 2020 I had dual boot because I needed acrobat to fill PDF forms, but after finding xournal++ program I nuked windows partition. Windows update messing up grub was one of the reason I decided to nuke windows and looking at the posts recently it's still a huge issue.

So the problem I recently encountered is that even the government issued PDF forms need acrobat reader (which is free software for PDF, but only available in windows and mac). Which I didn't think would be an issue and just filled the form in Firefox.

Turns out that was problematic as the PDF forms has fields that are automatically filled, calculated from other fields, only made available when certain checkboxes are checked, etc. and Firefox doesn't support that. Even trying to install the acrobat reader snap (which uses wine) in a VM and opening the PDF on it didn't work. The UI makes me think it's a really old version of the reader.

So without searching for other devices (and filling a PDF with my sensitive information) what solution is there? Installing windows is a hassle even in a VM, and it will use up precious SSD memory. But that's the only solution I can think of.

I also found masterpdf or something like that which the Arch wiki says has support for that, but it didn't work. It says XFA forms are converted to acro forms, and the dynamic part doesn't work. There are websites that promise to work for such forms, but I'm not going to be putting sensitive info on web apps.

top 16 comments
sorted by: hot top controversial new old
[–] Quazatron@lemmy.world 9 points 3 months ago

That has been a pain point for a long time, along with signing and verifying digital signatures in PDF documents in Linux.

Adobe is up there along with Nvidia on my top of shitty companies that actually hinder Linux adoption by ignoring it.

[–] boredsquirrel@slrpnk.net 6 points 3 months ago* (last edited 3 months ago) (1 children)

Fuck adobe, this has nothing to do with PDF.

You can install the reader in a VM and copy the files to a WINE instance.

The youtuber mattscreative does that for photoshop, affinity and more. Photoshop is paid, so acrobat should absolutely work.

He uses KDE Plasma on Fedora afaik.

Follow the photoshop guide which uses a custom WINE version.

[–] thevoidzero@lemmy.world 1 points 3 months ago (1 children)

I know it's adobe problem. Because they deprecated it in PDF 2.0, last support is in 1.7, but they have continued using 1.7 with adobe extension 1 to 1.7 with Adobe extension 8. So it's like they have their own branch of PDF versions. But most people don't care, and here a government agency is using that and it's not accessible for linux.

Wine needs 32bit libraries that's why I'm not using it. I read the snap package handles the wine part for us, so I tried that in VM but didn't work. I'll try to follow your suggestion in VM and see if it'll work.

[–] boredsquirrel@slrpnk.net 1 points 3 months ago

Yes bottles flatpak also pulls in 32bit dependencies

[–] cmnybo@discuss.tchncs.de 6 points 3 months ago (1 children)

I would just print it, fill it out by hand and scan it. Make them do the extra work if they send a PDF that doesn't work in your software.

[–] thevoidzero@lemmy.world 2 points 3 months ago

Some parts already have filled text that are dynamic fields (but without the support it becomes fixed text). So I can't write over it. And Firefox doesn't recognize them as fields, otherwise I could delete the part. It's so frustrating.

[–] AmbiguousProps@lemmy.today 3 points 3 months ago (1 children)

Does it open in LibreOffice draw? If so you can just fill the form with text boxes if the text boxes in the form aren't already fillable.

[–] thevoidzero@lemmy.world 3 points 3 months ago (1 children)

Draw seems to disregard the form fields, so I could probably fill it in Firefox, and use draw to edit the auto calculated fields. It'll work for printed forms, but if any org uses pdf fields extractor wouldn't that be a problem?

[–] AmbiguousProps@lemmy.today 1 points 3 months ago* (last edited 3 months ago) (1 children)

Possibly, it would probably depend on the extractor and business - I would hope that most businesses would catch that the fields weren't filled out during extraction if extraction is something they normally do. I would expect it's something that happens with pdf extraction and they'd have a human go in and check it in those cases. Of course, for humans that doesn't matter, so if only humans are viewing it, I think you'd be good.

[–] thevoidzero@lemmy.world 1 points 3 months ago

Yeah. I'm just worried when extractor fails they put it in discard pile, or human pile which'll delay my application by a lot.

[–] Sanctus@lemmy.world 2 points 3 months ago

Stirling PDF maybe?

[–] prex@aussie.zone 2 points 3 months ago

Fax it back to them.

[–] FrostyPolicy@suppo.fi 1 points 3 months ago (1 children)
[–] thevoidzero@lemmy.world 1 points 3 months ago

Ocular shows a warning ⚠️ this file requires new version of adobe acrobat DC, press ok to download latest version or see your system administrator.

[–] ProtonBadger@lemmy.ca 1 points 3 months ago (1 children)

Yeah I gave up and installed Windows in a VM, I use it for those annoying forms and some old tax software.. My kid also wants to use powerpoint occationally. It's quick and easy to install in a VM though and doesn't take up much space but I got a lot of room on my SSD so everything is relative.

I'd like a Linux solution for the forms but it's still convenient to have a Windows VM once in a blue moon.

[–] thevoidzero@lemmy.world 1 points 3 months ago

Installing it is such a hassle, and booting is too, I used to just close while saving state, but that messes up the time in VM and it leads to problems.... Is there any light weight basic windows type VM you use? Or is it the generic iso?