linux - Open wish without stealing focus -


i want open tcl/tk dialog on linux (kde,vnc) , put information in:

package require tk toplevel .my pack [label .my.l -text "hallo"] 

doing this, dialog opens , new dialog takes focus.

how can prevent this?

package require tk toplevel .my <something with> .my pack [label .my.l -text "hallo"] 

i saw several question regarding similar topic, none tcl/tk.

this highly dependent on window manager. metacity , marco, there setting called 'focus-new-windows' can changed 'strict'.

mate marco window manager:

gsettings set org.mate.marco.general focus-new-windows strict 

i don't use kde, can try: system settings -> window behaviour -> focus , see if there's setting there help.

compiz has focus prevention setting in general options -> focus.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -