This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Prevent newly launched app stealing window focus

Tags: window focus, focus, on top, launch window focus, focus, on top, launch window focus, focus, on top, launch
(comma "," separated)
jake_voelcker
Registered Member
Posts
2
Karma
0
OS
I use KDE 3.5.10 on PClinuxOS. Whenever I launch an application it always appears above any currently open windows, even if I'm using them. I'd like to find a way of launching the new application in the background and prevent it from stealing the window focus from my current application. I'm sure did this on my other computer (KDE 3.4 on Mandriva), but I can't remember how!

I don't want to have to launch applications minimized, and I don't want to have to use kstart or change the window settings manually for every single application, I just want to alter a global setting somewhere which will mean that the current window's focus is not stolen by default.

Any ideas?
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Try to change focus stealing prevention level. You should find it if you right click on the window title bar -> Configure Window Behavior... -> Focus -> Focus stealing prevention level. (I'm on 4.3.4 so it could be somewhere else in you version, but if I remember correctly it should be something like that on 3.5.10 as well).


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
jake_voelcker
Registered Member
Posts
2
Karma
0
OS
Hans wrote:Try to change focus stealing prevention level. You should find it if you right click on the window title bar -> Configure Window Behavior... -> Focus -> Focus stealing prevention level. (I'm on 4.3.4 so it could be somewhere else in you version, but if I remember correctly it should be something like that on 3.5.10 as well).


Great! It works! Thank you Hans.

(In fact I couldn't find the Focus Stealing Prevention Level setting, so I edited the .kde/share/config/kwinrc file and changed FocusStealingPreventionLevel to 4.)
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
jake_voelcker wrote:Great! It works! Thank you Hans.

(In fact I couldn't find the Focus Stealing Prevention Level setting, so I edited the .kde/share/config/kwinrc file and changed FocusStealingPreventionLevel to 4.)

Haha, that's another way to do it. Could you please mark the topic as solved by clicking on Image under the post with the answer?


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]