lan-mouse icon indicating copy to clipboard operation
lan-mouse copied to clipboard

KDE + Wayland: Input capture portal failed

Open zzzealed opened this issue 8 months ago • 16 comments

Hi. Machine 1:

  • NixOS 24.11
  • GNOME 47
  • Wayland

Machine 2:

  • Nixos 24.11
  • KDE Plasma 6
  • Wayland

I'm trying to use lan-mouse between my Machine1 and Machine2. Problem is, I can't seem to get my Machine2's inputs emulated to my Machine1. So basically, I can use my GNOME machines mouse+keyboard on both, but my KDE machine's mouse+keyboard doesn't get used on the other machine. On KDE I get these errors:

[2025-05-14T22:50:05Z INFO  lan_mouse::config] using config: "/home/mads/.config/lan-mouse/config.toml"
[2025-05-14T22:50:05Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftAlt, KeyX]
[2025-05-14T22:50:05Z INFO  lan_mouse::config] using config: "/home/mads/.config/lan-mouse/config.toml"
[2025-05-14T22:50:05Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftAlt, KeyX]
[2025-05-14T22:50:05Z INFO  lan_mouse] Press [KeyLeftCtrl, KeyLeftAlt, KeyX] to release the mouse
[2025-05-14T22:50:05Z INFO  lan_mouse::server::emulation_task] creating input emulation...

(lan-mouse:42483): Gtk-WARNING **: 00:50:05.146: Unknown key gtk-modules in /home/mads/.config/gtk-4.0/settings.ini
[2025-05-14T22:50:05Z WARN  input_emulation] wlroots backend: `wayland protocol "wlr-virtual-pointer-unstable-v1" not supported: the requested global was not found in the registry`
[2025-05-14T22:50:05Z WARN  input_capture] input-capture-portal input capture backend unavailable: error creating input-capture-portal backend: `xdg-desktop-portal: `A portal frontend implementing `org.freedesktop.portal.InputCapture` was not found``
[2025-05-14T22:50:05Z INFO  input_capture] using capture backend: layer-shell
[2025-05-14T22:50:05Z INFO  input_emulation::libei] requesting permission for input emulation

(lan-mouse:42483): Adwaita-WARNING **: 00:50:05.614: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
[2025-05-14T22:50:07Z WARN  input_emulation] libei backend: `Portal request failed: org.freedesktop.zbus.Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method 'ConnectToEIS' in interface 'org.freedesktop.impl.portal.RemoteDesktop' at object path '/org/freedesktop/portal/desktop' (signature 'osa{sv}')`
[2025-05-14T22:50:07Z INFO  input_emulation::xdg_desktop_portal] requesting permission for input emulation
[2025-05-14T22:50:08Z INFO  input_emulation] using emulation backend: xdg-desktop-portal
[2025-05-14T22:50:22Z INFO  lan_mouse::server] added client 0
[2025-05-14T22:50:30Z INFO  lan_mouse::server] activated client 0 (left)
[2025-05-14T22:50:30Z INFO  lan_mouse::dns] resolving (0) `192.168.0.31` ...
[2025-05-14T22:50:30Z INFO  lan_mouse::dns] 192.168.0.31: adding ip 192.168.0.31
[2025-05-14T22:50:43Z INFO  lan_mouse::server] deactivated client 0
[2025-05-14T22:50:43Z WARN  lan_mouse::server::emulation_task] ignoring events from client 192.168.0.31:4242

Admittedly I'm not sure if these errors relate to the issue, but that's what I'm guessing.

The packages I have installed relating to this are: xdg-desktop-portal, xdg-desktop-portal-wlr, xdg-desktop-portal-kde and kdePackages.xdg-desktop-portal-kde. I also have this in my config:

    xdg.portal = {
      enable = true;
      extraPortals = with pkgs; [ xdg-desktop-portal-kde ];
      config.common.default = [ "kde" ];

Thanks for any help :)

zzzealed avatar May 14 '25 23:05 zzzealed

Also: I am clicking click "Share" on:

Image

and:

Image

zzzealed avatar May 14 '25 23:05 zzzealed

I confirm having the same problem since yesterday. For me also the 'Remote control request - Portal' popups disappeared since this problem.

Both machines:

  • OpenSuse Tumbleweed fully updated
  • KDE Plasma 6.3.5
  • Wayland

