LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

AGFA Snapscan e50

Posted 02-14-2013 at 04:52 PM by jere21
Updated 11-25-2014 at 01:07 PM by jere21

General:
As starting point to get your scanner working under Linux go to SANE: Supported Devices

Get the AGFA Scanwise driver package, which contains the necessary firmware "Snape50.bin" and save that somewhere.
Then modify /etc/sane.d/snapscan.conf:
Code:
firmware /path/to/ScanWise/Drivers/Snape50.bin
That's it.
LQ Newbie
Posted in Uncategorized
Views 674 Comments 0 jere21 is offline
Old

Headless file conversion using LibreOffice as a service

Posted 02-12-2013 at 10:16 PM by sag47
Updated 02-12-2013 at 10:38 PM by sag47

The content outlined here also works for OpenOffice. This post was inspired by a question I was answering on the forums.

System Setup
I installed LibreOffice packages using a PPA in Kubuntu. Here is information about my environment.
Code:
Tue Feb 12 23:00:54 EST 2013
Ubuntu 12.04.2 LTS
Linux 3.2.0-37-generic x86_64 GNU/Linux
GNU bash, version 4.2.24(1)-release (x86_64-pc-linux-gnu)
LibreOffice 3.5 (Version: 1:3.5.4-0ubuntu1.1)
unoconv 0.4
...
Senior Member
Posted in Uncategorized
Views 9217 Comments 0 sag47 is offline
Old

Booting Mint Linux 14 iso and other isos from the hard drive using grub2

Posted 02-09-2013 at 01:09 AM by donatom

Booting a live iso from your harddrive is generally pretty easy. You store your live isos in a directory (I created the "ISOS" directory under the Downloads directory for this purpose) on your system. You then open the iso (# mount -o loop /path-to-iso /mnt OR right click the iso file and choose "open with Archive Manager") and look for either the syslinux.cfg or the isolinux.cfg file. Open this file with gedit and look for "append:". Copy all the info that follows...
LQ Newbie
Posted in Uncategorized
Views 1529 Comments 0 donatom is offline
Old

IBM AS400 DB2 SQL Tricks

Posted 02-08-2013 at 10:20 AM by NullTerminator

set schema mySchema

Select x,y,z from w
fetch first 20 rows only

reset an auto counter that got hosed
alter table T alter TheColumn restart with 123

grab the first non null value
select a,b,c, coalesce(z,y,z) as FirstGoodValue from T

Case
select A, case when x < 0 then 'Negative' else 'Positive' end from T

TIMESTAMP format is 'YYYY-MM-DD-hh.mm.ss.uuuuuu'

get month from a date...
LQ Newbie
Posted in Uncategorized
Views 759 Comments 0 NullTerminator is offline
Old

Why and how to use condition variables? - Pthreads

Posted 02-06-2013 at 01:40 AM by TheIndependentAquarius
Updated 02-06-2013 at 05:55 AM by TheIndependentAquarius

  • Q: What is a condition variable?
    A: A condition variable is a variable of type `pthread_cond_t`. It is
    used to suspend the thread execution until some condition is true.

  • Q: Is a condition variable dependent on a mutex lock to work properly? Why?
    A: Explaining with an example:

    Assumptions:
    1. There is a variable `x` whose current value is 0.
    2. There is a thread `threadA` whose task is to start some job once the
      variable `x` reaches the value 1000.
    3. There
...
Senior Member
Posted in PThreads
Views 947 Comments 0 TheIndependentAquarius is offline

  



All times are GMT -5. The time now is 03:38 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