[GH-ISSUE #64] Wayfire to wayfire desktop? #16

Closed
opened 2026-05-05 22:04:18 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @bashprompt on GitHub (Jan 5, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/64

From wayfire.org:
"Wayfire is a wayland compositor based on wlroots."

Should I expect lan-mouse to work between wayfire desktops?

4242/UDP open on both desktops.

If there is any info I can send to help with this project let me know. Terminals on both machines look like this, except for the added ip.

username@hostname1:~$ ./lan-mouse 
[2024-01-05T13:54:16Z ERROR lan_mouse::config] /home/username/.config/lan-mouse/config.toml: No such file or directory (os error 2)
[2024-01-05T13:54:16Z WARN  lan_mouse::config] Continuing without config file ...
[2024-01-05T13:54:16Z ERROR lan_mouse::config] /home/username/.config/lan-mouse/config.toml: No such file or directory (os error 2)
[2024-01-05T13:54:16Z WARN  lan_mouse::config] Continuing without config file ...
[2024-01-05T13:54:16Z INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse
[2024-01-05T13:54:16Z INFO  lan_mouse::consumer] using wlroots event consumer
[2024-01-05T13:54:16Z INFO  lan_mouse::producer] libei event producer not available: not implemented
[2024-01-05T13:54:16Z INFO  lan_mouse::producer] layer_shell event producer not available: zwp_keyboard_shortcuts_inhibit_manager_v1 not supported
[2024-01-05T13:54:16Z INFO  lan_mouse::producer] x11 event producer not available: not implemented
[2024-01-05T13:54:16Z ERROR lan_mouse::producer] falling back to dummy event producer

(lan-mouse:23559): Gtk-WARNING **: 07:54:16.996: Unknown key gtk-modules in /home/username/.config/gtk-4.0/settings.ini
[2024-01-05T13:54:19Z INFO  lan_mouse::server] adding client [left] @ {}

(lan-mouse:23559): Gdk-WARNING **: 07:54:27.830: Compositor doesn't support moving popups, relying on remapping
[2024-01-05T13:54:35Z INFO  lan_mouse::dns] resolving hostname2 ...
[2024-01-05T13:54:35Z INFO  lan_mouse::dns] hostname2: adding ip 192.168.1.222
Originally created by @bashprompt on GitHub (Jan 5, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/64 From wayfire.org: "Wayfire is a wayland compositor based on [wlroots](https://github.com/swaywm/wlroots)." Should I expect lan-mouse to work between wayfire desktops? 4242/UDP open on both desktops. If there is any info I can send to help with this project let me know. Terminals on both machines look like this, except for the added ip. ``` username@hostname1:~$ ./lan-mouse [2024-01-05T13:54:16Z ERROR lan_mouse::config] /home/username/.config/lan-mouse/config.toml: No such file or directory (os error 2) [2024-01-05T13:54:16Z WARN lan_mouse::config] Continuing without config file ... [2024-01-05T13:54:16Z ERROR lan_mouse::config] /home/username/.config/lan-mouse/config.toml: No such file or directory (os error 2) [2024-01-05T13:54:16Z WARN lan_mouse::config] Continuing without config file ... [2024-01-05T13:54:16Z INFO lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse [2024-01-05T13:54:16Z INFO lan_mouse::consumer] using wlroots event consumer [2024-01-05T13:54:16Z INFO lan_mouse::producer] libei event producer not available: not implemented [2024-01-05T13:54:16Z INFO lan_mouse::producer] layer_shell event producer not available: zwp_keyboard_shortcuts_inhibit_manager_v1 not supported [2024-01-05T13:54:16Z INFO lan_mouse::producer] x11 event producer not available: not implemented [2024-01-05T13:54:16Z ERROR lan_mouse::producer] falling back to dummy event producer (lan-mouse:23559): Gtk-WARNING **: 07:54:16.996: Unknown key gtk-modules in /home/username/.config/gtk-4.0/settings.ini [2024-01-05T13:54:19Z INFO lan_mouse::server] adding client [left] @ {} (lan-mouse:23559): Gdk-WARNING **: 07:54:27.830: Compositor doesn't support moving popups, relying on remapping [2024-01-05T13:54:35Z INFO lan_mouse::dns] resolving hostname2 ... [2024-01-05T13:54:35Z INFO lan_mouse::dns] hostname2: adding ip 192.168.1.222 ```
Author
Owner

@feschber commented on GitHub (Jan 5, 2024):

It looks like the keyboard-shortcut-inhibit protocol is not supported by wayfire.
This is necessary to enable modifier key events to be handled by lan-mouse.

I can open an issue on the Wayfire repo

<!-- gh-comment-id:1878777089 --> @feschber commented on GitHub (Jan 5, 2024): It looks like the [keyboard-shortcut-inhibit](https://wayland.app/protocols/keyboard-shortcuts-inhibit-unstable-v1) protocol is not supported by wayfire. This is necessary to enable modifier key events to be handled by lan-mouse. I can open an issue on the Wayfire repo
Author
Owner

@bashprompt commented on GitHub (Jan 5, 2024):

Thank you. I just logged back on to add some OS info, but it looks like not needed.

<!-- gh-comment-id:1878799410 --> @bashprompt commented on GitHub (Jan 5, 2024): Thank you. I just logged back on to add some OS info, but it looks like not needed.
Author
Owner

@feschber commented on GitHub (Jan 5, 2024):

I did some more digging and it seems that shortcut-inhibit was implemented recently. For some reason it's hidden behind a plugin, so you will need to add shortcuts-inhibit to your list of plugins.

I tested it and it seems to be working. Make sure you have a wayfire version that is newer than October 23rd, 2023.

<!-- gh-comment-id:1878887153 --> @feschber commented on GitHub (Jan 5, 2024): I did some more digging and it seems that shortcut-inhibit was implemented [recently](https://github.com/WayfireWM/wayfire/commit/ada3a6ba2176134dc084cf373a38cd3521c1996d). For some reason it's hidden behind a plugin, so you will need to add `shortcuts-inhibit` to your list of plugins. I tested it and it seems to be working. Make sure you have a wayfire version that is newer than October 23rd, 2023.
Author
Owner

@feschber commented on GitHub (Jan 5, 2024):

Working may have been an overstatement it still seems to be a little bit buggy. I will do more testing and report that to Wayfire

<!-- gh-comment-id:1878894425 --> @feschber commented on GitHub (Jan 5, 2024): Working may have been an overstatement it still seems to be a little bit buggy. I will do more testing and report that to Wayfire
Author
Owner

@feschber commented on GitHub (Jan 5, 2024):

Now its working! Had to restart wayfire after adding the plugin. Tell me if it works for you, too. I will add a note to the README in the meantime.

<!-- gh-comment-id:1878909795 --> @feschber commented on GitHub (Jan 5, 2024): Now its working! Had to restart wayfire after adding the plugin. Tell me if it works for you, too. I will add a note to the README in the meantime.
Author
Owner

@feschber commented on GitHub (Jan 13, 2024):

Can you report back if you got it to work?

<!-- gh-comment-id:1890182045 --> @feschber commented on GitHub (Jan 13, 2024): Can you report back if you got it to work?
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#16
No description provided.