[GH-ISSUE #146] Works only one way #61

Closed
opened 2026-05-05 22:07:36 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @nnra6864 on GitHub (Jun 24, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/146

It's fairly simple, it works only one way.
I have my pc running arch with hyprland-git and I got lan-mouse from pacman.
I also have a laptop running tumbleweed with plasma wayland and I got lan-mouse from releases.
I am able to move my mouse from plasma to hyprland but not the other way around.
Here's the hyprland machine output:

lan-mouse
[2024-06-24T21:48:36Z INFO  lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml"
[2024-06-24T21:48:36Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2024-06-24T21:48:36Z INFO  lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml"
[2024-06-24T21:48:36Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2024-06-24T21:48:36Z INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse
[2024-06-24T21:48:36Z INFO  lan_mouse::server] running service
[2024-06-24T21:48:36Z INFO  lan_mouse::emulate] using wlroots input emulation
[2024-06-24T21:48:36Z INFO  lan_mouse::capture] libei input capture not available: ZBus Error: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.InputCapture” on object at path /org/freedesktop/portal/desktop
[2024-06-24T21:48:36Z INFO  lan_mouse::capture] using layer-shell input capture

Here's the plasma machine output:

./lan-mouse 
[2024-06-24T21:54:26Z INFO  lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml"
[2024-06-24T21:54:26Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2024-06-24T21:54:26Z INFO  lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml"
[2024-06-24T21:54:26Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2024-06-24T21:54:26Z INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse
[2024-06-24T21:54:26Z INFO  lan_mouse::server] running service
[2024-06-24T21:54:26Z INFO  lan_mouse::emulate] wayland backend not available: the requested global was not found in the registry
[2024-06-24T21:54:26Z INFO  lan_mouse::capture] libei input capture not available: ZBus Error: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.InputCapture” on object at path /org/freedesktop/portal/desktop
[2024-06-24T21:54:26Z INFO  lan_mouse::capture] using layer-shell input capture
[2024-06-24T21:54:26Z INFO  lan_mouse::emulate::libei] requesting permission for input emulation

(lan-mouse:18388): Gtk-WARNING **: 23:54:26.241: Unknown key gtk-modules in /home/nnra/.config/gtk-4.0/settings.ini

(lan-mouse:18388): Adwaita-WARNING **: 23:54:26.358: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
[2024-06-24T21:54:29Z INFO  lan_mouse::emulate] libei not available: 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}')

Config on both ends:
[left/right]
activate_on_startup = true
ips = ["ip"]

Originally created by @nnra6864 on GitHub (Jun 24, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/146 It's fairly simple, it works only one way. I have my pc running arch with hyprland-git and I got lan-mouse from pacman. I also have a laptop running tumbleweed with plasma wayland and I got lan-mouse from releases. I am able to move my mouse from plasma to hyprland but not the other way around. Here's the hyprland machine output: ``` lan-mouse [2024-06-24T21:48:36Z INFO lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml" [2024-06-24T21:48:36Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2024-06-24T21:48:36Z INFO lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml" [2024-06-24T21:48:36Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2024-06-24T21:48:36Z INFO lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse [2024-06-24T21:48:36Z INFO lan_mouse::server] running service [2024-06-24T21:48:36Z INFO lan_mouse::emulate] using wlroots input emulation [2024-06-24T21:48:36Z INFO lan_mouse::capture] libei input capture not available: ZBus Error: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.InputCapture” on object at path /org/freedesktop/portal/desktop [2024-06-24T21:48:36Z INFO lan_mouse::capture] using layer-shell input capture ``` Here's the plasma machine output: ``` ./lan-mouse [2024-06-24T21:54:26Z INFO lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml" [2024-06-24T21:54:26Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2024-06-24T21:54:26Z INFO lan_mouse::config] using config: "/home/nnra/.config/lan-mouse/config.toml" [2024-06-24T21:54:26Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2024-06-24T21:54:26Z INFO lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse [2024-06-24T21:54:26Z INFO lan_mouse::server] running service [2024-06-24T21:54:26Z INFO lan_mouse::emulate] wayland backend not available: the requested global was not found in the registry [2024-06-24T21:54:26Z INFO lan_mouse::capture] libei input capture not available: ZBus Error: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.InputCapture” on object at path /org/freedesktop/portal/desktop [2024-06-24T21:54:26Z INFO lan_mouse::capture] using layer-shell input capture [2024-06-24T21:54:26Z INFO lan_mouse::emulate::libei] requesting permission for input emulation (lan-mouse:18388): Gtk-WARNING **: 23:54:26.241: Unknown key gtk-modules in /home/nnra/.config/gtk-4.0/settings.ini (lan-mouse:18388): Adwaita-WARNING **: 23:54:26.358: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. [2024-06-24T21:54:29Z INFO lan_mouse::emulate] libei not available: 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}') ``` Config on both ends: [left/right] activate_on_startup = true ips = ["ip"]
Author
Owner

@feschber commented on GitHub (Jun 28, 2024):

duplicate of #135

<!-- gh-comment-id:2196543333 --> @feschber commented on GitHub (Jun 28, 2024): duplicate of #135
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#61
No description provided.