X display control


Forum: X and Fluxbox
Topic: X display control
started by: elfoozo

Posted by elfoozo on Mar. 05 2005,16:22
Hi,

I'm experimenting with DSL 0.9.3.

I have a separate debian server (testing branch) that is static on my network.  I boot DSL off CDROM and then ssh into the debian server and forward my X applications back to the dsl client.

I'm using emelFM on the debian server and I have emelFM configured to launch JPG images in a viewer named xli.  The JPGs are nicely displayed on the DSL client when I double click them in emelFM that is forwarded from the debian server.  But each image that is opened is opened just slightly to the right and a little lower than where the previous image opened. I forget if this is called tiling or staggering or what but that's not important.  The thing I'm looking for is how do I get each new image to open in the center of my DSL X display?

I've looked at the documentation for emelFM and xli but neither of those have controls for where an initial image populates the X display when remotely displaying.  So I am wondering, is this initial app position a function of Fluxbox on the DSL client since it is my X server? And if so, can this be controlled some how?

Posted by mikshaw on Mar. 05 2005,17:39
Fluxbox manages window placement, but only in relation to where the prvious window was placed.  The new window's position will always be shifted one way or another, depending on the preference set in .fluxbox/init .. default is staggered left to right, top to bottom.

I can think of two ways to avoid this:
1) use a different application, one which can be positioned with a commandline argument.
2) use fluxbox 'devel' instead of 'stable', which gives you the ability to position all instances of a particular application at "wincenter" (.fluxbox/apps)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.