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 15:25:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

David Hedlund wrote:

> sudo apt install -y emacs wmctrl # Just press Enter during the
> "Postfix Configuration"
>
> tee ~/.emacs > /dev/null << 'EOF'
>
> (defun switch-full-screen ()
>        (interactive)
>        (shell-command "wmctrl -r :ACTIVE: -b toggle,fullscreen"))
>
> EOF

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?

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




reply via email to

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