From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 17:39:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F8D237B401 for ; Wed, 2 Jul 2003 17:39:18 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBC1144011 for ; Wed, 2 Jul 2003 17:39:17 -0700 (PDT) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-009dcwashp0250.dialsprint.net ([63.188.80.250] helo=moo.holy.cow) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19Xs81-0003BU-00; Wed, 02 Jul 2003 17:39:14 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id C3CBBB875; Wed, 2 Jul 2003 20:42:18 -0400 (EDT) Date: Wed, 2 Jul 2003 20:42:18 -0400 From: parv To: Joachim Dagerot Message-ID: <20030703004218.GB28379@moo.holy.cow> Mail-Followup-To: Joachim Dagerot , Freebsd References: <1057184719.3897.11.camel@big.dagerot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1057184719.3897.11.camel@big.dagerot.com> cc: Freebsd Subject: Re: Questions about x-windows, startx (Extremely long and probably most blahblah) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 00:39:18 -0000 in message <1057184719.3897.11.camel@big.dagerot.com>, wrote Joachim Dagerot thusly... > > I would like to start/stop different programs (such as the > java-program mentioned above). Scan ps(1) output. Then perform appropriate action based on that. > I would also like to have many programs running, but only see one > at a time (bring to front, maximize). I use fvwm-devel (port), so my rest of the reply is based on that. And i think that fvwm could be of help. The Big Idea is... - Spawn FvwmCommand once from fvwm. - Afterwords you can use FvwmCommand to fire fvwm related commands from a shell script or console. ...For details, see... http://www.fvwm.org/documentation/manpages/unstable/FvwmCommand.php http://www.fvwm.org/documentation/manpages/unstable/fvwm.php http://www.fvwm.org/documentation/manpages/ http://www.fvwm.org/documentation/faq/ http://www.fvwm.org/ ...FVWM is highly configurable, so don't let the fvwm(1) man page overwhelm you. If you encounter problems w/ fvwm, consult the mailing lists... http://www.fvwm.org/contact/ - Parv -- A programmer, budding Unix system administrator, and amateur photographer ISO employment... http://www103.pair.com/parv/work/