keystroke-gui : A Qt based keystroke visualization tool for Linux. screenkey kde


keuystroke1

cd $HOME ; wget https://github.com/gergap/keystroke/archive/master.zip -O keystroke_master_$(date +”%m-%d-%y”).zip
; unzip keystroke*.zip ; cd keystroke-master/ ; mkdir bld ; cd bld ; cmake .. ; make ;sudo make install

IF YOU HAVE A USB KEYBOARD JUST EDIT : kate main.c

press crtl G or go to line 43 and replace

#define KBD_DEVICE “/dev/input/by-path/platform-i8042-serio-0-event-kbd”

with your usb keyboard for example i have

#define KBD_DEVICE “/dev/input/by-path/pci-0000:00:14.0-usb-0:2.1:1.0-event-kbd”

if you wonder what stuff you need to add just do :

ls /dev/input/by-path/ | grep kbd

and you should get every keyboard you have in your systemj

skanlite doesn’t save settings 600 dpi *_*


Skanlite doesn’t save settings at least until now, because after i have report the bug…and i have doen my own application ….

we get a git version that saves settings!!!

well my application include a printing menu but at least now skanlite has the base feature requested from a scanner gui.

How to compile

AS ALWAYS… THIS ARTICLE IS NOT MADE FOR NOOBS.. Please don’t try this at home 😀

Today i am on kubuntu with kde 4.6.1 so … i have fresh stuff …. you have to install dependeces

sudo apt-get build-dep skanlite

get the source

 git clone git://anongit.kde.org/skanlite.git 

now compile with NOTE DUAL CORE CAN USE make -j3 instead only core computer must use : make

 mkdir build ; cd build ; cmake .. ; make -j3 

then if you want test :

 src/./skanlite 

if you prefer create deb package : *NOTE dependeces are not so right xD but it works here on my computer.. with kde 4.6.1 and version 11.04 alpha3*

 git clone git://anongit.kde.org/skanlite.git   

Now you have to add these lines to cmakelist.txt

  
SET(MAJOR_VERSION 0)
SET(MINOR_VERSION 8 )
SET(PATCH_VERSION 0)

IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
INCLUDE(InstallRequiredSystemLibraries)

SET(CPACK_SET_DESTDIR "on")
SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp")
SET(CPACK_GENERATOR "DEB")

SET(CPACK_PACKAGE_DESCRIPTION "scanner interface for kde4")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Skanlite is an image scanner application for KDE 4.")
SET(CPACK_PACKAGE_VENDOR "Vendor")
SET(CPACK_PACKAGE_CONTACT "Kåre Särs")
SET(CPACK_PACKAGE_VERSION_MAJOR "${MAJOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_MINOR "${MINOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_PATCH "${PATCH_VERSION}")
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")

SET(CPACK_DEBIAN_PACKAGE_DEPENDS "kdebase-runtime (>= 4:4.2.1), kdelibs5 (>= 4:4.2.1), libc6 (>= 2.1.3), libgcc1 (>= 1:4.1.1), libplasma3, libqt4-dbus (>= 4.5.0), libqtcore4 (>= 4.5.0), libqtgui4 (>= 4.5.0), libstdc++6 (>= 4.2.1)")

SET(CPACK_DEBIAN_PACKAGE_PRIORITY "extra")
SET(CPACK_DEBIAN_PACKAGE_SECTION "kde")
SET(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})

SET(CPACK_COMPONENTS_ALL Libraries ApplicationData)
INCLUDE(CPack)

ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")

now with the mo

 

you should get this message


kanlite/build$ cpack ..
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: skanlite
CPack: - Install project: skanlite
CPack: Create package
CPack: - package: /tmp/skanlite/build/skanlite_0.8.0.deb generated.

now to install the package:

sudo  dpkg -i skanlite_0.8*

Krita the adobe photoshop for kde , FullScreen Mode


Wondering where is the fullscreen option in krita 2.1.2? i aspected to see it on view menu but i didn’t

Boud helped me 😀 i didn’t think to delete old configuration files .. deleted these files 😀 krita fixed  so…

**remember ~ can be write wtih  (ALT Gr + ì on italian keyboard if you have another keyboard search on google how to do … it’s pretty faster than write $HOME/.kde )

rm ~/.kde/share/config/kritarc && rm -R ~/.kde/share/apps/krita/

it’s pity krita has not an entry for fullscreen mode on “view mode menu  but Kwin has this feauture so.. there is not a problem anyways it seems on other version there is this feature it will be nice 😀