fix(linux): Fix restarting ibus when running with `sudo`
fix(linux): Fix restarting ibus when running with `sudo`

When installing in the shared area the user has to run
`km-package-install` with sudo so that he has sufficient permissions.
In that case we have to do extra work to restart ibus for the
logged-in user instead of root.

Fixes #5309.

tavultesoft/keymanweb,tavultesoft/keymanweb