!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

612 Members
Gaming things, my hands are typing words.166 Servers

Load older messages


SenderMessageTime
18 Jul 2024
@elvishjerricco:matrix.orgElvishJerricco * I also don't see any reference to ibus in cd nixpkgs/nixos/modules; git grep ibus that would be relevant to me outside of i18n/input-method/ 15:03:55
@k900:0upti.meK900It doesn't need to be installed separately15:03:59
@elvishjerricco:matrix.orgElvishJerricco well this is perplexing. I'm trying to figure out which nixos module is adding ibus to my /run/current-system/sw/bin/ibus, but environment.systemPackages contains no packages with bin/ibus 15:26:50
@elvishjerricco:matrix.orgElvishJerricco ok this is actually spooky. ibus is just appearing in $toplevel/sw/bin/ out of absolutely nowhere 15:52:56
@elvishjerricco:matrix.orgElvishJerricco
$ nix why-depends --all --derivation .#nixosConfigurations.jace.config.system.path .#nixosConfigurations.jace.pkgs.ibus 
/nix/store/4xx7sij1w3hgjz1rlsl6404kw4hvlzb3-system-path.drv
├───/nix/store/5964axanjffvmjsr11ww2msch6qfdqby-gnome-control-center-46.3.drv
│   └───/nix/store/bwdzvs5fyfwsrik5kp4m4lpksvbyfcby-ibus-1.5.30.drv
├───/nix/store/hd6zryr89q7lqphmal8gfcgbvi3ljngp-gnome-shell-46.3.1.drv
│   └───/nix/store/bwdzvs5fyfwsrik5kp4m4lpksvbyfcby-ibus-1.5.30.drv
├───/nix/store/z9nwq6crliqsvlxcmwbf5fb7nll2jpg7-plasma-desktop-6.1.2.drv
│   └───/nix/store/bwdzvs5fyfwsrik5kp4m4lpksvbyfcby-ibus-1.5.30.drv
├───/nix/store/b18fpilmm9c6s5s01lk5swjr6abrnds9-gnome-browser-connector-42.1.drv
│   └───/nix/store/hd6zryr89q7lqphmal8gfcgbvi3ljngp-gnome-shell-46.3.1.drv
├───/nix/store/xjqamylvj4457rh0sircrc5s5zdwliql-kdeplasma-addons-6.1.2.drv
│   └───/nix/store/z9nwq6crliqsvlxcmwbf5fb7nll2jpg7-plasma-desktop-6.1.2.drv
└───/nix/store/yr3xrljqzadsxnch9dx95s6haf05yvlx-gnome-session-46.0.drv
    └───/nix/store/hd6zryr89q7lqphmal8gfcgbvi3ljngp-gnome-shell-46.3.1.drv

$ nix path-info -r .#nixosConfigurations.jace.config.system.path | xargs -I {} find {} -name ibus 
/nix/store/bihjaiciw8zaar6iikb04l7zqv95asf0-ibus-1.5.30/share/ibus
/nix/store/bihjaiciw8zaar6iikb04l7zqv95asf0-ibus-1.5.30/etc/dconf/profile/ibus
/nix/store/bihjaiciw8zaar6iikb04l7zqv95asf0-ibus-1.5.30/bin/ibus
/nix/store/mnbjmha35gkfj8hdhxsv1qa1jqmik91d-system-path/share/ibus
/nix/store/mnbjmha35gkfj8hdhxsv1qa1jqmik91d-system-path/bin/ibus

How can the output have a link to ibus if it isn't a direct build dependency and literally no other packages have a file named ibus?

15:55:08
@atemu12:matrix.orgAtemuTake a look at the drv15:57:58
@atemu12:matrix.orgAtemuThough, again, you should be able to disable ibus in GNOME15:58:12
@atemu12:matrix.orgAtemuThat part has nothing to do with NixOS15:58:21
@atemu12:matrix.orgAtemuI remember that I had to explicitly enable an input source with dbus support when I was playing around with this years ago15:59:14
@elvishjerricco:matrix.orgElvishJerricco
In reply to @atemu12:matrix.org
Though, again, you should be able to disable ibus in GNOME
I'm not seeing anything like that
16:06:00
@atemu12:matrix.orgAtemuIs it a daemon?16:06:15
@atemu12:matrix.orgAtemu3s on the Arch wiki confirm it's indeed a daemon and that there was at least at some point a setting for it where I remember it16:07:19
@elvishjerricco:matrix.orgElvishJerricco
In reply to @atemu12:matrix.org
Take a look at the drv
I mean the drv is just a buildEnv. It should have pretty straightforward behavior
16:07:21
@atemu12:matrix.orgAtemuBut you'd see whether it has the drv as an input and what it does with it16:07:49
@atemu12:matrix.orgAtemuTrust me, taking a look at drv dumps is very helpful in cases like this16:08:01
@elvishjerricco:matrix.orgElvishJerricco yea, there's org.freedesktop.IBus.session.GNOME.service 16:08:08
@elvishjerricco:matrix.orgElvishJerricco Atemu: i've already done that, and it's not in there, and it would have shown up as an immediate dependency in why-depends --derivation if it were 16:08:27
@elvishjerricco:matrix.orgElvishJerricco
In reply to @atemu12:matrix.org
3s on the Arch wiki confirm it's indeed a daemon and that there was at least at some point a setting for it where I remember it
"Settings > Keyboard > Input Sources" only has the "English (US)" keyboard, which can't be removed
16:10:11
@elvishjerricco:matrix.orgElvishJerriccothe arch wiki doesn't suggest a way to disable IBus outright16:10:31
@atemu12:matrix.orgAtemuOh well hello there https://wiki.archlinux.org/title/IBus#Keys_%22stick%22_after_being_held_down16:11:43
@atemu12:matrix.orgAtemuIs this what you're running into?16:11:58
@elvishjerricco:matrix.orgElvishJerricco

almost, but

until it is pressed and released again

press and release doesn't do anything. And it's not like one key is stuck; the whole keyboard is stuck and no pressing or releasing does anything for several seconds

16:12:29
@k900:0upti.meK900https://github.com/ibus/ibus/issues/261816:12:39
@k900:0upti.meK900Chasing a few links16:12:45
@k900:0upti.meK900Seems to be X11 specific though?16:13:55
@elvishjerricco:matrix.orgElvishJerriccodefinitely not using X1116:14:37
@elvishjerricco:matrix.orgElvishJerricco also, yea, believe it or not, that issue is where I started this whole troubleshooting journey. But the suggested fix didn't work so I assumed it must have been something other than ibus. Two mass rebuilds and one bisect later, and I'm back to ibus :P 16:25:33
@elvishjerricco:matrix.orgElvishJerricco but yea, setting environment.sessionVariables.IBUS_ENABLE_SYNC_MODE = "2"; doesn't fix the problem 16:26:10
@elvishjerricco:matrix.orgElvishJerricco (and yea, I checked that the ibus daemon has the environment variable set in /proc/$pid/environ) 16:27:00
@elvishjerricco:matrix.orgElvishJerriccoI guess I can just try killing the ibus daemon though16:28:54

Show newer messages


Back to Room ListRoom Version: 10