Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: X display control, Getting launched apps to center in X< Next Oldest | Next Newest >
elfoozo Offline





Group: Members
Posts: 2
Joined: Dec. 2004
Posted: Mar. 05 2005,16:22 QUOTE

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?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 05 2005,17:39 QUOTE

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)


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Mar. 05 2005,16:22 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: X display control

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code