I have had it not grab focus, very rarely, fortunately my mouse still works so I just click on it then choose.
I finally remembered where I got it!
arch-forum-thread
was written by " u_no_hu"
so you could go to the thread and email him?
I wonder if it was put in a separate script that was called from .xinitrc if then it would keep focus better.
It does work for me if I do it that way but as it rarely looses focus using it the previous way I have no way of telling if it will make
a difference. Maybe there is something you can put in a bash script that makes it keep active?
or use of wmctrl or
xdotool windowfocus < >
OR, you could try using xmessage instead of zenity, this script could easily be changed to start window managers
link to script
Yes I have tested it and it works; just put your wm choices in there instead
I finally remembered where I got it!
arch-forum-thread
was written by " u_no_hu"
so you could go to the thread and email him?
I wonder if it was put in a separate script that was called from .xinitrc if then it would keep focus better.
It does work for me if I do it that way but as it rarely looses focus using it the previous way I have no way of telling if it will make
a difference. Maybe there is something you can put in a bash script that makes it keep active?
or use of wmctrl or
xdotool windowfocus < >
OR, you could try using xmessage instead of zenity, this script could easily be changed to start window managers
link to script
Yes I have tested it and it works; just put your wm choices in there instead
Code Select
case $? in
101) # Normal
exec i3 # Start my WindowManager
break ;; # End our world as we know it
110) # bspwm
exec /home/dka/bin/start-bspwm
break ;; # End our world as we know it
111) # whatever
exec /home/dka/bin/start-whatever
break ;;
1) # Exit
exit 0 ;;
esac
done