New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibus: fix dconf dependency #11108
ibus: fix dconf dependency #11108
Conversation
Looks good to me as ibus is otherwise not functional. |
This is an common problem for most GNOME (gsettings) apps,
Since there is no other gsettings backend, I think we should wrap all with dconf. And, when the dconf service is not known by the user's dbus-daemon I think for non-GNOME (or non-NixOS), we have to propagated @lethalman , what do you think? |
@iyzsong dconf is the defacto backend for gsettings. If you don't have dconf, it's because you don't want dconf. And if you don't want dconf, you probably have some env variable that specify the backend with Propagating dconf in non-nixos is useless because dbus won't search in Also putting the propagation in ibus has the same effect of this nixos module, except it doesn't clutter the environment. What I mean is: dconf is not necessary, hence must not be propagated by packages. Yet it's very simple for the user to just add it to the system that it's not worth cluttering the profiles further. Probably you will never see dconf as a dependency of packages on any other distro. |
@gebner "not functional" is hard to say. It should work, that's only a warning about settings not being saved. I'm accepting this PR only because I hope to add a |
ibus: fix dconf dependency
Thanks for merging! As a side note, my first comment was not very clear but without dconf, ibus is not functional. The reason being that there is no default input engine set in ibus. Short version, without dconf ibus is useless as input engines cannot be set. |
@lethalman but in the case of gedit, as it dosen't wrapped with dconf in GIO_EXTRA_MODULES, How about split dconf into multiple outputs like debian does, eg: out (dconf-service), giomodules (libdconfsettings.so), then wrap all gsettings using apps with dconf:giomodules? |
Fixes problem of ibus settings that are not saved on an environment where
dconf
is not installed, by automatically installinggnome3.dconf
ifprograms.ibus.enable
is set totrue
.Details:
Running
ibus-setup
on an environment wheregnome3.dconf
is not explicitly installed (like xmonad) give the following error and settings are not saved:cc ibus maintainer @gebner