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

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

Re: Multiple monitors, different setup


From: Eli Zaretskii
Subject: Re: Multiple monitors, different setup
Date: Sat, 14 Mar 2015 15:45:26 +0200

> From: Javier <nospam@nospam.com>
> Date: Sat, 14 Mar 2015 13:24:09 +0000 (UTC)
> 
> > Is there a way that I can have the .emacs file do a check to see if
> > the second monitor is present so that when it is not docked, my
> > emacs screen can be re positioned so it is in standard default out
> > of the box emacs mode?
> 
> don't know much about MacOs.  I'd try look at this info page
> 
> (info "(elisp) Multiple Terminals")
> 
> (x-display-list) will give you a list of the displays available for
> the Xserver.
> 
> If you want the sizes of the displays I don't know how to get them
> directly from elisp.

The same node mentioned above describes the function
display-monitor-attributes-list available in the recent Emacs
versions, which can provide this information.



reply via email to

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