You are not logged in.

#1 2023-12-06 11:23:32

wcyat
Member
Registered: 2022-11-04
Posts: 25

[SOLVED] keyboard isn't working in DEs

Just today my keyboard fails to input anything in KDE and GNOME. Mouse and some keys like alt+f4 works. (Noteworthy: keyboard works totally fine in tty as well as weston). After installing ibus and removing fcitx5 I managed to type in gnome, but not kde. But I have no idea how to diagnose this problem, could I use some help?

Last edited by wcyat (2023-12-08 13:46:23)

Offline

#2 2023-12-06 13:17:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] keyboard isn't working in DEs

Start w/ the display server: X11 or wayland?
For X11, please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
For wayland, try X11 first.

But apparently your IM is relevant, so I'd look at the system journal and for the KDE session and see whether it complains about anything.

Offline

#3 2023-12-07 12:31:52

wcyat
Member
Registered: 2022-11-04
Posts: 25

Re: [SOLVED] keyboard isn't working in DEs

What's the systemd journal target for kde?

Offline

#4 2023-12-07 15:03:06

wcyat
Member
Registered: 2022-11-04
Posts: 25

Re: [SOLVED] keyboard isn't working in DEs

Dec 07 23:01:04 local.wcyat ibus-ui-gtk3[14862]: ibus_bus_call_sync: org.freedesktop.DBus.Properties.Get: GDBus.Error:org.freedesktop.DBus.Error.Failed: No global engine.

Offline

#5 2023-12-07 15:04:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] keyboard isn't working in DEs

Please post your complete system journal for a boot covering the incident:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#6 2023-12-07 15:46:59

wcyat
Member
Registered: 2022-11-04
Posts: 25

Re: [SOLVED] keyboard isn't working in DEs

I think it has something to do with the configs since it works when I point HOME to an empty directory.

Offline

#7 2023-12-08 12:12:20

wcyat
Member
Registered: 2022-11-04
Posts: 25

Re: [SOLVED] keyboard isn't working in DEs

seth wrote:

Please post your complete system journal for a boot covering the incident:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

http://0x0.st/H3T6.txt

Thanks.

Offline

#8 2023-12-08 12:50:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] keyboard isn't working in DEs

Dec 08 19:48:41 local.wcyat kwin_wayland[3623]: No backend specified, automatically choosing drm
Dec 08 19:48:41 local.wcyat kwin_wayland[3623]: OpenGL vendor string:                   Intel
Dec 08 19:48:41 local.wcyat kwin_wayland[3623]: OpenGL renderer string:                 Mesa Intel(R) Graphics (ADL GT2)
seth wrote:

For wayland, try X11 first.

After installing ibus and removing fcitx5

Dec 08 19:48:42 local.wcyat kwin_wayland_wrapper[3793]: I2023-12-08 19:48:42.840433 addonmanager.cpp:193] Loaded addon fcitx4frontend
Dec 08 19:48:43 local.wcyat systemd[3523]: Starting Fcitx 5...
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.801306 instance.cpp:1323] Override Enabled Addons: {}
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.801362 instance.cpp:1324] Override Disabled Addons: {}
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.802825 addonmanager.cpp:193] Loaded addon imselector
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.807992 xcbconnection.cpp:185] Connecting to X11 display, display name::1.
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.808050 xcbconnection.cpp:190] X11 display: :1 is xwayland.
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.808159 addonmanager.cpp:193] Loaded addon xcb
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.809643 addonmanager.cpp:193] Loaded addon quickphrase
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.816392 addonmanager.cpp:193] Loaded addon keyboard
Dec 08 19:48:43 local.wcyat fcitx5[4239]: E2023-12-08 19:48:43.818145 addonloader.cpp:61] Failed to create addon: dbus Unable to request dbus name. Is there another fcitx already running?
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.818180 addonmanager.cpp:189] Could not load addon dbus
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.818238 addonmanager.cpp:299] Unloading addon keyboard
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.818399 addonmanager.cpp:299] Unloading addon quickphrase
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.818572 addonmanager.cpp:299] Unloading addon xcb
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.818588 inputcontextmanager.cpp:355] All display connections are gone, exit now.
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.819021 addonmanager.cpp:299] Unloading addon imselector
Dec 08 19:48:43 local.wcyat systemd[3523]: app-org.fcitx.Fcitx5@autostart.service: Main process exited, code=exited, status=1/FAILURE
Dec 08 19:48:43 local.wcyat systemd[3523]: app-org.fcitx.Fcitx5@autostart.service: Failed with result 'exit-code'.
Dec 08 19:48:43 local.wcyat systemd[3523]: Failed to start Fcitx 5.

fcitx5 is still there - and fails.
Probably because of

Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.807992 xcbconnection.cpp:185] Connecting to X11 display, display name::1.
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.808050 xcbconnection.cpp:190] X11 display: :1 is xwayland.
…
Dec 08 19:48:43 local.wcyat fcitx5[4239]: I2023-12-08 19:48:43.818588 inputcontextmanager.cpp:355] All display connections are gone, exit now.
seth wrote:

For wayland, try X11 first.

Offline

#9 2023-12-08 13:11:28

wcyat
Member
Registered: 2022-11-04
Posts: 25

Re: [SOLVED] keyboard isn't working in DEs

After binary searching, I have identified the problem to be located at ~/.local/share/kwin/scripts/kdesnapassist/. After removing the directory, the problem disappeared. Thanks seth. Gotta report an issue to its github...

Offline

#10 2023-12-08 13:12:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] keyboard isn't working in DEs

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB