Questions about x-windows, startx (Extremely long and probably most blahblah)

Joshua Oreman oremanj at webserver.get-linux.org
Wed Jul 2 16:08:10 PDT 2003


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


More information about the freebsd-questions mailing list