KScannerButtons

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.0
Description:

KScannerButtons is composed of a daemon plus an optional KDE frontend for monitoring your scanner buttons so that actions can be taken in response to button presses, like:
- on touch copy
- email a scanned document
- run kooka
- scan & run the gimp (or krita)

It's composed of a daemon (sanebuttond), a frontend that will display an icon in the systray and a dialog box to configure and launch the daemon.

It is based on the button monitoring capabilities found in some SANE backends. The front-end is developped using Kommander.

It has been developped with the avision backend and an HP 5300C scanner.
From version 0.9.5, it has also been tested succesfully with the hp3900 and the plustek backends.
It may work with other backends also. Please report your experiences!
Last changelog:

13 years ago

0.9.5:
Graphical interface
- added a button to refresh the list of scanners
- translated into spanish thanks to Jonathan Bravo Lopez
- translated into czech and brazilian portuguese thanks to Carlos Laué
Backends
- works also with hp3900 backend! (thanks to Jonathan Bravo Lopez)
- works also with the plustek backend! (thanks to Carlos Laué & Klaus Layer)
Command line
- add --help and --debug options to sane-nb-buttons. --debug will help at knowing the way the various backends handle the buttons.
- the test script path was not taken from the configuration. fixed. Improve this script.
- add information about using from the command line, debugging and testing new backends in README
- The daemon script is now located in ~/.kscannerbuttons
- Reworked the Makefile: "make install" now install the files in "standard" places. An icon is created in the K menu, under "Graphics" (/usr/share/applnk/Graphics/). "make kdeinstall" still exists.
- it was sometimes necessary to plug/unplug the scanner after stoping the daemon from the GUI. fixed.

0.9.4: Fixed the broken default actions created at first run. Note: if you need to reset the default actions, remove the section [/usr/local/bin/KScannerButtons.kmdr] (and entries below) in ~/.kde/share/config/kommanderrc with your favorite text editor.
Fixed the broken KScannerButtons.desktop launcher.

0.9.3: Some more bug fixes (test mode was no more working since 0.9.2). Enhancement of the test buttons script.

0.9.2: Finished the replacement of obsoleted Kommander APIs.
When run using ksystraycmd, there was a bug in the generated script. nothing happened when pressing a button. fixed.
Add a --script-arg command line switch to the daemon sanebuttond in order to pass additional arguments to the script. This is used by KScannerButtons to pass its dcop id. Better default sanebuttonsd.sh script

0.9.1: Little bug fix for those who had a more recent version of KDE than mine (replaced obsoleted APIs: addListItem(s) replaced by insertItem(s)). Also, the default 'one-touch copy' action was not actually printing, but saving into a postscript file. This has been fixed.

C

jice

14 years ago

I forgot to ask you what is your SANE backend?
it has been tested only with "avision" so far, but other backends must be tested.

Report

JordiP

14 years ago

When I didn't see the buttons appear on the scanner after running the program, I realized it wouldn't create them... :P

No, seriously (enough) I thought that the program was capturing the signal sent by the button, and I guessed I signal would be emitted by my scanner after selecting an action and hitting 'Set', therefore...

The backend is Brother2, btw. And it is a laser multifunction what I guess complicates things.

Report

C

jice

14 years ago

it's meant to manage the buttons that are physically present onto your scanner. If there are none, then installing this won't create them :p

Report

saladasalad

14 years ago

I also get this error in Kubuntu 6.06 KDE 3.5.4

Report

bauerfichtner

14 years ago

Same problem with SUSE10.1, KDE3.5.4

Report

13 years ago

0.9.5:
Graphical interface
- added a button to refresh the list of scanners
- translated into spanish thanks to Jonathan Bravo Lopez
- translated into czech and brazilian portuguese thanks to Carlos Laué
Backends
- works also with hp3900 backend! (thanks to Jonathan Bravo Lopez)
- works also with the plustek backend! (thanks to Carlos Laué & Klaus Layer)
Command line
- add --help and --debug options to sane-nb-buttons. --debug will help at knowing the way the various backends handle the buttons.
- the test script path was not taken from the configuration. fixed. Improve this script.
- add information about using from the command line, debugging and testing new backends in README
- The daemon script is now located in ~/.kscannerbuttons
- Reworked the Makefile: "make install" now install the files in "standard" places. An icon is created in the K menu, under "Graphics" (/usr/share/applnk/Graphics/). "make kdeinstall" still exists.
- it was sometimes necessary to plug/unplug the scanner after stoping the daemon from the GUI. fixed.

0.9.4: Fixed the broken default actions created at first run. Note: if you need to reset the default actions, remove the section [/usr/local/bin/KScannerButtons.kmdr] (and entries below) in ~/.kde/share/config/kommanderrc with your favorite text editor.
Fixed the broken KScannerButtons.desktop launcher.

0.9.3: Some more bug fixes (test mode was no more working since 0.9.2). Enhancement of the test buttons script.

0.9.2: Finished the replacement of obsoleted Kommander APIs.
When run using ksystraycmd, there was a bug in the generated script. nothing happened when pressing a button. fixed.
Add a --script-arg command line switch to the daemon sanebuttond in order to pass additional arguments to the script. This is used by KScannerButtons to pass its dcop id. Better default sanebuttonsd.sh script

0.9.1: Little bug fix for those who had a more recent version of KDE than mine (replaced obsoleted APIs: addListItem(s) replaced by insertItem(s)). Also, the default 'one-touch copy' action was not actually printing, but saving into a postscript file. This has been fixed.

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.9.5
updated May 28 2007
added Aug 29 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0