dconf needs to be in environment for ibus-setup to work

  • Open
  • quality assurance status badge
Details
2 participants
  • Caleb Ristvedt
  • Nguy?n Gia Phong
Owner
unassigned
Submitted by
Caleb Ristvedt
Severity
normal
C
C
Caleb Ristvedt wrote on 8 Oct 2018 04:25
(address . bug-guix@gnu.org)
87murpqin3.fsf@cune.org
On installing ibus and ibus-libpinyin and ensuring the appropriate
environment variables were applied, I attempted to run ibus-setup. I
went to the "Input Method" section and added the "Chinese - Intelligent
Pinyin" method. At that point ibus-setup output this message:

dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

Restarting ibus-setup showed that the changes had not stuck (if they
ever were even applied). The problem persisted until I installed dconf
into my profile, at which point it worked as expected. It seems Nix has
encountered this problem as well:


I believe this would be fixed by changing dconf from a regular input to
a propagated-input of ibus. Note that ibus-setup needs to be run in
order to add *any* input method, including, say, English.

- Reepca
N
N
Nguy?n Gia Phong wrote on 13 Jul 2023 11:57
(address . 32981@debbugs.gnu.org)
CU0X4CMCMV1E.850XJAN2ILD0@guix
On 2018-10-07 at 21:25:36-0500, Caleb Ristvedt wrote:
Toggle quote (13 lines)
> On installing ibus and ibus-libpinyin and ensuring
> the appropriate environment variables were applied,
> I attempted to run ibus-setup. I went to the "Input Method" section
> and added the "Chinese - Intelligent Pinyin" method. At that point
> ibus-setup output this message:
>
> dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
>
> Restarting ibus-setup showed that the changes had not stuck
> (if they ever were even applied). The problem persisted
> until I installed dconf into my profile, at which point it worked
> as expected.

I can still reproduce this issue and workaround.

On 2018-10-07 at 21:25:36-0500, Caleb Ristvedt wrote:
Toggle quote (8 lines)
> It seems Nix has encountered this problem as well:
>
> https://github.com/NixOS/nixpkgs/pull/11108
>
> I believe this would be fixed by changing dconf from a regular input
> to a propagated-input of ibus. Note that ibus-setup needs to be run
> in order to add *any* input method, including, say, English.

Should ibus-setup be patched accordingly?
?