Ubuntu 14.04 Calculator does not get focus when opened from keyboard shortcut

I am using a Microsoft Natural® Ergonomic Keyboard 4000 on my Ubuntu 14.04 x64 and since I upgraded from Ubuntu 13.10 I noticed that the Calculator application does not get focus when started from the keyboard shortcut. It gets started like the last (NOT previous) application in the stack.

It gets focus when opened from dash.

I don't know what configuration output to provide. Any suggestions?


Solution 1:

What you have discovered seems to be a bug related to some applications launched from (unity)*-settings-daemon. The bug is reported here.

However, it exist multiple easy workarounds to this annoying issue;

The one I will suggest, is to define your own keyboard shortcut, and reassign the calculator button.

keyboard shortcut


Another solution is to:

Use eg. CompizConfig Setting Manager and set the Focus Prevention Level option to off. The option is found under General Options on the tab named Focus & Raise Behaviour.