Hey, On 20 March 2011 04:24, Rob <robpill...@gmail.com> 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. Thanks, cls