[tex-k] Fwd: Re: xdvi geometry question
Stefan Ulrich
stefanulrich at users.sourceforge.net
Tue Jan 13 22:25:15 CET 2009
Richard David Sherman <rdsherman at roadrunner.com> writes:
> From: karl at freefriends.org (Karl Berry)
> To: rdsherman at roadrunner.com
> Subject: Re: xdvi geometry question
> In-Reply-To: <20090107232919.2K5OA.48049.root at cdptpa-web25-z01>
> MIME-Version: 1.0
> Hi Richard,
> What line do I need my ~.Xresouces file, so that xdvi, without a dvi
> file specified, will open its small file dialog box in some place
> other than the upper left corner?
> Hmm, I've never seen that. What I have is simply:
> XDvi*geometry: -0-0
> but my dialog boxes open in the middle of the xdvi window.
> The man page says:
> -geometry geometry
> (.geometry) Specifies the initial geometry of the main window,
> as described in the X(7x) man page. The geometry of child win-
> dows can be set separately, e.g.:
> xdvi*helpwindow.geometry: 600x800
> which doesn't tell us what the name of other subwindows are. Sigh.
The only way to find out about these is good ol' editres, I'm afraid.
In the Xaw version, it's not a subwindow, but a toplevel widget called
"xdviSelFile":
xdvi -xrm "xdviSelFile.geometry: -1-1"
In the Motif version, it's a widget "file_popup" of of class
XmDialogShell:
xdvi -xrm "xdvi*file_popup.geometry: -1-1"
However, in my tests the Motif dialog box seemed to ignore the
geometry parameter for some reason ...
Best regards,
Stefan
More information about the tex-k
mailing list