From bb22d9650ba3013b6b44fbf1b2a5426bf06bbe79 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Thu, 2 Jun 2022 15:32:40 +0000 Subject: [PATCH] doc: Describe how to control debugging mode --- doc/hacking.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/hacking.md b/doc/hacking.md index 70301a2c..0cc54d22 100644 --- a/doc/hacking.md +++ b/doc/hacking.md @@ -90,6 +90,14 @@ Layouts can be selected using the GNOME Settings application. $ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'de')]" ``` +### Debugging mode + +Squeekboard prints some information on standard output by default. To get deep debugging information, it can also print all changes in (some of) its internal state. Those logs are most useful when reporting hard to catch issues, and can be enabled using the following command: + +``` +busctl set-property --user sm.puri.SqueekDebug /sm/puri/SqueekDebug sm.puri.SqueekDebug Enabled b true +``` + ### Environment Variables Besides the environment variables supported by GTK and [GLib](https://docs.gtk.org/glib/running.html) applications