Kronometer: Difference between revisions

From KDE UserBase Wiki
(Switch to flathub for kde runtime.)
mNo edit summary
Line 71: Line 71:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user remote-add kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo
flatpak --user remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo
flatpak --user install kdeapps org.kde.kronometer
flatpak --user install kdeapps org.kde.kronometer
</syntaxhighlight>
</syntaxhighlight>

Revision as of 12:30, 24 February 2018

Description

Kronometer is a stopwatch application. Kronometer is free software and it's released under the GPLv2 license.

Kronometer's main features are the following:

  • Start/pause/resume the stopwatch widget
  • Laps recording: you can capture the stopwatch time when you want and add a note to it
  • Lap times sorting: you can easily find the shortest lap time or the longest one
  • Reset the stopwatch widget and the lap times
  • Time format settings: you can choose the stopwatch granularity
  • Times saving and resuming: you can save the stopwatch status and resume it later
  • Font customization: you can choose the fonts for each of the stopwatch digits
  • Color customization: you can choose the color for the stopwatch digits and the stopwatch background
  • Lap times export: you can export the lap times on a file using the JSON or CSV format

Download


Older versions are available in the downloads page.

Installation

Arch Linux

Kronometer is available in the AUR:

git clone https://aur.archlinux.org/kronometer.git
cd kronometer
makepkg -sri

Debian

Kronometer is currently packaged for Debian Sid:

apt install kronometer

Gentoo

emerge x11-misc/kronometer

KaOS

kcp -i kronometer

NixOS

nix-env -iA kde5.kronometer

Flatpak

Only builds from git master are currently available.

flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo
flatpak --user install kdeapps org.kde.kronometer

Compile from sources

The following installation instructions are distro-agnostic, i.e. they should work on all the Linux distributions.

  1. Download the latest source files archive from the link above
  2. Extract the archive in your preferred directory
  3. Open a terminal in that directory and run the following commands:


mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`qtpaths --install-prefix` ..
sudo make install

Now you should have Kronometer installed under /usr/bin and it should be available under the Utility entry in the Application Launcher of Plasma (or any other XDG-compliant menu).

Software dependencies:

  • Qt 5.0.0 or above, only the following modules:
    • QtCore
    • QtGui
    • QtWidget
  • KDE Frameworks 5.15.0 or above, only the following modules:
    • KF5Config
    • KF5DocTools
    • KF5I18n
    • KF5WidgetsAddons
    • KF5XmlGui
  • CMake 3.1 or above
  • Extra CMake Modules 1.6.0 or above
  • GCC or Clang.

Changelog

Go to the changelog page.

Bugs

Please use the official KDE Bugtracking system if you find a bug. You can also use it if you have a feature request.

Documentation

Kronometer provides a KDE-compliant documentation, which is available within the installed application by clicking Kronometer Handbook under the Help menu. The documentation is also available online on the KDE servers:

  • Kronometer Handbook (HTML)
  • Kronometer Handbook (PDF)

Contribute

Kronometer is part of the KDE community. If you want to contribute to the Kronometer development, you are encouraged to join the KDE world. Check out this page. The git repository is located here.

Doxygen

Doxygen documentation for the kronometer source code is available here.