Visit Jeremy's Blog.
Go Back > Blogs
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.

Single, "teleporting" instance of system monitor (or something else)

Posted 03-30-2011 at 01:20 AM by the dsc (linux-related notes)
Updated 03-30-2011 at 01:26 AM by the dsc (minor correction)

[ -z $(ps -A | grep ksysguard) ] && ksysguard & disown &&
wmctrl -iR $(wmctrl -l | grep "System Monitor" | sed 's/\ .*//')
Depend on wmctrl.

Are you tired of winding up with multiple instances of a program of which you don't really need multiple instances? Your problems are over! Now you can just press the hot-keys or whatever shortcuts you have, without ever worrying about earlier instances. No more sore joints for having to close...
Posted in Uncategorized
Views 572 Comments 0 the dsc is offline


All times are GMT -5. The time now is 03:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration