--===============0216065698== Content-Type: multipart/signed; boundary="nextPart6029713.g7dkchIID4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart6029713.g7dkchIID4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 24 August 2006 12:32, Marco wrote: > Kevin Krammer wrote: > > On Saturday 19 August 2006 11:59, Marco wrote: > >> Marco wrote: > >> > I have problems activating already running non-kde application e.g. = by > >> > key shortcuts. For Thunderbird on taskbar icon is blinking. Evolution > >> > even starts a second instance. > >> > > >> > But what I want is to show the main window. How can I achieve this? > >> > >> Is it really so uncommon to run non-kde applications under kde? Or does > >> nobody use key shortcuts for them or any desktop automation? > >> > >> Or was something wrong with my question? > > > > It might not have been clear what the actual problem is or what you do = to > > make it happen. > > I want to find a way to switch to the windows of a running non-kde > application - ie to display its window. The same thing that happens when I > click its entry in the task bar. But I need an automatizeable method - ie= a > command I can put into the key shortcut or call from another program like > KBiff. I am afraid there is currently no solution that will work in all cases, sin= ce=20 neither the task list nor KWin export the necessary internal functionality= =20 over DCOP. > > You have a keyboard shortcut associated with a program entry in the K > > menu, right? > > yes > > > And when you activate it a second time you get a behavior you do not > > expect? > > yes, it does not display its window but just make the entry in the taskbar > dark. It might be a matter of setting a different "Focus stealing prevention" val= ue.=20 KWin tries to keep new windows behind the currently active (focused) one,=20 unless the new window is related to the active window (for example a dialog= ),=20 in order to avoid that the user enters information into the wrong window, o= r=20 triggers keybord shortcuts there. A program supporting single instance through multiple starts, such as=20 Thunderbird in your case, might have optional commandline arguments to forc= e=20 a window raise. If an application does not support single instance behavior, in your case t= his=20 seems to apply to Evolution, it will be started a second time. Of course the program could also have a commandline switch which is indente= d=20 to just pass the parameters to an already running instance of itself. Cheers, Kevin =2D-=20 Kevin Krammer Qt/KDE Developer, Debian User Moderator: www.mrunix.de (German), www.qtcentre.org --nextPart6029713.g7dkchIID4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBE7YXSnKMhG6pzZJIRAiKQAKCAK5QvlXRgAXf03XM1P+h9SIiUqgCfZPW3 /GTg8PxW4O6pHgxuWbKNIPc= =o2gF -----END PGP SIGNATURE----- --nextPart6029713.g7dkchIID4-- --===============0216065698== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html. --===============0216065698==--