I can't get any version of lan-mouse to work. Neither the latest release 0.10.0 nor the compiled latest github pull. Since nothing in lan-mouse changed over the past weeks it is probably caused by some recent change in KDE and/or in libei.. but I do not really understand what libei even does and what might be failing atm.

bambalamm avatar May 15 '25 14:05 bambalamm

Okay this is odd. The error indicates that input capture is not supported, but clearly, the dialog is showing up...

feschber avatar May 15 '25 16:05 feschber

These are my logs with the latest build.

  • For me the dialog does not show up.
  • If this is a different problem than yours zzzealed I will create a separate issue for it, but it seems to me that it is the same issue.
Started Lan Mouse.
[2025-05-16T06:20:17Z INFO  lan_mouse] using config: "/home/me/.config/lan-mouse/config.toml"
[2025-05-16T06:20:17Z INFO  lan_mouse] Press [KeyA, KeyS, KeyD, KeyF] to release the mouse
[2025-05-16T06:20:17Z INFO  lan_mouse::service] activated client 0 (bottom)
[2025-05-16T06:20:17Z INFO  lan_mouse::emulation] creating input emulation ...
[2025-05-16T06:20:17Z WARN  input_emulation] wlroots backend: `wayland protocol "wlr-virtual-pointer-unstable-v1" not supported: the requested global was not found in the registry`
[2025-05-16T06:20:17Z WARN  input_capture] input-capture-portal input capture backend unavailable: error creating input-capture-portal backend: `xdg-desktop-portal: `A portal frontend implementing `org.freedesktop.portal.InputCapture` was not found``
[2025-05-16T06:20:17Z INFO  input_capture] using capture backend: layer-shell
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell] adding capture for position bottom - using outputs: []
[2025-05-16T06:20:17Z WARN  input_emulation] libei backend: `A portal frontend implementing `org.freedesktop.portal.RemoteDesktop` was not found`
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell] active outputs:
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell]  * DVI-D-1 1920x1080 @pos (3840, 0) (Dell Inc. S2418HN/NX)
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell] adding capture for position bottom - using outputs: ["DVI-D-1"]
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell] active outputs:
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell]  * DVI-D-1 1920x1080 @pos (3840, 0) (Dell Inc. S2418HN/NX)
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell]  * HDMI-A-1 1920x1080 @pos (1920, 0) (Philips Consumer Electronics Company PHL 276E9Q)
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell] adding capture for position bottom - using outputs: ["DVI-D-1", "HDMI-A-1"]
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell] active outputs:
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell]  * DVI-D-1 1920x1080 @pos (3840, 0) (Dell Inc. S2418HN/NX)
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell]  * HDMI-A-1 1920x1080 @pos (1920, 0) (Philips Consumer Electronics Company PHL 276E9Q)
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell]  * DP-1 1920x1080 @pos (0, 0) (Dell Inc. S2418HN/NX)
[2025-05-16T06:20:17Z INFO  input_capture::layer_shell] adding capture for position bottom - using outputs: ["DVI-D-1", "HDMI-A-1", "DP-1"]
[2025-05-16T06:20:17Z WARN  input_emulation] xdg-desktop-portal: `A portal frontend implementing `org.freedesktop.portal.RemoteDesktop` was not found`
[2025-05-16T06:20:17Z INFO  input_emulation] using emulation backend: X11
[2025-05-16T06:20:37Z WARN  lan_mouse::capture] releasing capture: not connected
[2025-05-16T06:20:37Z INFO  lan_mouse::connect] client 0 connecting ...
[2025-05-16T06:20:37Z INFO  lan_mouse::connect] client (0) connecting ... (ips: [192.168.2.141:24800])
[2025-05-16T06:20:37Z INFO  lan_mouse::connect] connecting to 192.168.2.141:24800 ...
[2025-05-16T06:20:37Z INFO  lan_mouse::service] entering client 0 ...
[2025-05-16T06:20:37Z INFO  lan_mouse::service] spawning command!
[2025-05-16T06:20:37Z INFO  lan_mouse::connect] client (0) connected @ 192.168.2.141:24800
[2025-05-16T06:20:48Z INFO  lan_mouse::capture] client 0 acknowledged the connection!
[2025-05-16T06:20:48Z INFO  lan_mouse::capture] client 0 acknowledged the connection!
[2025-05-16T06:20:48Z INFO  lan_mouse::capture] client 0 acknowledged the connection!
[2025-05-16T06:20:58Z INFO  lan_mouse::capture] releasing capture: left remote client device region
[2025-05-16T06:20:58Z INFO  lan_mouse::listen] dtls client connected, ip: 192.168.2.141:44195
[2025-05-16T06:21:01Z INFO  lan_mouse::capture] releasing capture: left remote client device region
[2025-05-16T06:21:01Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:44195 entered this device
[2025-05-16T06:21:01Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:44195 entered this device
[2025-05-16T06:21:01Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:44195 entered this device
[2025-05-16T06:21:01Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:44195 entered this device
[2025-05-16T06:21:01Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:44195 entered this device

And this is my config.toml

# configure release bind
release_bind = [ "KeyA", "KeyS", "KeyD", "KeyF" ]

# optional port (defaults to 4242)
port = 24800
# optional frontend -> defaults to gtk if available
# possible values are "cli" and "gtk" 
# frontend = "gtk"

[authorized_fingerprints]
"f1:13:c0:...:6a" = "ME2"

[[clients]]
position = "bottom"           # define a client on the right side with host name "iridium"
hostname = "ME2"              # optional hostname
activate_on_startup = true    # activate this client immediately when lan-mouse is started
ips = ["192.168.2.141"]       # optional list of (known) ip addresses
port = 24800
enter_hook="wl-paste --no-newline | ssh ME1 wl-copy"

bambalamm avatar May 16 '25 06:05 bambalamm

For me things work again after restarting xdg-desktop-portal.service.

On both my systems I found that it landed on an error right after booting:

$ journalctl --user --since=today -u xdg-desktop-portal.service
May 16 08:13:42 tumbleweed systemd[1914]: Starting Portal service...
May 16 08:13:42 tumbleweed systemd[1914]: Started Portal service.
May 16 08:13:45 tumbleweed xdg-desktop-por[1935]: Realtime error: Could not get pidns: Could not fstatat ns/pid: Not a directory
May 16 08:13:45 tumbleweed xdg-desktop-por[1935]: Realtime error: Could not get pidns: Could not fstatat ns/pid: Not a directory

After restarting the service the error does not return and everything works fine again:

$ systemctl --user restart xdg-desktop-portal.service 

$ journalctl --user -f -u xdg-desktop-portal.service -u lan-mouse.service
May 16 09:12:23 tumbleweed systemd[1914]: Starting Portal service...
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: Choosing kde.portal for org.freedesktop.impl.portal.Screenshot via the deprecated UseIn key
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: Choosing kde.portal for org.freedesktop.impl.portal.Background via the deprecated UseIn key
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: Choosing kwallet.portal for org.freedesktop.impl.portal.Secret via the deprecated UseIn key
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: Choosing kde.portal for org.freedesktop.impl.portal.GlobalShortcuts via the deprecated UseIn key
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: Choosing kde.portal for org.freedesktop.impl.portal.ScreenCast via the deprecated UseIn key
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: Choosing kde.portal for org.freedesktop.impl.portal.RemoteDesktop via the deprecated UseIn key
May 16 09:12:24 tumbleweed xdg-desktop-por[7734]: Choosing kde.portal for org.freedesktop.impl.portal.InputCapture via the deprecated UseIn key
May 16 09:12:24 tumbleweed systemd[1914]: Started Portal service.
May 16 09:13:27 tumbleweed systemd[1914]: Started Lan Mouse.
May 16 09:13:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:27Z INFO  lan_mouse] using config: "/home/me/.config/lan-mouse/config.toml"
May 16 09:13:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:27Z INFO  lan_mouse] Press [KeyA, KeyS, KeyD, KeyF] to release the mouse
May 16 09:13:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:27Z INFO  lan_mouse::service] activated client 0 (bottom)
May 16 09:13:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:27Z INFO  lan_mouse::emulation] creating input emulation ...
May 16 09:13:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:27Z WARN  input_emulation] wlroots backend: `wayland protocol "wlr-virtual-pointer-unstable-v1" not supported: the requested global was not found in the registry`
May 16 09:13:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:27Z INFO  input_emulation::libei] requesting permission for input emulation
May 16 09:13:41 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:41Z INFO  input_emulation] using emulation backend: libei
May 16 09:13:42 tumbleweed lan-mouse[7771]: [2025-05-16T07:13:42Z INFO  input_capture] using capture backend: input-capture-portal
May 16 09:15:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:27Z WARN  lan_mouse::capture] releasing capture: not connected
May 16 09:15:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:27Z INFO  lan_mouse::connect] client 0 connecting ...
May 16 09:15:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:27Z INFO  lan_mouse::connect] client (0) connecting ... (ips: [192.168.2.141:24800])
May 16 09:15:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:27Z INFO  lan_mouse::connect] connecting to 192.168.2.141:24800 ...
May 16 09:15:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:27Z INFO  lan_mouse::service] entering client 0 ...
May 16 09:15:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:27Z INFO  lan_mouse::service] spawning command!
May 16 09:15:27 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:27Z INFO  lan_mouse::connect] client (0) connected @ 192.168.2.141:24800
May 16 09:15:28 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:28Z INFO  lan_mouse::capture] client 0 acknowledged the connection!
May 16 09:15:28 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:28Z INFO  lan_mouse::capture] client 0 acknowledged the connection!
May 16 09:15:29 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:29Z INFO  lan_mouse::capture] releasing capture: left remote client device region
May 16 09:15:29 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:29Z INFO  lan_mouse::listen] dtls client connected, ip: 192.168.2.141:56320
May 16 09:15:29 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:29Z INFO  lan_mouse::capture] releasing capture: left remote client device region
May 16 09:15:29 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:29Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:56320 entered this device
May 16 09:15:40 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:40Z INFO  lan_mouse::capture] releasing capture: left remote client device region
May 16 09:15:40 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:40Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:56320 entered this device
May 16 09:15:41 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:41Z INFO  lan_mouse::service] entering client 0 ...
May 16 09:15:41 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:41Z INFO  lan_mouse::service] spawning command!
May 16 09:15:41 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:41Z INFO  lan_mouse::capture] client 0 acknowledged the connection!
May 16 09:15:41 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:41Z INFO  lan_mouse::capture] client 0 acknowledged the connection!
May 16 09:15:42 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:42Z INFO  lan_mouse::service] wl-paste --no-newline | ssh ME2 wl-copy exited successfully
May 16 09:15:45 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:45Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:56320 entered this device
May 16 09:15:45 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:45Z INFO  lan_mouse::capture] releasing capture: left remote client device region
May 16 09:15:45 tumbleweed lan-mouse[7771]: [2025-05-16T07:15:45Z INFO  lan_mouse::emulation] releasing capture: 192.168.2.141:56320 entered this device

