[Top][All Lists]

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

Re: Emacs help from terminal

From: Tomas Hlavaty
Subject: Re: Emacs help from terminal
Date: Thu, 16 Jun 2022 01:40:13 +0200

On Wed 15 Jun 2022 at 21:55, Emanuel Berg <> wrote:
> Tomas Hlavaty wrote:
>> changing console font:
>> (defun console-font (x)
>>   (interactive "sfont: ")
>>   (suspend-emacs (format "setfont %s;fg" x))
>>   (message (format "font is %s" x)))
> No need to suspend anything to change the font of the
> Linux VT, just eval for example
>   (shell-command "sudo setfont Lat7-TerminusBold16") ; B)

this requires sudo

without sudo, it works only if emacs is suspended

reply via email to

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