Ask Your Question
0

Gnome 3 and focusing new konsole windows is broken

asked 2014-02-23 00:20:13 -0500

Adam Batkin gravatar image

I'm using Gnome 3, but I use konsole as my terminal. I have a global hotkey bound to automatically launch konsole (this works). If I'm in another application (let's say, firefox) and I hit the hotkey, konsole opens a window and it's immediately focused (good). If I go back to the other application and press the hotkey again, a new konsole window opens, but it is NOT focused (usually - sometimes it is, but I haven't figured out the pattern and it is exceptionally rare). When this happens, I get a notification at the bottom of my screen saying that Konsole is ready. This behavior can be replicated if I use Alt+F2 or Launchy to launch konsole.

Obviously this behavior is undesirable. I would like konsole windows to pop up ("steal the focus") when I launch them. In fact, I'd even be okay completely disabling whatever focus stealing prevention is enabled, but it seems that I can't find any options for this. Ideas?

This is on a fully-updated Fedora 20 system.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-23 02:33:00 -0500

Ahmad Samir gravatar image

There's this steal my focus gnome-shell extension, but you'll need to install it manually since it officially doesn't support the current gnome-shell version.

check using gnome-tweak-tool -> Extensions that the new extension is enabled.

FWIW, I've been using this extension for a long time (since around F17), most of the time it works as expected, i.e. any newly opened window/dialogue steals the focus.

edit flag offensive delete link more

Comments

I had found that, but was hoping that it wasn't my only option. That seems like a very hackish way to accomplish what should be a built-in option (since Gnome is unusable if I can't launch applications and guarantee that they actually come to the front)

Adam Batkin gravatar imageAdam Batkin ( 2014-02-23 07:23:04 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-23 00:20:13 -0500

Seen: 669 times

Last updated: Feb 23 '14