[R] Help: x11 position in the Unix environment
Marc Schwartz (via MN)
mschwartz at mn.rr.com
Mon Sep 26 18:23:36 CEST 2005
On Mon, 2005-09-26 at 17:45 +0200, Shengzhe Wu wrote:
> Hello,
>
> In the Unix environment, I open a window by x11(). May I specify the
> position of this window by specifying the position of the top left of
> the window as in Windows environment? Or some other parameters can be
> used to do that?
>
> Thank you,
> Shengzhe
I don't believe so. In general, under Unix/Linux, the Window Manager
determines window positioning upon startup unless the application
overrides this behavior. Some applications let you specify application
window positioning via command line 'geometry' arguments or via the use
of an .Xresources file.
Some WM's provide more or less functionality for this behavior relative
to user customization. For example, Sawfish provides quite a bit,
whereas Metacity hides much of it.
You may want to check the documentation for the WM that you are using.
There is also an application called Devil's Pie:
http://www.burtonini.com/blog/computers/devilspie
which provides additional Sawfish-like customization for window
positioning, etc. However, this is global for a given window, not on a
per instance basis.
HTH,
Marc Schwartz
More information about the R-help
mailing list