This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我找到了一种方法来做到这一点,但它会导致 Gnome 的严重撕裂。
打开终端并输入
xinput
(所有命令都应以普通用户身份完成)。查看其中一只老鼠的 ID。
然后使用此命令创建一个新的主设备
xinput create-master "name"
。现在您只需将其中一只鼠标重新连接到新的主设备
xinput reattach "mouse id" "new master id"
。请注意,这可以工作,但不实用,至少在 GUI 中正确实现之前是这样。
要恢复此状态,您可能必须盲目执行此操作,但命令如下
xinput reattach "mouse id" "old master id"
thenxinput remove-master "new master id"< /代码>。
注意:
I've found a way to do it, but it causes major tearing with Gnome.
Open a terminal and type in
xinput
(all commands should be done as normal user).Look at the id of one of your mice.
Then create a new master device with this command
xinput create-master "name"
.Now you just need to reattach one of your mice to the new master
xinput reattach "mouse id" "new master id"
.Note this works but is not practical, at least until it's implemented properly in the GUI.
To revert this you will probably have to do it blind, but the commands are as follows
xinput reattach "mouse id" "old master id"
thenxinput remove-master "new master id"
.Notes:
简单的。使用像 openpie 这样的程序并编写自己的多鼠标脚本(比听起来容易得多,我认为您可以找到预先编写的双鼠标 glovepie 脚本 [只需谷歌“glovepie 双鼠标”)] 注意:您将需要超过一种用于单独鼠标控制的输入方法。
祝你好运,我一次用了 6 只老鼠:)
Easy. Use a program like openpie and write your own multiple mouse script (a lot easier than it sounds, I think you can find a pre-written dual mouse glovepie script [just google 'glovepie dual mouse')] NB: you will need more than one input method for separate mouse control.
Good luck I used 6 mice at once :)
您需要将窗口管理器替换为支持双鼠标的窗口管理器。唯一能做到这一点的是基于icewm 的实验性的。
https://multicursor-wm.sourceforge.net
您还需要更新您的 XServer 以支持多只老鼠。
https://en.wikipedia.org/wiki/Multi-Pointer_X
You'll need to replace your window manager with one that supports double mice. The only one that does this is an experimental one based off of icewm.
https://multicursor-wm.sourceforge.net
You'll also need to update your XServer to support multiple mice.
https://en.wikipedia.org/wiki/Multi-Pointer_X