简体   繁体   中英

How to specify X11 SouthEast gravity for Emacs X windoes?

This is currently specific to Emacs, but if there's a generic answer for X applications in general I'd love it.

Is there an X resource I can set for Emacs that will set the gravity of its main windows to SouthEast? That is, when I start up a new Emacs session, I want its window to appear as close as possible to the lower-right corner of the screen (modulo the window manager's placement algorithms).

The window manager in question is Enlightenment E17, but window gravity is an X concept, is it not?

Thanks!

Have you tried to use a -g -0-0 command-line argument?

If you want to specify it via Elisp, you can add frame parameters as in:

(add-to-list 'initial-frame-alist '(top . -))
(add-to-list 'initial-frame-alist '(left . -))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM