Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Does not get focus in fluxbox. Unable to capture keyboard. #46

Open
slackhead opened this issue Dec 1, 2017 · 0 comments
Open

Does not get focus in fluxbox. Unable to capture keyboard. #46

slackhead opened this issue Dec 1, 2017 · 0 comments

Comments

@slackhead
Copy link

slackhead commented Dec 1, 2017

I'm using fluxbox WM and dzen 0.8.5.

I have a shell script that detects new windows opening on other workspaces than the current. What I want to do is optionally press enter and go to that workspace.

This is a snippet of the code I've been testing:

DIFF="2"
DZEN="dzen2 -x 0 -y $(($Y-25)) -w 70 -h 25 -l 1 -bg black -fg gray -e 'key_Return=exit:9'"
(echo "[ $DIFF ]"; sleep 15) | $DZEN

When the window pops up it doesn't have focus and pressing enter just goes to the terminal.
If I click the mouse on it and then press enter it doesn't change.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant