help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: List of monitor names


From: Po Lu
Subject: Re: List of monitor names
Date: Fri, 16 Sep 2022 09:30:32 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Sam Steingold <sds@gnu.org> writes:

> For me the solution was based on https://askubuntu.com/q/702071/80483
> and https://askubuntu.com/q/702002/80483; basically you run `xrandr` and
> parse its output.

Well, look no further than display-monitor-attributes-list, which uses
RandR to obtain the same information, but without needing an external
program.

(Unless, of course, your X server only supports Xinerama, in which case
it falls back to that.)


reply via email to

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