Re: [dev] dmenu fast grab

From: Connor Lane Smith <>
Date: Sun, 20 Mar 2011 10:08:13 +0000


On 20 March 2011 04:24, Rob <> wrote:
> Not sure how useful this will be, but I altered dmenu so it can grab the
> X keyboard before reading input from stdin.
> It works well on my netbook, where occasionally dmenu_run can take up to
> a second to grab the keyboard, meaning I end up typing a load of
> jibberish into the focused window, expecting it to go into dmenu.
> Just an itch it scratches really.

Yeah, I've found that annoying before. The only problem it has is if
stdin is dependent on tty input everything locks up. The '-f' flag may
be a solution, so long as it's treated with fear.

The patch has a typo, btw: usage claims to add a '-q' flag.

Received on Sun Mar 20 2011 - 11:08:13 CET

This archive was generated by hypermail 2.2.0 : Sun Mar 20 2011 - 11:12:02 CET