bambalamm avatar May 16 '25 07:05 bambalamm

@zzzealed could you try if rebooting fixes this for you?

feschber avatar May 16 '25 09:05 feschber

@feschber I tried both rebooting my PC and restarting the xdg-desktop-portal.service:

$ journalctl --user --since=today -u xdg-desktop-portal.service
May 16 03:57:08 desktop-nixos systemd[1117]: Stopping Portal service...
May 16 03:57:08 desktop-nixos systemd[1117]: Stopped Portal service.
-- Boot 0c95bdd1702749b4aa94e149179a281e --
May 16 12:47:32 desktop-nixos systemd[1116]: Starting Portal service...
May 16 12:47:32 desktop-nixos .xdg-desktop-po[1538]: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
May 16 12:47:32 desktop-nixos .xdg-desktop-po[1538]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configurati>
May 16 12:47:35 desktop-nixos .xdg-desktop-po[1538]: Choosing gtk.portal for org.freedesktop.impl.portal.Wallpaper as a last-resort fallback
May 16 12:47:35 desktop-nixos .xdg-desktop-po[1538]: Choosing kwallet.portal for org.freedesktop.impl.portal.Secret via the deprecated UseIn key
May 16 12:47:35 desktop-nixos systemd[1116]: Started Portal service.
May 16 14:09:33 desktop-nixos systemd[1116]: Stopping Portal service...
May 16 14:09:33 desktop-nixos systemd[1116]: Stopped Portal service.
May 16 14:09:33 desktop-nixos systemd[1116]: Starting Portal service...
May 16 14:09:33 desktop-nixos .xdg-desktop-po[10071]: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
May 16 14:09:33 desktop-nixos .xdg-desktop-po[10071]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configurat>
May 16 14:09:33 desktop-nixos .xdg-desktop-po[10071]: Choosing gtk.portal for org.freedesktop.impl.portal.Wallpaper as a last-resort fallback
May 16 14:09:33 desktop-nixos .xdg-desktop-po[10071]: Choosing kwallet.portal for org.freedesktop.impl.portal.Secret via the deprecated UseIn key
May 16 14:09:33 desktop-nixos systemd[1116]: Started Portal service.
May 16 14:09:56 desktop-nixos .xdg-desktop-po[10071]: Failed to ConnectToEIS: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method 'ConnectToEIS' in interface 'org.freedesktop.impl.portal.RemoteDesktop' at object path '/org/freedesktop/portal/desktop' (signature 'osa{sv}')

