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

David Hedlund wrote:

> tried it in a fresh Trisquel 11

This should not be an issue with your Linux distro, in
all likelihood.

> Failed the settings suggested by Björn Bidar (as I mentioned
> earlier):
>
> (defun switch-full-screen ()
>   (interactive)
>   (shell-command "wmctrl -r :ACTIVE: -b toggle,fullscreen"))

It works for me, from the/a terminal as well as from Emacs
with M-x switch-full-screen RET

> Any idea why*shell-command* is not executed?

It is executed, maybe you don't notice the change?

Try removing the maximized_vert and maximized_horz properties,
or set the window size manually to something small, so you can
see that the window isn't in fullscreen. Then just M-x the
fullscreen command as above - should work, right?

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




reply via email to

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