|
From: | David Hedlund |
Subject: | Solution to a proposed FAQ, how to maximize emacs quickly (like `emacs --maximize`) for GNU/Linux |
Date: | Tue, 26 Sep 2023 14:11:07 +0200 |
User-agent: | Mozilla Thunderbird |
Methods to always maximize `emacs` (for example, from Alt+F2 in MATE), without the slightly distracting visual effect when the default frame size is growing to fullscreen. The window will be maximized quickly, like "emacs --maximize". ###########################Windows - Solved A while ago I suggested how to expand the Emacs window rapidly for Windows - https://lists.gnu.org/archive/html/emacs-devel/2023-04/msg00155.html It has now been added: " Alternatively, you can avoid the visual effect of Emacs changing its frame size entirely in your init file (i.e., without using the Registry), like this: (setq frame-resize-pixelwise t) (set-frame-position nil 0 0) (set-frame-size nil (display-pixel-width) (display-pixel-height) t) " - https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html. Here's the old revision: https://web.archive.org/web/20230202024025/https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html
########################### GNU/Linux - proposed new section:
https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-GNU-Linux.html
As far as I know, this cannot be done entirely with Emacs LISP
for GNU/Linux, but I found a workaround by combining it with
devilspie2.
* Step 1 to quickly maximize the window[1]: Install, configure,
and autostart devilspie2 to nearly maximize emacs[1]. Run this in
a terminal or as a script:
The above steps can of course be rewritten and described for general use to make it useful for any GNU/Linux distro. |
[Prev in Thread] | Current Thread | [Next in Thread] |