keyman icon indicating copy to clipboard operation
keyman copied to clipboard

feat(linux): Allow to install/uninstall keyboards if DBus is not started

Open ermshiperete opened this issue 1 year ago • 4 comments

Currently, when trying to install a keyboard for a different user the installation might fail with failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY.

To reproduce:

su --login otheruser
km-package-install -p sil_ipa

A workaround is to run export $(dbus-launch) first which sets the environment variables DBUS_SESSION_BUS_ADDRESS and DBUS_SESSION_BUS_PID.

It should be possible to detect in km-package-install/km-package-uninstall if those variables are not set and run dbus-launch.

ermshiperete avatar Jul 28 '23 11:07 ermshiperete

Sentry issue: KEYMAN-LINUX-54

sentry-io[bot] avatar Jul 28 '23 11:07 sentry-io[bot]

Sentry issue: KEYMAN-LINUX-57

sentry-io[bot] avatar Aug 02 '23 10:08 sentry-io[bot]

Sentry issue: KEYMAN-LINUX-5F

sentry-io[bot] avatar Oct 06 '23 14:10 sentry-io[bot]

Should test KEYMAN-LINUX-5F (and KEYMAN-LINUX-57) as well after this is fixed - possibly same reason.

ermshiperete avatar Oct 06 '23 14:10 ermshiperete

Implemented by #10863.

ermshiperete avatar Mar 26 '24 15:03 ermshiperete