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 gmail.com
Sat Mar 5 18:11:56 GMT 2011


On Sat, Mar 5, 2011 at 20:09, Dotan Cohen <dotancohen at gmail.com> 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)
✈ganymede:~$


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___________________________________________________
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.


More information about the kde mailing list