On Tue, 2009-09-01 at 10:57 -0500, Steven Stern wrote:
-----BEGIN PGP SIGNED MESSAGE-----
When I start a new program in Gnome, it positions the new window at the
top left of the screen. Is there a way to tell it to use some other
location (e.g., center)?
In gnome, screen positioning is the responsibility of the individual
application. There are three different ways that I know of to pre-set
the screen placement of windows. They all use the Xwindows geometry +x
+y flag in one way or another.
1) Many applications, but not all, have a setting in Configuration
Editor for position x and y.
2) In a terminal run AppName --help, A list of commands to add to the
launch command will appear on stdout. Many, but not all, will show flag
like --geometry (or -g) +x+y that can be included with the command
line , or launcher, or menu command that will position the first window
of an application.
3) Install a program called Devil's Pie (devilspie). It will give you
fine grained control over several aspects of window attributes including
window position. Devil's Pie has a bit of a learning curve with only
rudimentary manuals and tutorials. If you are like me and like to keep
your desktop just so, it is worth the learning time.
Fedora 11, Gnome 2.26.3
Evo.2.26.3, Emacs 23.1.1