Skip to content

Allow another keyboard to take over

Guido Günther requested to merge dbus-replace into main

With this MR one can do

phosh-osk-stub --replace

and to replace the running instance. Once that process ends the old instance will take over again. This makes it very simple to run test instances of phosh-osk-stub without risking to lose a working OSK.

We achieve this by binding the life cycle of the input-surface to whether we own the dbus name or not.

The behavior can be turned off by dropping the --allow-replacement option from phosh-osk-stub's desktop file.

Front of the series has some cleanups.

Merge request reports

Loading