How to set up Menu items such that if an instance is already running, the running instance is brought to the foreground?

Dotan Cohen dotancohen at
Sat Mar 5 18:11:56 GMT 2011

On Sat, Mar 5, 2011 at 20:09, Dotan Cohen <dotancohen at> wrote:
> I did manage to locate and bring to foreground a Dolphin window with
> this. It is doable so long as a window is open, I need to check for
> applications such as Skype that may be running as a service.

No, this won't bring up the window of a background (system tray)
application that does not have a foreground window. This is what
happens when I try to bring up Skype:
✈ganymede:~$ xdotool windowactivate 0x4400079
XGetWindowProperty[_NET_WM_DESKTOP] failed (code=1)

Dotan Cohen
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list