Re: FVWM: emulating mouse button 2 on HP touchpad

Lucio Chiappetti <[email protected]> Mon, 15 May 2023 13:31:54 +0200 (CEST)
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
On Sun, 14 May 2023, Thomas Adam wrote:
> On Sun, 14 May 2023 at 22:12, Lucio Chiappetti wrote:

>> So the problem is an incompatibility between xterm and fvwm syntethic
>> events (or a syntax problem with PointerKey ?)

> No.  By default generating synthetic events is considered a security 
> risk. which is why so many applications now no longer support them.

For my education ... what are *exactly* synthetic events ?

- those generated by a command like xdotool click 2 ?
   (if executed after a sleep calling it into another window, it works
   in an xterm)

- those generated by fvwm as actions of a Key or PointerKey directive ?

   I tried (from manpage)
   Key (xterm) V A C Echo ctrl-V-in-Term

   and it works and writes the message to .xsession-errors

So what could be an "action" to be put at the end of a Key or PointerKey 
directive to do a X11 native "paste from clipboard"  (other that xdotool 
click 2 which introduces a level of indirection) ?

I am pursuing another suggestion (more to come), otherwise as last resort 
I will be forced to replace (on the laptop) usage of xterm with urxvt 
(I'll have to look for all my colours and font size settings) ... I do not 
like the newer console for xfce terminals.