On Wed, Jul 25, 2018 at 12:27:29PM +0200, Sebastien Marie wrote:
> On Mon, Jul 16, 2018 at 11:37:41AM +0200, Sebastien Marie wrote:
> > Hi,
> > 
> > I am looking at a way to auto-logout some workstation on inactivity.
> 
> ping.
> 
> no problem if there is no interest for such thing in xidle, I will write
> a dedicated app for that.
> 
> > xidle(1) seems great for such purpose. But I didn't found a way to just
> > use timeout and not also an active area (a corner where the program is
> > launched if pointer stays inside few seconds).
> > 
> > The following diff tries to implement a way to disable the active area
> > without being too intrusive.
> > 
> > For that, I used the `delay' parameter ("Specify the number of seconds
> > the pointer has to be in the given position before running the
> > program."), to allow value -1, and make it to discard the event.
> > 
> > Does it make sens ? Or any proposition to more straighfull approch ?
> > 

I would love to be able to use xidle without active area but I have to say
that your approach with -1 as delay seems a bit like a hack. Wouldn't it
be better to add a -no option to disable the corners all together? Maybe
even make that the default instead of -nw?

-- 
:wq Claudio

Reply via email to