LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Scanner (here: Mustek Bearpaw 1200 CS), Scanning and file size reduction under Debian Jessie

Posted 06-05-2015 at 07:44 AM by jere21

tl;dr:
Save A1fw.usb to /usr/share/sane/gt68xx/ and start scanning with sane.

More general instructions for installing a scanner:
  1. Your user should be in group "scanner" and sane must be installed. In my case I have:
    Code:
    ii  libsane:amd64         1.0.24-13    amd64  API library for scanners
    ii  libsane-common        1.0.24-13    all    API library for scanners -- documentation and support files
    ii  libsane-extras:amd64  1.0.22.3     amd64
...
LQ Newbie
Posted in Uncategorized
Views 205 Comments 0 jere21 is offline
Old

Gruesome PDF to JPG converter script

Posted 03-28-2014 at 08:57 PM by the dsc (linux-related notes)
Updated 04-10-2014 at 12:11 PM by the dsc (fixing a bug)
Tags pdf

Requires gs, imagemagick, jpegoptim, cpulimit, and "coolloop" (or maybe not).

Has no options or anything.

You run it like:

howeveryounameit.sh appropriate-filename portable-document-file-to-convert.pdf

The result will be:

appropriate-filename-001.jpg, appropriate-filename-002.jpg and so on.

So you don't add numbers or extension on the first parameter ($1). I guess it may not deal well with spaces...
Member
Posted in Uncategorized
Views 420 Comments 0 the dsc is offline
Old

Pure-text de-truncator script, a work in progress

Posted 09-30-2012 at 01:28 PM by the dsc (linux-related notes)
Updated 09-30-2012 at 01:32 PM by the dsc
Tags epub, pdf, sed, truncated

Sometimes I want to quote some PDF on pure text, luckily enough it would have actual text rather than being an non-OCRed image, but often there's still the problem that the text on the PDF is truncated/formatted in a fake/dumb way, with actual "new lines" to break the page, which may not make the text completely unreadable when pasted in a text editor, but it's reasonably annoying, and may require quite some time to fix manually.

I'm trying to create a script or one-liner...
Member
Posted in Uncategorized
Views 584 Comments 0 the dsc is offline
Old

Useful linux basic commands

Posted 11-20-2011 at 08:36 AM by ted_chou12
Updated 11-20-2011 at 08:42 AM by ted_chou12 (sed "s:its:it's:g")
Tags basic, commands, pdf

Hi, I found this online, it's pretty useful, I printed one out and posted on my wall XD. Cause I am not a pro, so I don't think memorizing them is necessary. But if u do frequently use them, u probably would remember, anyways, c attachment.
Attached Images
File Type: pdf linux_basics.pdf (69.1 KB, 4 views)
Member
Posted in Uncategorized
Views 589 Comments 0 ted_chou12 is offline
Old

Fixing the annoying firefox' associations issue once and for all

Posted 08-19-2011 at 03:49 PM by the dsc (linux-related notes)

Probably affects all gecko-derived browsers, like iceape, kazehakase, epiphany, namoroka, whatever. May be exclusively a KDE-derived problem though, I don't know.

Sometimes, for some reason, the system decides that you probably want to open downloaded PDFs, from iceweasel's/firefox' downloads window, with krita or gimp, programs that won't open PDFs at all. It's really confusing because you even have a correct, pdf-reader application set as default in other parts of the system (file...
Member
Posted in Uncategorized
Views 8339 Comments 4 the dsc is offline

  



All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration