Re: Xquartz in Full-screen mode prevents display+Mac from sleeping
Re: Xquartz in Full-screen mode prevents display+Mac from sleeping
- Subject: Re: Xquartz in Full-screen mode prevents display+Mac from sleeping
- From: "Pruessner, Gunnar" <email@hidden>
- Date: Mon, 26 May 2014 20:42:16 +0000
- Thread-topic: Xquartz in Full-screen mode prevents display+Mac from sleeping
On 25 May 2014, at 10:15, Jeremy Huddleston Sequoia <email@hidden> wrote:
> Hi Gunnar,
>
> On May 25, 2014, at 01:49, Pruessner, Gunnar <email@hidden> wrote:
>
>> I am trying to understand why Xquartz running in full-screen mode would stop display and computer (Mac OS X 10.9.3) from sleeping.
>
> It's doing that by design.
>
>> So, when I use the X11 system in full-screen mode and I leave my laptop open on my desk without working on it, it would sit there with the X11 screen bright and shiny until the battery runs dry.
>
> Yep.
>
>> What I want, is the standard OS X screensaver, sleeping and hibernating mechanism to remain in charge even when I am working with Xquartz in full screen mode.
>
> Other people specifically didn't want that. They want to use gnomescreensaver, or xscreensaver, or whatever to control the screensaver when X11 is fullscreen. It's been that way for quite some time.
>
> Also, this prevents the display from sleeping if you are watching a movie in an X11 video player.
Many thanks for the quick answer! I never had this problem until I moved to Mavericks and thus to the new Apple-suggested X.org server. I may have to dig out the old X11 server I used to use on 10.6.8.
Is there any chance the feature you describe could be made configurable, or is there a workaround? The X11 system is my standard environment on my Mac and the only way I can sensibly work at the moment is in rootless mode in a separate “space”, which just isn’t the same. Maybe it’s just nostalgia, but I feel like I am departing from the X11 experience as a whole if I cannot work in “fullscreen mode".
>
>> I noticed this note: (http://lists.x.org/archives/xorg-devel/2010-December/016547.html)
>> XQuartz: Disable the Mac OS X screensaver when in full screen mode
>
> Yeah, that seems about right.
>
>> I am new to Xquartz, having used whatever Apple used to distribute before.
>> I have had a look at the source code and the “offending” function seems to be QuartzScreenSaver. Unfortunately, there is a raft of packages needed to re-compile xquartz and ran out of steam at some point.
>>
>> Any suggestions welcome!
>
> What do you mean by "a raft of packages"? The only dependencies not provided by the system or XQuartz are quite standard:
> autoconf
> automake
> glibtool
> pkg-config
>
> The first three are actually on your system if you're on an older OS X (I think they were removed in 10.8).
>
> Most of the info you need can be found at (hopefully not too out of date, edits welcome =>):
> http://xquartz.macosforge.org/trac/wiki/DeveloperInfo
… which links to https://xquartz.macosforge.org/trac/wiki/1.4-apple-git-10.5.5
and which suggests that I should install pixman, mesa and whatever else.
Having done most of that, compilation fails with
xxxxx@yyyyy:~/XQuartz-rebuild/xserver> ./autogen.sh --prefix=/usr/local
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:38: error: must install xorg-macros 1.14 or later before running autoconf/autogen
configure.ac:38: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
while
xxxxx@yyyyy:~/XQuartz-rebuild/xserver> ls -l /usr/local/share/aclocal/
total 160
-rw-r--r-- 1 root wheel 5091 29 Sep 2011 gsl.m4
-rw-r--r-- 1 root wheel 70325 26 May 21:17 xorg-macros.m4
Meow.
Cheers,
G
>
> Or you could just use MacPorts.
>
> Hope that helps.
>
> --Jeremy
>
>
>>
>> All the best,
>> Gunnar
>> --
>> Gunnar Pruessner, Senior Lecturer in Math. Physics, Senior Tutor, Office: Huxley 657
>> Department of Mathematics, Imperial College London, 180 Queen's Gate
>> London SW7 2AZ, Phone: +44 (0)20 759 48534
>> http://www.ma.imperial.ac.uk/~pruess/
>>
>> "Valid Facts and Theoretical Understanding Generate
>> Solutions to Hard Problems."
>> V F T
>> U G -- after Herbert B. Callen
>> S H P
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> X11-users mailing list (email@hidden)
>>
>> This email sent to email@hidden
>
--
Gunnar Pruessner, Senior Lecturer in Math. Physics, Senior Tutor, Office: Huxley 657
Department of Mathematics, Imperial College London, 180 Queen's Gate
London SW7 2AZ, Phone: +44 (0)20 759 48534
http://www.ma.imperial.ac.uk/~pruess/
"Valid Facts and Theoretical Understanding Generate
Solutions to Hard Problems."
V F T
U G -- after Herbert B. Callen
S H P
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden