[GH-ISSUE #190] Hyprland only capture mouse on right and bottom #87

Closed
opened 2026-05-05 22:08:35 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @prestonr83 on GitHub (Sep 4, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/190

When running with --test-capture from Arch with single monitor configured on hyprland I can only get it to capture on the bottom and left

$  ~ yay -Qi wayland

Name            : wayland
Version         : 1.23.0-1
Description     : A computer display server protocol
Architecture    : x86_64
URL             : https://wayland.freedesktop.org/
Licenses        : MIT
Groups          : None
Provides        : libwayland-client.so=0-64  libwayland-cursor.so=0-64  libwayland-egl.so=1-64  libwayland-server.so=0-64
Depends On      : glibc  libffi  expat  libxml2  default-cursors
Optional Deps   : None
Required By     : dunst  egl-wayland  flatpak  foot  grim  gst-plugins-bad-libs  gst-plugins-base-libs  gtk-layer-shell  gtk3  gtk4  hypridle
                  hyprland-stable  hyprlock  kwindowsystem  lib32-wayland  libdecor  libva  mako  mesa  mesa-utils  mpv  qt6-wayland
                  rofi-lbonn-wayland-git  slurp  spice-gtk  swaybg  swayidle  swaylock  waybar  wdisplays  webkit2gtk  webkit2gtk-4.1  wf-recorder
                  wl-clipboard  wlroots  wofi  wpebackend-fdo  xorg-xwayland
Optional For    : libxkbcommon
Conflicts With  : None
Replaces        : None
Installed Size  : 819.45 KiB
Packager        : Sébastien Luttringer <seblu@archlinux.org>
Build Date      : Fri 31 May 2024 11:51:09 PM EDT
Install Date    : Thu 04 Jul 2024 01:05:18 AM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

$ ~ hyprctl version
Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

$  ~ hyprctl monitors
Monitor DP-3 (ID 1):
	2560x1440@119.99800 at 0x0
	description: LG Electronics LG ULTRAGEAR 305MXBP85517
	make: LG Electronics
	model: LG ULTRAGEAR
	serial: 305MXBP85517
	active workspace: 2 (2)
	special workspace: 0 ()
	reserved: 0 38 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: 2560x1440@120.00Hz 2560x1440@164.96Hz 2560x1440@143.97Hz 2560x1440@59.95Hz 1920x1080@119.88Hz 1920x1080@60.00Hz 1920x1080@59.94Hz 1920x1080@50.00Hz 1280x720@59.94Hz 1280x720@50.00Hz 1024x768@60.00Hz 800x600@60.32Hz 720x576@50.00Hz 720x480@59.94Hz 640x480@59.94Hz 640x480@59.93Hz
Originally created by @prestonr83 on GitHub (Sep 4, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/190 When running with --test-capture from Arch with single monitor configured on hyprland I can only get it to capture on the bottom and left ``` $ ~ yay -Qi wayland Name : wayland Version : 1.23.0-1 Description : A computer display server protocol Architecture : x86_64 URL : https://wayland.freedesktop.org/ Licenses : MIT Groups : None Provides : libwayland-client.so=0-64 libwayland-cursor.so=0-64 libwayland-egl.so=1-64 libwayland-server.so=0-64 Depends On : glibc libffi expat libxml2 default-cursors Optional Deps : None Required By : dunst egl-wayland flatpak foot grim gst-plugins-bad-libs gst-plugins-base-libs gtk-layer-shell gtk3 gtk4 hypridle hyprland-stable hyprlock kwindowsystem lib32-wayland libdecor libva mako mesa mesa-utils mpv qt6-wayland rofi-lbonn-wayland-git slurp spice-gtk swaybg swayidle swaylock waybar wdisplays webkit2gtk webkit2gtk-4.1 wf-recorder wl-clipboard wlroots wofi wpebackend-fdo xorg-xwayland Optional For : libxkbcommon Conflicts With : None Replaces : None Installed Size : 819.45 KiB Packager : Sébastien Luttringer <seblu@archlinux.org> Build Date : Fri 31 May 2024 11:51:09 PM EDT Install Date : Thu 04 Jul 2024 01:05:18 AM EDT Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature $ ~ hyprctl version Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) $ ~ hyprctl monitors Monitor DP-3 (ID 1): 2560x1440@119.99800 at 0x0 description: LG Electronics LG ULTRAGEAR 305MXBP85517 make: LG Electronics model: LG ULTRAGEAR serial: 305MXBP85517 active workspace: 2 (2) special workspace: 0 () reserved: 0 38 0 0 scale: 1.00 transform: 0 focused: yes dpmsStatus: 1 vrr: 0 activelyTearing: false disabled: false currentFormat: XRGB8888 availableModes: 2560x1440@120.00Hz 2560x1440@164.96Hz 2560x1440@143.97Hz 2560x1440@59.95Hz 1920x1080@119.88Hz 1920x1080@60.00Hz 1920x1080@59.94Hz 1920x1080@50.00Hz 1280x720@59.94Hz 1280x720@50.00Hz 1024x768@60.00Hz 800x600@60.32Hz 720x576@50.00Hz 720x480@59.94Hz 640x480@59.94Hz 640x480@59.93Hz ```
Author
Owner

@feschber commented on GitHub (Sep 4, 2024):

This is a Hyprland issue and should already be fixed:
https://github.com/feschber/lan-mouse/issues/135
https://github.com/hyprwm/Hyprland/issues/6170

<!-- gh-comment-id:2330297796 --> @feschber commented on GitHub (Sep 4, 2024): This is a Hyprland issue and should already be fixed: https://github.com/feschber/lan-mouse/issues/135 https://github.com/hyprwm/Hyprland/issues/6170
Author
Owner

@prestonr83 commented on GitHub (Sep 4, 2024):

Thanks not sure why its not working for me unless its a regression as I am running the latest 'stable' release of hyprland.

For now I just pull from source and built it with those changes for setting pixels to 2 and that works for me.

Thanks

<!-- gh-comment-id:2330340036 --> @prestonr83 commented on GitHub (Sep 4, 2024): Thanks not sure why its not working for me unless its a regression as I am running the latest 'stable' release of hyprland. For now I just pull from source and built it with those changes for setting pixels to 2 and that works for me. Thanks
Author
Owner

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

Your build date shows Date: Tue Jun 25 12:06:02 2024
the fix was merged on Jul 2nd.

So maybe it just hasn't made its way into stable yet.

<!-- gh-comment-id:2330373431 --> @feschber commented on GitHub (Sep 5, 2024): Your build date shows `Date: Tue Jun 25 12:06:02 2024` the [fix](https://github.com/hyprwm/Hyprland/pull/6027) was merged on Jul 2nd. So maybe it just hasn't made its way into stable yet.
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#87
No description provided.