This Failed to ConnectToEIS-error only occurs after opening lan-mouse and pressing "Share" on the dialogues.

zzzealed avatar May 16 '25 12:05 zzzealed

Seems to link to this old issue: https://github.com/emersion/xdg-desktop-portal-wlr/issues/193

zzzealed avatar May 16 '25 12:05 zzzealed

@bambalamm : I have the same setup as you (OpenSuSE Tumbleweed and kde). Culprit is this part of logs:

[2025-05-16T06:20:17Z WARN  input_emulation] xdg-desktop-portal: `A portal frontend implementing `org.freedesktop.portal.RemoteDesktop` was not found`
[2025-05-16T06:20:17Z INFO  input_emulation] using emulation backend: X11

For some reason since the update it's not able to successfully talk to xdg-desktop-portal, cannot find the RemoteDesktop API, and falls back to X11 which:

  • doesn't use confirmation (so you don't get the dialog boxes)
  • doesn't work for both of us as our desktop run on Wayland and not X11.

Current work-around:

systemctl --user restart xdg-desktop-portal.service

[!NOTE] this the Tumbleweed's equivalent to the xdg-desktop-portal --replace fix suggested in the thread linked just above.

After restarting the desktop portal, on the next run of lan-mouse it correctly uses xdg-portal

DrYak avatar May 16 '25 14:05 DrYak

