Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2003 16:11:15 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Joachim Dagerot <freebsd@dagerot.nu>
Cc:        questions@freebsd.org
Subject:   Re: Questions about x-windows, startx (Extremely long and probably most blahblah)
Message-ID:  <20030702231115.GA21919@webserver.get-linux.org>
In-Reply-To: <1057184719.3897.11.camel@big.dagerot.com>
References:  <1057184719.3897.11.camel@big.dagerot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 03, 2003 at 12:25:19AM +0200 or thereabouts, Joachim Dagerot wrote:
> 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]
> 
...snip...
>
> [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.

To start a program on the X display:
$ DISPLAY=:0 xprogram &
To kill it:
$ killall xprogram

I don't know of any window manager that can do what you want w/ maximizing,
though...

-- Josh

> 
> 
> 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. 
> 
> 
> 
>  
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030702231115.GA21919>