From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 15:25:46 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 B21DA37B401 for ; Wed, 2 Jul 2003 15:25:46 -0700 (PDT) Received: from thunder.trej.net (as3-3-6.orby.s.bonet.se [217.215.33.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id F281443FAF for ; Wed, 2 Jul 2003 15:25:44 -0700 (PDT) (envelope-from freebsd@dagerot.nu) Received: from [192.168.0.90] (c213-89-27-137.cm-upc.chello.se [213.89.27.137])h62MPKD06274 for ; Thu, 3 Jul 2003 00:25:20 +0200 From: Joachim Dagerot To: Freebsd Content-Type: text/plain Organization: Message-Id: <1057184719.3897.11.camel@big.dagerot.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 03 Jul 2003 00:25:19 +0200 Content-Transfer-Encoding: 7bit 3j-viruscheck: Found to be clean Subject: 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: Wed, 02 Jul 2003 22:25:47 -0000 I have managed to get everything up and running now, including my NVIDIA card with tv-out on my FreeBSD 5.1. THANKS FOLKS. Now come the fun part, I have managed to, in .xinitrc have a specific program running when I run startx. That's lovely. Now I would like to start and close additional programs, aswell as maximize, bring to front and back etc. BUT FROM OUTSIDE THE X ENVIRONMENT. Why? You ask. Let me tell you the story of my life :-) [BACKGROUND] I have a freeBSD running as a file, web and servcice server. It is located in a closet and there's no such thing as keyboard or monitor attached to it. It is however connected (since a few days back) to a TV-set. In the same room as the TV is also a small device called SLIMP3 located. (www.slimp3.com) along other thing this device sends all IR-signals flooding the room to the server. At the server I can do whatever I want with the signal. So I have created an ImageViewer application written in JAVA. It's controlled by different HTML-requests (http://server/ail?next, http://server/ail?prev etc) and those requests comes from the service that serves the SLIMP3 device. All above is still in alpha stage but it's working great so far. [END BACKGROUND] Now to my problems: I would like to start/stop different programs (such as the java-program mentioned above). I would also like to have many programs running, but only see one at a time (bring to front, maximize). I understand this is certainly not a yes/no question, but if someone can hint me on a window manager that's accessible from outside X, or some other remote controlled software that might be of interest I would be glad. Finally, I will ofcourse post all sources as soon as I have commented them, and, perhaps, made them a bit more general than they are today, please feel free to contact me for further details.