Conky taking focus off ubuntu desktop (14.04)
Whenever I close all of any open windows, the Ubuntu Desktop is not brought back into focus and the title bar stays blank. Due to this, the key combos, the power key, the media keys dont work.
I found that this problem only exists when conky is running and it takes focus off desktop. Though a right click on desktop solves the issue but it is a bit irritating to do this each time when I close a window.
I already tried to get it out of focus using CCSM but it didnt help.
I also tried to configure conky trying all of these
own_window yes
own_window no
own_window_type normal
own_window_type desktop
but that too didnt solve the issue.
Solution 1:
I found solution:
just disable “Hide Skip Taskbar Windows” in General Settings in Compiz-config-settings-manager (ccsm)
howto-disable-conky-minimization-on-show-desktop
Solution 2:
I was having this same issue for years, even adding the window rules in CCSM didn't work. It turns out I was missing own_window_class Conky
in the conky configuration.
This worked for me
Install CompizConfig Settings Manager (CCSM) if missing, sudo apt-get install compizconfig-settings-manager
.
Then CCSM > Window Management > Window Rules (check to enable), add to the No Focus box
class=Conky
In Conky configuration file
own_window_class Conky
own_window yes
own_window_type normal
Restart Conky.