emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solution to a proposed FAQ, how to maximize emacs quickly (like `ema


From: Emanuel Berg
Subject: Re: Solution to a proposed FAQ, how to maximize emacs quickly (like `emacs --maximize`) for GNU/Linux
Date: Wed, 27 Sep 2023 17:21:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

David Hedlund wrote:

>> Yes, do that and then M-x switch-full-screen RET
>>
>> or just type
>>
>>    (shell-command "wmctrl -r :ACTIVE: -b toggle,fullscreen")
>>
>> and do C-x C-e for `eval-last-sexp'.
>>
>> It doesn't work?
>
> Sorry, it works, I just expected the snippet from Emacs wiki
> to work out-of-the-box automatically. But I had to
> add: (add-hook 'after-init-hook 'switch-full-screen)  .
> Also, "toggle" is useless for wmctrl in this situation, so
> I replaced it with "add", and I replaced "fullscreen" with
> "maximized_horz,maximized_vert"

No problem, yeah, sometimes my patience is shorter than the
women's skirts on Ibiza. Glad that it worked finally.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]