Skip to content
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

Works only one way #146

Closed
nnra6864 opened this issue Jun 24, 2024 · 1 comment
Closed

Works only one way #146

nnra6864 opened this issue Jun 24, 2024 · 1 comment

Comments

@nnra6864
Copy link

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"]

@feschber
Copy link
Owner

duplicate of #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants