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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Sat, Mar 5, 2011 at 12:18 PM, Dotan Cohen <dotancohen@xxxxxxxxx> wrote:
On Sat, Mar 5, 2011 at 19:57, Duncan <1i5t5.duncan@xxxxxxx> wrote:
> Try the pgrep (process grep) command for your first bit. =:^)
>

Thanks.

> But for window manipulation... as it happens I just needed such a thing
> and thus have the perfect app for you!  wmctrl ! It handles... switching
> to the appropriate desktop, activating, moving/resizing, maximizing X/Y/
> both, closing... more.  And since it operates with window titles or
> windowclasses (you can use kwin's window rules click-to-autodetect feature
> to find this), you shouldn't even need the pgrep step. =:^)
>

Yes!


> Both the above have manpages... and while the wmctrl manpage suggests
> zenity, a gnome dialog scripting app, for adding more interactivity
> (wouldn't be needed for your current use, but...), the kde alternative for
> that is of course kdialog, which I've used myself.  kdialog is a bit
> quirky (reminds me of the MS Windows 2 era), resulting in several
> successive single-purpose popup windows instead of the more typical multi-
> purpose dialog window, but it does get the job done, allowing you to
> present a UI with which to select or type things in, if that's needed.
>
>

Thanks, I will head on over to the fine manuals that you mention. Have
a great week!

And I see that you are feeling better! The whole message fit on a page!

--
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.
 
Personally,
I rather have many instances of the same application,  I tend to close one
and loose the others with it.  Flush.  Just Like Microsoft!
 
 
___________________________________________________
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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux