25.5 Emacs Full Screen on Startup

20201208

The initial window size that Emacs starts with can be tuned to suit personal default preferences using initial-frame-alist.

To start with Emacs filling the full screen add the following to ~/.emacs:

(custom-set-variables
 '(initial-frame-alist (quote ((fullscreen . maximized))))
)

The default for Emacs is:

(custom-set-variables
 '(initial-frame-alist (quote ((top . 1) (left . 1) (width . 80) (height . 55))))
)

For a laptop screen sitting on the left and a 34inch monitor on the right, with a conky strip on the left of the monitor, (yes, quite a specific recipe) the following works to fill half the monitor:

(custom-set-variables
 '(initial-frame-alist (quote ((fullscreen . fullheight) (width . 182) (height . 74) (top . 1) (left . 1700))))
)


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0