You are not logged in.
Hi guys!
I am a big fan of BSPWM, however, when i use Android Studio that application becomes at random times extremly slow and will freeze for around 30 seconds.
This happens mostly when it opens a popup thing..
When im on XFCE4, i dont have any issues and Android Studio runs smooth, how can is fix this and what is causing this ?
Offline
I am not familiar with andriod studio.
But is it java perhaps?
If so I and others have had troubles.
I found the following settings worked for me in my bspwmrc
#open Funny Java Things
bspc config focus_follows_pointer false
wmname LG3DAccording to the DWM wiki entry Java essentially doesn't recognize BSPWM (and other WM's) so we have to fool it:
https://wiki.archlinux.org/index.php/Dw … plications
but I sometimes like my pointer to focus (essentially change active window with a mouse) and I have this little thing mapped to toggle
https://gist.github.com/matchew/a8de5c0ab939d19f0a12
#!/usr/bin/bash
##
# Purpose: toggle focus with mouse. Needs to be disabled for wonky java stuff
################
toggle=$(bspc config focus_follows_pointer | \
awk -vtoggle="true" \
'{ if ($1 == "true") \
toggle="false"; \
print toggle}')
bspc config focus_follows_pointer $toggleLast edited by matchew (2014-08-19 15:41:02)
Offline
I am not familiar with andriod studio.
But is it java perhaps?
If so I and others have had troubles.
I found the following settings worked for me in my bspwmrc
#open Funny Java Things bspc config focus_follows_pointer false wmname LG3DAccording to the DWM wiki entry Java essentially doesn't recognize BSPWM (and other WM's) so we have to fool it:
https://wiki.archlinux.org/index.php/Dw … plications
but I sometimes like my pointer to focus (essentially change active window with a mouse) and I have this little thing mapped to toggle
https://gist.github.com/matchew/a8de5c0ab939d19f0a12
#!/usr/bin/bash ## # Purpose: toggle focus with mouse. Needs to be disabled for wonky java stuff ################ toggle=$(bspc config focus_follows_pointer | \ awk -vtoggle="true" \ '{ if ($1 == "true") \ toggle="false"; \ print toggle}') bspc config focus_follows_pointer $toggle
Cool, it seems to work now! Let me test for a little longer.
Also added your snippet to my dotfiles scripts https://github.com/kevinvdburgt/dotfile … ter-toggle ![]()
Offline
no problem. Now if you find yourself switching often you may consider mapping it to your preferred key combination
Offline