spiegel-keyman/linux/keyman-system-service
Eberhard Beilharz 1f8b352529
Merge pull request #13904 from keymanapp/maint/linux/debpkg
This fixes Lintian warnings and other comments from the Debian review of the package. It also removes unnecessary files from the source package.

Note: this PR uses `Expat` instead of `MIT` in the `debian/license` file since that is the term that Debian uses and that the Debian tools output. It doesn't really matter since the term serves only as a key in the `license` file that links the files to the full text of the license further down in the `license` file.

Fixes: #13905
2025-05-15 16:25:38 +02:00
..
man maint(linux): fix lintian warnings 2025-05-13 20:07:32 +02:00
resources Merge pull request #13904 from keymanapp/maint/linux/debpkg 2025-05-15 16:25:38 +02:00
src chore(linux): address code review comments 2025-02-19 10:59:44 +01:00
tests chore(linux): add a stub unit test to allow successful coverage reporting 2025-04-23 18:52:10 +02:00
.gitignore maint(linux): fix lintian warnings 2025-05-13 20:07:32 +02:00
build.sh maint(common): consolidate standard.meson.build configuration 2025-04-30 09:16:43 +07:00
meson.build maint(linux): fix lintian warnings 2025-05-13 20:07:32 +02:00
README.md docs(core): Document how to build Core on Linux 2023-07-24 19:54:17 +02:00

keyman-system-service

A DBus system service that allows to access /dev/input/* devices to toggle capslock and perform other keyboard related actions. This is required when running under Wayland, but also used with X11.

See https://0pointer.net/blog/the-new-sd-bus-api-of-systemd.html, https://stackoverflow.com/a/44281937, https://github.com/chiehmin/gdbus_test/blob/master/server.c, https://aleksander.es/data/GNOMEASIA2014%20-%20Introduction%20to%20DBus.pdf.

Notes

  • If we need to limit access to the interface to only Keyman, we can use polkit which allows to add a rule with an action that checks for the program.

  • to see the log file

    journalctl -f -u systemd-keyman
    
  • to monitor method calls

    sudo busctl monitor com.keyman.SystemService1