XScreenSaver

From Wikipedia, the free encyclopedia

Template:Short description Template:DMCA

Page Module:Infobox/styles.css has no content.

XScreenSaver
[[Programmer|Original authorTemplate:Pluralize from text]]Jamie Zawinski
[[Programmer|DeveloperTemplate:Pluralize from text]]Jamie Zawinski
Initial release17 August 1992; 34 years ago (1992-08-17)
Template:Infobox software/simple
Written inANSI C, X11, OpenGL
Operating systemUnix, macOS, iOS, Android
TypeScreensaver
LicenseMIT License[1]
WebsiteLua error in package.lua at line 80: module 'Module:If preview' not found.

Script error: No such module "Check for conflicting parameters".

File:XScreensaver GLMatrix.webm
Xscreensaver "GLMatrix" screensaver

XScreenSaver is a free and open-source collection of 240+[3] screensavers for Unix, macOS, iOS and Android operating systems. It was created by Jamie Zawinski in 1992, with new releases coming out several times a year.[4]

Platforms

The free software and open-source Unix-like operating systems running the X Window System (such as Linux and FreeBSD) use XScreenSaver almost exclusively.[citation needed] On those systems, there are several packages: one for the screen-saving and locking framework, and two or more for the display modes, divided somewhat arbitrarily.[5]

On Macintosh systems, XScreenSaver works with the built-in macOS screen saver. On iOS systems, XScreenSaver is a stand-alone app that can run any of the hacks full-screen. On Android systems, the XScreenSaver display modes work either as normal screen savers (which Android sometimes refers to as "Daydreams") or as live wallpapers.

There is no official version for Microsoft Windows, and the developer discourages anyone from porting it. The author considers Microsoft to be "a company with vicious, predatory, anti-competitive business practices"[6] and says that, as one of the original authors of Netscape Navigator, he holds a "personal grudge" against Microsoft because of its behavior during the First Browser War.

Software architecture

The XScreenSaver daemon is responsible for detecting idle-ness, blanking and locking the screen, and launching the display modes. The display modes (termed "hacks" from the historical usage "display hack") are each stand-alone programs.[citation needed]

This is an important security feature, in that the display modes are sandboxed into a separate process from the screen locking framework. This means that a programming error in one of the graphical display modes cannot compromise the screen locker itself (e.g., a crash in a display mode will not unlock the screen).

It also means that a third-party screen saver can be written in any language or with any graphics library, so long as it is capable of rendering onto an externally provided window.

For historical and portability reasons, the included hacks are all written in ANSI C. About half of them use the X11 API, and about half use the OpenGL 1.3 API.

Rather than cloning the code-base and re-writing the hacks to target different platforms, XScreenSaver contains a number of compatibility layers.

  • To allow the X11-based hacks to run natively on macOS and iOS, XScreenSaver contains a complete implementation of the X11 API built on top of Cocoa ("jwxyz").[7]
  • To allow the OpenGL 1.3-based hacks to run natively on iOS and Android systems, which only support OpenGL ES, XScreenSaver contains an implementation of the OpenGL 1.3 API built on top of OpenGL ES 1.0 ("jwzgles").[7]Template:R/superscript
  • And to allow the X11-based hacks to run natively on iOS and Android, XScreenSaver also contains an implementation of the X11 API in terms of OpenGL ES 1.0.[8]

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."Debian XScreenSaver copyright list". 24 December 2020. Retrieved 24 December 2020.[permanent dead link]
  2. ^ Page Module:Citation/CS1/styles.css has no content."Changelog". Retrieved 7 April 2026.
  3. ^ Page Module:Citation/CS1/styles.css has no content."List of screen savers included in the XScreenSaver collection". 8 December 2020. Retrieved 24 December 2020.
  4. ^ Page Module:Citation/CS1/styles.css has no content."XScreenSaver release history". 8 December 2020. Retrieved 24 December 2020.
  5. ^ Page Module:Citation/CS1/styles.css has no content."Debian XScreenSaver package list". 24 December 2020. Retrieved 24 December 2020.
  6. ^ Page Module:Citation/CS1/styles.css has no content."XScreenSaver: Windows Version". www.jwz.org. Retrieved 24 December 2020.
  7. ^ a b Page Module:Citation/CS1/styles.css has no content."jwz.org blog post about the iOS port". 19 June 2012. Retrieved 24 December 2020.
  8. ^ Page Module:Citation/CS1/styles.css has no content."jwz.org blog post about the Android port". 23 May 2016. Retrieved 24 December 2020.

Page Module:Side box/styles.css has no content.Page Template:Sister project/styles.css has no content.

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').