(Sorry to everybody else for hi-jacking this thread. @bambalamm : I build my own RPM of lan-mouse on OBS, you can find it as a community package in the software search. Once 0.11 is released I'll try to suggest it for more official inclusion).

DrYak avatar May 22 '25 08:05 DrYak

Any updates here?

I'm using KDE + Hyprland and the workaround doesn't work for me, cause Hyprland is a special snowflake and doesn't have a libei integration yet. And since last week lan-mouse broke on me on the Hyprland side with the same error every time:

input-capture-portal input capture backend unavailable: error creating input-capture-portal backend: `xdg-desktop-portal: `A portal frontend implementing `org.freedesktop.portal.InputCapture` was not found``

Zombiefleischer avatar Jul 14 '25 08:07 Zombiefleischer

input-capture-portal input capture backend unavailable: error creating input-capture-portal backend: `xdg-desktop-portal: `A portal frontend implementing `org.freedesktop.portal.InputCapture` was not found``

Yes, org.freedesktop.portal.InputCapture needs to be implemented in Hyprland. Unfortunately, Hyprland is quite behind KDE and GNOME on this one.

Does anyone know the upstream Hyprland issue link? If so, maybe we could edit OP to help others find it.

nbolton avatar Jul 14 '25 08:07 nbolton

https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/252

https://github.com/hyprwm/xdg-desktop-portal-hyprland/pull/268

https://github.com/hyprwm/Hyprland/pull/7919

I think those are the three relevant links for the Hyprland integration.

It has worked since last week, where I updated my NixOS, and I think a new version of the desktop-portal or something else broke it. It has been painful to switch input/cables everytime now, and I think I'll try to roll back.

Zombiefleischer avatar Jul 14 '25 10:07 Zombiefleischer

hyprwm/xdg-desktop-portal-hyprland#252

hyprwm/xdg-desktop-portal-hyprland#268

hyprwm/Hyprland#7919

@feschber What do you think about editing OP to highlight these? I can imagine @Zombiefleischer's comment getting lost after a while.

nbolton avatar Jul 14 '25 13:07 nbolton

Downgraded my Hyprland machine and lan-mouse is working again. Now I have to wait with updates until any of this is fixed 😅

Zombiefleischer avatar Jul 14 '25 14:07 Zombiefleischer

Still happening on NixOS 25.05, KDE 6.3.6

zzzealed avatar Jul 25 '25 23:07 zzzealed