FVWM: geometries in .fvwm2rc, starting maximized, moving applications

From: Christian Aistleitner <tmgisi_at_gmx.at>
Date: Wed, 17 Sep 2003 21:11:26 +0200

Hello,

I have been browsing through the man-page of fvwm for ages.
I searched in the Mailing-list but it did not help me out either.

So the problem is the following:

On my Mandrake 9.1 I have 3 XServers (all of them running fvwm 2.5.7
WITHOUT Xinerama) at the same time.
But since the monitors attached to the XServers are not all running with
the same resolutions, it would be fine, not all have the same resolution.
I use more or less one page for each application. Therefore I want them to
be maximized right from the start.
Is this possible via Styles? (Ok it would be possible to write a function
for each application, and then by calling this function the application
would get started and AFTERWARDS maximized by the function. But I do not
like this, because of the mess of Functions to create on the one hand, and
due to the fact, that sometimes I start them from a terminal (and there
this fvwm-function is not directly accessible.)

So what I was looking for was something like:

Style XTerm StartMaximized

but I could not find anything.
-------------------------------------
This leads to the second question ... geometry. It is possible to set the
geometry of application via several ways, but I cannot get the most usable
(for my case) working at all.
Since I use FvwmButtons on my second display, I do not want the
applications Maximized there. I want them a bit less than maximized. Just
as big, such that I can see/use all buttons. But on the first display the
application should be as large as the resolution is. Same for the third
display.
Since fvwm allows different files for different displays, it would be fine
to have the geometry in the Styles section of my config-files.
But I just cannot get this sorted out. I tried tons of things, but all
sorts of different syntax for

Style XTerm Geometry: 10x10+0+0

did not work. How to write this correctly? (Meanwhile I have written a
script for the applications I use more often, which checks the value of
$DISPLAY an then sets the parameters correctly. But I'd prefer to have
this in the fvwm configuration.)
-------------------------------------
And finally the third question, which is probably not directly related to
this: Moving applications. First of all, let me remind you, that I do NOT
use Xinerama. On the one hand it slows down my system dramatically. (I was
mean while told, that this is due to my second graphic card, which is
probably too old and cheap in order to be useable with Xinerama.) On the
other I recon it to be a more productive environment, when not having to
fiddle around with Stickyness of Windows in order not to loose them when
switching Pages on other displays.
But now for the question.
What I want to is to move an application from :0.0 COMPLETELY to :0.1
So I have running maple running on :0.0 . Then when pleased with the
results I want them to write down in emacs. emacs also runs on :0.0 . So
either make both applications fit on one page (or make the sticky,
stayontop, whatever), or save the file in Maple. Start maple on :0.1 and
load the saved file, in order to see both applications at the same time.

I was told, that xmove (a pseudo XServer) should deal with such problems,
but after compiling and setting up, it never showed any windows (not only
in fvwm, but also in IceWM. And I got reports, that IceWM is capable of
doing xmove-things. So it not a problem of fvwm -- its a problem of me
getting xmove to run at all.)

But as fvwm has SO many things included by itself, and since I want to
move the application from an fvwm-managed XServer to another fvwm-managed
XServer (notably both on the same machine) I thought, that there maybe
something hidden somewhere in fvwm, that might assist me.
Probably not, but if I would not have asked, I'd propably hate myself for
not asking, if there was something :-D


Of course I know that it is not good, to have three questions in one email
to a list, but 2 of them are really closely connected -- and well the
third just dropped in be, lets say by ... mistake.


Best regards and keep up the good work,
Christian Aistleitner
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Sep 17 2003 - 14:19:13 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST