I want to make Google chrome focusable while using awesomeWM in Ubuntu 18.04. How can I do it?
I'm new to use awesomeWM as a window manager in Ubuntu 18.04, and I prefer Google chrome (not chromium, because my password manager don't work). I installed Chrome as a .deb
package in official.
However, in default, Chrome spawned by <mod> + r
and google-chrome
cannot be focused by <mod> + space
and don't obey to layouts.
Besides I found google-chrome
's WM_CLASS
is Google-chrome
by xwininfo
and xprop
and refered to the doc, I added this code in my rc.lua
:
{ rule = { class = "Google-chrome" },
properties = { focusable = true }
},
And reboot. I expect this code enables google-chrome
focusable, but it was still not focusable.
How do I correct the code?