Tracing Platform Configuration

When JavaFX starts up on an embedded Linux device, it tries to identify what platform it is running on. You can see what platforms JavaFX checks for and what platform it decides to use by setting the boolean system property monocle.platform.traceConfig to true. As on desktop platforms, the property prism.verbose is also available to provide information on the selected rendering engine.

PropertyTypeDescription
monocle.platform.traceConfigbooleanTraces embedded JavaFX platform startup
prism.verbosebooleanTraces rendering engine configuration

Tracing Input Events

Getting information about input devices

JavaFX for embedded Linux devices contains a small application for reading input device configuration and the events generated by these devices. This application is included in the JavaFX runtime and is run with:

java com.sun.glass.ui.monocle.GetEvent

GetEvent shows information on all input devices found by JavaFX, including:

In most device configurations GetEvent must be run as root in order to have permissions to identify and track input devices.

Tracing input events while JavaFX is running

JavaFX for embedded devices provides the following system properties to track input events:

PropertyTypeDescription
monocle.input.traceEventsbooleanTraces input events
monocle.input.traceEvents.verbosebooleanHas the effect of monocle.input.traceEvents and also traces low-level events read and processed by JavaFX. This includes the pipeline of filters used for touch event cleanup.