Hi Tim,

> I have made a small script that pops up an image when I press the
> caps-lock key, its is not perfect but at least I get a warning that I
> have pressed\tapped the caps lock key.

Was disabling the key not an option?

> export DISPLAY=:0.0
...
> I think if I set display to :0.1 it display on the laptop screen

Yes, first number is the X server's ‘display’ on that machine.
A display is one or more screens, and input devices like keyboard and
mouse.  Second number is the screen within that display.

> so how can I get it to display on both?

Do what you're doing, whatever that is, twice with different values of
DISPLAY.  Or see if notify-send(1) is sufficient for your purposes and
if your desktop environment can display notifications on all screens.

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to