Skip to content
Touch Typing Tutor
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Update Basque Course Feb 24, 2019
doc Update broken screenshot Jul 9, 2019
extras/scripts checkqmlimports.py: Fix Typo May 2, 2019
icons Rename icons and fix src/CMakeLists.txt so cmake can configure. Sep 1, 2015
sounds Replace QApplication:beep with wav file. Jun 11, 2011
src Build w/o X11: Better Course Selection UI Jul 16, 2019
.gitignore Extend README May 17, 2018
AUTHORS Update Mail Adress Dec 7, 2017
CMakeLists.txt GIT_SILENT Upgrade KDE Applications version to 19.11.70. Jul 15, 2019
COPYING Fix FSF address (mainly "Steet" typo) Jan 23, 2006
COPYING.DOC GIT_SILENT: use https here Dec 10, 2018
Messages.sh
README.md Add a Simple Build Script Jul 16, 2019
build-install-run Add a Simple Build Script Jul 16, 2019
org.kde.ktouch.appdata.xml update screenshot May 23, 2019
org.kde.ktouch.desktop SVN_SILENT made messages (.desktop file) - always resolve ours Jan 6, 2019

README.md

KTouch

Build Status

KTouch is a program to learn and practice touch typing. Every finger has its place on the keyboard with associated keys to press. Starting with only a few keys to remember you will advance through different training levels where additional keys are introduced. Because you no longer need to search for the keys on the keyboard you will be able to type quickly and accurately.

Development Setup

Quick Start

In the top level directory there is a script called build-install-run which can be used to configure, build, install and run KTouch in one step. Execute:

./build-install-run

in the top-level directory of the KTouch repository to get started. It is just simple wrapper arround CMake and set ups the necessary environment variables to run KTouch. Build artifacts are stored in the subdirectory build/, install files go to install/.

Building

KTouch has the following build dependencies:

  • CMake ≥ 3.0.0
  • Extra CMake Modules ≥ 1.0.0
  • Qt ≥ 5.9 with the following modules
    • Qt GUI
    • Qt QML
    • Qt Quick
    • Qt Quick Widgets
    • Qt Quick Controls 2
    • Qt SQL
    • Qt Test
    • Qt XML
    • Qt XML Patterns
  • KDE Frameworks 5 with:
    • Completion
    • Config
    • ConfigWidgets
    • CoreAddons
    • Declarative
    • DocTools
    • I18n
    • ItemViews
    • KCMUtils
    • KIO
    • TextWidgets
    • WidgetsAddons
    • WindowSystem
    • XmlGui
    • IconThemes
  • optionally, for keyboard layout auto-detection:

Collecting and installing all dependencies by hand can be a challenge. Far easier is to use the dependency resolution of your package manager. Usually they can be instructed to install all dependencies automatically by using the information of the packaged version of KTouch:

apt-get build-dep ktouch # Ubuntu, Debian, ...
zypper source-install --build-deps-only ktouch # openSUSE

If the build requirements are met, execute the following commands in the root directory of your working copy to built and install KTouch:

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../install
make
make install

These commands install KTouch to the directory install in the root of your working copy. You can install KTouch to any directory of your choice by passing a different path to -DCMAKE_INSTALL_PREFIX.

Running

At runtime KTouch needs the following additional software packages to be installed:

KTouch needs the following environment variables to be set in order to find all its installed resources:

export KDEDIRS=<full-path-to-install-dir>:$KDEDIRS
export XDG_DATA_DIRS=<full-path-to-install-dir>/share:$XDG_DATA_DIRS

After this, KTouch can finally be launched with:

<path-to-install-dir>/bin/ktouch
You can’t perform that action at this time.