Hi @ben-cyanfish, excited to hear that you are working on something new. I was just reminded again how much I miss a proper document scanning solution on Linux (simple-scan does a terrible job of "white detection" when you scan in color mode!). Is your current work available somewhere? I checked your public github repos and don't see anything relevant. You might be able to get some help if you open up the repo. Alternatively, a fix for #775, and merging PR #21 would make NAPS2 already usable on Linux...
I have just submitted a Pull Request (#21) that fixes these option parsing errors. At the same time the PR includes 3 tiny changes that allowed me to build and debug NAPS2 using MonoDevelop on Linux. Appreciate if this PR can be merged.
Hi all, Has anybody managed to set up a development environment on Linux for this? I've been able to compile on Linux with some hacks, but it's not really a proper setup. If you have a workable setup (hopefully with VSCode), could you maybe document it somewhere so other Linux users can start to contribute (and hopefully re-invigorate) development of NAPS2.
FYI when using the x2goclient "use integrated X-server", it seems to run VcXsrv with the following options: -multiwindow -notrayicon -clipboard -nopn -silent-dup-error :0 Rgds
Seems I forgot to attached the screenshots I was referring to.
See the following 2 tickets that cover these same 2 reported issues: https://sourceforge.net/p/naps2/tickets/773/ https://sourceforge.net/p/naps2/tickets/775/
Resize of VcXsrv window does not resize X session
The issue is that ParseOption() does not support option values with a space in them. Forward slash also is not supported, eg parsing the following option values is failing: --source ADF|Document Table [Document Table] --scan-area Executive/Portrait|ISO/A4/Portrait|ISO/A5/Portrait|ISO/A5/Landscape|ISO/A6/Portrait|ISO/A6/Landscape|JIS/B5/Portrait|JIS/B6/Portrait|JIS/B6/Landscape|Letter/Portrait|Manual|Maximum [Manual] --rotate 0 degrees|90 degrees|180 degrees|270 degrees|Auto [0 degrees] (btw degrees...