Share your knowledge at the LQ Wiki.
Go Back > Blogs
User Name



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

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

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:
    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     amd64
LQ Newbie
Posted in Uncategorized
Views 403 Comments 0 jere21 is offline

Gruesome PDF to JPG converter script

Posted 03-28-2014 at 09:57 PM by the dsc (linux-related notes)
Updated 04-10-2014 at 01: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: 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...
Posted in Uncategorized
Views 491 Comments 0 the dsc is offline

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

Posted 09-30-2012 at 02:28 PM by the dsc (linux-related notes)
Updated 09-30-2012 at 02: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...
Posted in Uncategorized
Views 627 Comments 0 the dsc is offline

Useful linux basic commands

Posted 11-20-2011 at 09:36 AM by ted_chou12
Updated 11-20-2011 at 09: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)
Posted in Uncategorized
Views 630 Comments 0 ted_chou12 is offline

Fixing the annoying firefox' associations issue once and for all

Posted 08-19-2011 at 04: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...
Posted in Uncategorized
Views 9017 Comments 4 the dsc is offline


All times are GMT -5. The time now is 06:55 PM.

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