On Fri, Nov 29, 2024 at 12:04:25PM +0530, SUGANDH KUMAR wrote: > Hi, > > Can anyone help on this issue please. > > Thanks, > Sugandh > > On Tue, 19 Nov, 2024, 5:46 pm SUGANDH KUMAR, <sugandh.ros...@gmail.com> > wrote: > > > Hi Team, > > > > *Setup:* > > > > Using X11 on Ubuntu 22.02. > > > > Two monitors, primary and secondary are connected having individual mouse > > pointers. Both monitors are touch enabled. > > > > Pointer on secondary monitor is created using following command: "*xinput > > create-master Auxiliary".* > > > > Touch for secondary monitor is attached to Auxiliary pointer > > > > No changes has been made to xorg.conf > > Also we are exporting DISPLAY=:0. > > > > Data of all input devices connected: > > > > > > > > > > *Requirement:* > > > > I am working on a requirement to hide auxiliary mouse pointer on secondary > > screen. But touch should work as it is. On primary monitor mouse pointer > > should be visible. > > > > I tried to use multiple other options like unclutter, xsetroot to do that. > > But all of them works only for primary monitor. > > > > I also tried to disable Auxiliary pointer device using xinput, but it is > > causing xserver to crash. Find below the logs: > > > > > > Please suggest me a way to complete my requirement using x11 tools. Is it > > possible using device id getting from xinput? > > > > Thanks, > > Sugandh
I don't think there's a trivial way to do this without affecting the primary pointer too. The server's implementation of XFixesHideCursor hides it for all master devices and there's no device-specific equivalent in the XFixes protocol. Cheers, Peter