Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
1
answers
94
views
Make input device (mouse) "unavailable" to desktop
What I am looking for is a way to prevent a pointer device (specifically the pen of a graphics tablet) from being used as a regular input pointer by X11 or Wayland. However, I would like to still be able to evaluate clicks and moves in my program. So basically tie the output of that pen to my applic...
What I am looking for is a way to prevent a pointer device (specifically the pen of a graphics tablet) from being used as a regular input pointer by X11 or Wayland. However, I would like to still be able to evaluate clicks and moves in my program. So basically tie the output of that pen to my application, ideally regardless of whether it has focus or not.
Under X11, devices can be set "floating", which prevents these from being used as generic input device, but I am not sure whether the same can be done in Wayland and how.
What is the best way to achieve this?
user52366
(221 rep)
Apr 16, 2024, 07:34 AM
• Last activity: Apr 16, 2024, 07:48 AM
2
votes
0
answers
556
views
Attach horizontal line (ruler) to cursor
I am currently reading a lot of texts on my computer, some which have wide rows, and shifting focus to write summaries. When I read on paper i sometimes use a ruler to keep track of my location, I find this helps when I get tired. Therefore, I would like something similar on linux. Is there any way...
I am currently reading a lot of texts on my computer, some which have wide rows, and shifting focus to write summaries.
When I read on paper i sometimes use a ruler to keep track of my location, I find this helps when I get tired. Therefore, I would like something similar on linux.
Is there any way to code some transparent ruler that follows the mouse pointer?
Most of the ruler applications like "kruler" are not attached to the mouse.
I also tried the cross-hairs in the accessibility but it's not quite what I want as i find the vertical lines distracting. And want something where I can set the opacity.
Does anyone have any suggestions on where to start with this problem?
Best,
Michael
Michael
(21 rep)
May 23, 2020, 10:32 AM
3
votes
0
answers
527
views
Multiple mouse pointers unstable
(Running Debian 8.5, Gnome 3.14.1) I purchased a secondary monitor which is a touch screen. I do Android development, so the plan was to keep my main (non-touch) monitor dedicated to code and have an android emulator on the second monitor and interact with it by touch. The problem I'm running into i...
(Running Debian 8.5, Gnome 3.14.1)
I purchased a secondary monitor which is a touch screen. I do Android development, so the plan was to keep my main (non-touch) monitor dedicated to code and have an android emulator on the second monitor and interact with it by touch.
The problem I'm running into is that touching on the second screen moves the mouse cursor to where I touch, which defeats half of the purpose of a touch screen for me (the other half is that the emulator doesn't support multi-touch inputs, but I've accepted that). I realized what I needed was to have two separate mouse pointers, and followed [instructions on doing that with xinput.](https://wiki.archlinux.org/index.php/Multi-pointer_X#Software_support)
This works, but not well. The second mouse blinks constantly (I believe it's confused about which monitor it's on) and simple operations fail. Touching on a window's title bar to drag it will result in the mouse-pointer starting to drag the window, e.g. Eventually either both mice will become invisible or the system will crash.
I was curious if there was anything I could do to make this stable?
Bob Liberatore
(153 rep)
Aug 10, 2016, 05:00 PM
• Last activity: Dec 9, 2019, 07:55 PM
3
votes
1
answers
1231
views
X11 multi-pointer, pointer conflicts
In an attempt to continue using my PC whilst automating a GUI application, I have created 2 pointers on my machine using xinput, one being controlled by me, the other by pyautogui. on my system this is done by: xinput create-master mynewpointer xinput reattach 10 11 I use master pointer 11 pyautogui...
In an attempt to continue using my PC whilst automating a GUI application, I have created 2 pointers on my machine using xinput, one being controlled by me, the other by pyautogui.
on my system this is done by:
xinput create-master mynewpointer
xinput reattach 10 11
I use master pointer 11
pyautogui uses default pointer 2
However the pointers conflict with each other in various ways, snatching focus from each other being one of the major problems.
Even using xinput --map-to-output or --set-cp does not work, the pointer still "flicks" back from the window/monitor being tested when my pointer grabs focus on a new window.
Is there anyway to seperate these pointers?
keda
(82 rep)
May 18, 2016, 11:22 PM
• Last activity: Jul 7, 2019, 03:07 PM
4
votes
1
answers
670
views
Multi Pointer Window Manager
I test Multi Pointer X (MPX) and I read that there is Multi Pointer Window Manager (MPWM) which has additional fetures to support MPX. The problem is that I can not find MPWM. I googled it and there are only [this][1] and Mutli-Cursor Window Manager in the search results. Where can I download MPWM?...
I test Multi Pointer X (MPX) and I read that there is Multi Pointer Window Manager (MPWM) which has additional fetures to support MPX. The problem is that I can not find MPWM. I googled it and there are only this and Mutli-Cursor Window Manager in the search results.
Where can I download MPWM?
Mariusz
(369 rep)
Sep 8, 2014, 08:05 AM
• Last activity: Jul 7, 2019, 03:07 PM
3
votes
0
answers
883
views
Can I assign two mice to two windows or have two pointers?
I figured out how to put two pointers at the same time and control them with two mice (using xinput), but can I have them both assigned to a window? Since I can only have one window in focus I can't use both of the pointers properly because one will be on the focused window and the other one won't....
I figured out how to put two pointers at the same time and control them with two mice (using xinput), but can I have them both assigned to a window? Since I can only have one window in focus I can't use both of the pointers properly because one will be on the focused window and the other one won't. I'm trying to play a LAN game with a friend and, if this is possible, we'll be able to play in split-screen. I have a second monitor available, but if possible I'd prefer it on one screen. I'm also trying to avoid emulation since I have an older PC with Ubuntu. I'm new to Linux so it would be nice if you could explain every step.
Fran
(31 rep)
Jun 29, 2019, 08:54 PM
• Last activity: Jul 7, 2019, 02:59 PM
Showing page 1 of 6 total questions