Re: RFC: libei - emulated input in Wayland compositors

2020-08-12 Thread Peter Hutterer
An update to the work that's been happening here. libei now has some xdg-desktop-portal support. It will ping the portal, get the fd back and then go on from there. For Xwayland switching to use the a portal is a one-line change, so a sandboxed X application now has XTEST requests go through the

Re: RFC: libei - emulated input in Wayland compositors

2020-08-03 Thread Jonas Ådahl
On Mon, Aug 03, 2020 at 02:57:11PM +1000, Peter Hutterer wrote: > On Sat, Aug 01, 2020 at 01:42:16PM +0200, Roman Gilg wrote: > > > > > > 1) It exports a set of APIs under org.freedesktop.portal.* that all > > > sandboxed applications can access. > > > > > > In contrast to explicitly allowed APIs

Re: RFC: libei - emulated input in Wayland compositors

2020-08-02 Thread Peter Hutterer
On Sat, Aug 01, 2020 at 01:42:16PM +0200, Roman Gilg wrote: > > > > 1) It exports a set of APIs under org.freedesktop.portal.* that all > > sandboxed applications can access. > > > > In contrast to explicitly allowed APIs (i.e. build time configured list > > of API to be exposed directly to inside

Re: RFC: libei - emulated input in Wayland compositors

2020-08-02 Thread Peter Hutterer
On Fri, Jul 31, 2020 at 08:49:41PM +0200, Roman Gilg wrote: > On Fri, Jul 31, 2020 at 7:13 AM Peter Hutterer > wrote: > > > > I've been working on a new approach for allowing emulated input devices in > > Wayland. Or in short - how can we make xdotool and synergy work? And > > eventually replace

Re: RFC: libei - emulated input in Wayland compositors

2020-08-01 Thread Roman Gilg
On Sat, Aug 1, 2020 at 12:47 AM Jonas Ådahl wrote: > > On Fri, Jul 31, 2020 at 08:49:41PM +0200, Roman Gilg wrote: > > On Fri, Jul 31, 2020 at 7:13 AM Peter Hutterer > > wrote: > > > > > > I've been working on a new approach for allowing emulated input devices in > > > Wayland. Or in short -

Re: RFC: libei - emulated input in Wayland compositors

2020-07-31 Thread Jonas Ådahl
On Fri, Jul 31, 2020 at 08:49:41PM +0200, Roman Gilg wrote: > On Fri, Jul 31, 2020 at 7:13 AM Peter Hutterer > wrote: > > > > I've been working on a new approach for allowing emulated input devices in > > Wayland. Or in short - how can we make xdotool and synergy work? And > > eventually replace

Re: RFC: libei - emulated input in Wayland compositors

2020-07-31 Thread Roman Gilg
On Fri, Jul 31, 2020 at 7:13 AM Peter Hutterer wrote: > > I've been working on a new approach for allowing emulated input devices in > Wayland. Or in short - how can we make xdotool and synergy work? And > eventually replace them. > > The proposal I have is a library for Emulated Input, in short

Re: RFC: libei - emulated input in Wayland compositors

2020-07-31 Thread Peter Hutterer
On Fri, Jul 31, 2020 at 12:16:55PM +0300, Pekka Paalanen wrote: > On Fri, 31 Jul 2020 15:13:50 +1000 > Peter Hutterer wrote: > > > I've been working on a new approach for allowing emulated input devices in > > Wayland. Or in short - how can we make xdotool and synergy work? And > > eventually

Re: RFC: libei - emulated input in Wayland compositors

2020-07-31 Thread Pekka Paalanen
On Fri, 31 Jul 2020 15:13:50 +1000 Peter Hutterer wrote: > I've been working on a new approach for allowing emulated input devices in > Wayland. Or in short - how can we make xdotool and synergy work? And > eventually replace them. > > The proposal I have is a library for Emulated Input, in

Re: RFC: libei - emulated input in Wayland compositors

2020-07-31 Thread Jonas Ådahl
On Fri, Jul 31, 2020 at 11:00:53AM +0300, Vlad Zahorodnii wrote: > Howdy, > > On 7/31/20 8:13 AM, Peter Hutterer wrote: > > I've been working on a new approach for allowing emulated input devices in > > Wayland. Or in short - how can we make xdotool and synergy work? And > > eventually replace

Re: RFC: libei - emulated input in Wayland compositors

2020-07-31 Thread Peter Hutterer
On Fri, Jul 31, 2020 at 11:00:53AM +0300, Vlad Zahorodnii wrote: > > c) allows you to e.g. suspend the client when convenient or just ignore > > certain sequences altogether. The two made-up examples are: suspend EI > > during a password prompt, or allow EI from the software yubikey *only* > >

Re: RFC: libei - emulated input in Wayland compositors

2020-07-31 Thread Vlad Zahorodnii
Howdy, On 7/31/20 8:13 AM, Peter Hutterer wrote: > I've been working on a new approach for allowing emulated input devices in > Wayland. Or in short - how can we make xdotool and synergy work? And > eventually replace them. ++, it would be nice to have something that is supported by all major

RFC: libei - emulated input in Wayland compositors

2020-07-30 Thread Peter Hutterer
I've been working on a new approach for allowing emulated input devices in Wayland. Or in short - how can we make xdotool and synergy work? And eventually replace them. The proposal I have is a library for Emulated Input, in short libei. https://gitlab.freedesktop.org/whot/libei/ libei has two