You are not logged in.

#1 2015-12-20 18:19:31

JohnTheCuriousEye
Member
Registered: 2015-12-13
Posts: 12

Can two mice = two cursors ? Script perhaps ?

So I have 2 mouses and double monitors connected to one computer and now I am wondering if there is any script I can use to have two cursors ? You might ask me why ? Well I need it for my multitasking same as with eyes and hands.

Offline

#2 2015-12-20 18:30:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Offline

#3 2015-12-20 18:46:31

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Can two mice = two cursors ? Script perhaps ?

hah!
i never knew this was possible. Viva la Linux!

Offline

#4 2015-12-20 18:47:30

JohnTheCuriousEye
Member
Registered: 2015-12-13
Posts: 12

Re: Can two mice = two cursors ? Script perhaps ?

Does it work in Debian and with Proprietary Drivers such as those from AMD/Nvidia ?

Offline

#5 2015-12-20 18:53:22

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Can two mice = two cursors ? Script perhaps ?

JohnTheCuriousEye wrote:

Does it work in Debian and with Proprietary Drivers such as those from AMD/Nvidia ?

The method seems to be distribution agnostic but I don't use Debian so I can't test.

Try it and see.

You will have to create an xorg configuration file for your pointing devices with two "InputClass" sections (I think).

See xorg.conf(5)

If you manage to figure it out, please post your files so I can add configuration examples to the ArchWiki page wink

Offline

#6 2015-12-20 19:12:58

JohnTheCuriousEye
Member
Registered: 2015-12-13
Posts: 12

Re: Can two mice = two cursors ? Script perhaps ?

Head_on_a_Stick wrote:
JohnTheCuriousEye wrote:

Does it work in Debian and with Proprietary Drivers such as those from AMD/Nvidia ?

The method seems to be distribution agnostic but I don't use Debian so I can't test.

Try it and see.

You will have to create an xorg configuration file for your pointing devices with two "InputClass" sections (I think).

See xorg.conf(5)

If you manage to figure it out, please post your files so I can add configuration examples to the ArchWiki page wink

I have also found this: Digital Cowboy DCT-PM1 Dual-Pointer Mouse: Solution in Search of a Problem?

What I am after in my case is switching from one monitor to another one in my case very quickly to which I haven't found any solution as yet ...

Offline

#7 2015-12-21 00:08:16

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Can two mice = two cursors ? Script perhaps ?

Perhaps you can make various keystrokes (example: xdotool mousemove 10 10) to move the singular pointer quickly.
Or perhaps a behavior where pointer touches upper limit and will jump out on another monitor.

Last edited by brontosaurusrex (2015-12-21 00:10:10)

Online

#8 2015-12-21 01:46:35

JohnTheCuriousEye
Member
Registered: 2015-12-13
Posts: 12

Re: Can two mice = two cursors ? Script perhaps ?

brontosaurusrex wrote:

Perhaps you can make various keystrokes (example: xdotool mousemove 10 10) to move the singular pointer quickly.
Or perhaps a behavior where pointer touches upper limit and will jump out on another monitor.

Any tips on how to do it ?

Offline

#9 2015-12-21 01:50:00

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Can two mice = two cursors ? Script perhaps ?

If what you're trying to do is move the cursor to the second monitor so a newly opened application will appear under it there, may I suggest an alternate approach?
1.  Open the application in the monitor that currently has focus.
2.  Use a keybind to MoveResizeTo next monitor:  http://ubuntuforums.org/archive/index.p … 83784.html


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#10 2015-12-21 06:43:04

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Can two mice = two cursors ? Script perhaps ?

JohnTheCuriousEye wrote:
brontosaurusrex wrote:

Or perhaps a behavior where pointer touches upper limit and will jump out on another monitor.

Any tips on how to do it ?

I was thinking something like
xdotool behave_screen_edge --delay 100 top mousemove 300 300
but it doesn't really behave well the N-th time for some reason, in need for further experimentation.

Last edited by brontosaurusrex (2015-12-21 06:44:06)

Online

Board footer

Powered by FluxBB