-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
I have a script which opens dzen2 and accepts a single key (and then does something and exits). If I use event string:
entertitle=grabkeys;enterslave=grabkeys;onstart=uncollapse,grabkeys
then it works fine when I invoke the script from a shell. But when I invoke the script from xbindkeys, it does not do the grabkeys. I have to manually
move the mouse out and into the window (activating enterslave/entertitle) to get it to read the key. My kludge fix was to do this:
entertitle=grabkeys;enterslave=grabkeys;onstart=uncollapse,grabkeys,exec:xdotool mousemove 960 0 sleep 0.2 mousemove 900 35
which moves it for me (activating enterslave/entertitle). The sleep is required. Sleeping 0.1 does not work.
So I wonder if this a bug in the program, or is there something I did wrong regarding grabkeys such that it did not work from xbindkeys?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels