Use KmCaster to show keystrokes and mouse clicks in screenshots

KmCaster Is a Java tool used to display keyboard and mouse events on the screen, very useful for teaching/screenshots.

With it, every keystroke and mouse click will be displayed on the screen, so you don’t need to mention what you want to type when creating screenshots or teaching students.

Currently, the application is only available for X11. Making it run on Wayland depends on the JNativeKeyHook library, which is used by KmCaster and supported by Wayland.You can track this Here.If you are looking for an application that can display keystrokes on the screen on Wayland, please check Show me the key.

KmCaster comes with a user interface similar to the following Key-mon, Which has not been updated since 2015. The GUI does not have any options-you just need to run KmCaster and you can start using it to display the keyboard keys and mouse buttons pressed. Although there are various command-line options available (more details in later sections of this article).

Also have plan Add a configuration file, from there you can specify fonts and colors, position on the screen, etc.

KmCaster features:

  • Custom display size
  • Easy positioning-drag any part of the window to reposition
  • Show a single event
  • Show all mouse clicks
  • Display scroll
  • Accurate modifier key status
  • Use with simulation software

In the command line, you can set the following options:

  • Periodic button release delay (-a, --delay-alphanum=ms)
  • Mouse button release delay (-b, --delay-button=ms)
  • Count the number of repeated keystrokes (-c, --key-counter=number)
  • Application height (-d, --dimension=pixels)
  • Modifier key release delay (-m, --delay-modifier=ms)
  • Mouse scroll release delay (-s, --delay-scroll=ms)

It is also important to note that KmCaster requires Java 14 or higher.

This This is a short demo video of KmCaster running on my Ubuntu 21.04 desktop:

Related: Use Screenkey to display pressed keys in screen recordings (now supports Python 3 and GTK 3)

Download KmCaster

KmCaster requires Java 14 (OpenJDK, etc.) or higher, so please make sure you have it installed before trying to run KmCaster. If KmCaster is installed from Flathub, Java is not required.

You can download the binary file from the release page of the app kmcaster.jar file.If you make it executable and install OpenJDK, you can double-click .jar File to start it. Alternatively, you can run it from the command line (as mentioned above, it allows various options to be specified; run this command in the folder where the kmcaster.jar file is located):

java -jar kmcaster.jar

To display all available options, use:

java -jar kmcaster.jar -h

KmCaster can also be installed from the following locations Flathub:

flatpak install flathub com.whitemagicsoftware.kmcaster

After installing from Flathub, use the following command to view all available command line options:

flatpak run com.whitemagicsoftware.kmcaster -h

You might also like: 5 tools to record Linux desktops (screenshots) in 2021

Source

Sidebar