Jump to content

Screensaver

From Wikipedia, the free encyclopedia
(Redirected from Display hack)
Einstein@Home interactive screensaver

A screensaver (or screen saver) is a computer program that blanks the display screen or fills it with moving images or patterns when the computer has been idle for a designated time. The original purpose of screensavers was to prevent phosphor burn-in on CRT or plasma computer monitors (hence the name).[1] Though most modern monitors are not susceptible to this issue (with the notable exception of OLED technology, which has individual pixels vulnerable to burnout), screensaver programs are still used for other purposes. Screensavers are often set up to offer a basic layer of security by requiring a password to re-access the device. Some screensaver programs also use otherwise-idle computer resources to do useful work, such as processing for volunteer computing projects.[2]

As well as computers, modern television operating systems, media players, and other digital entertainment systems may include optional screensavers.

Purpose

[edit]

Screen protection

[edit]

Before the advent of LCD screens, most computer screens were based on cathode-ray tubes (CRTs). When the same image is displayed on a CRT screen for long periods, the properties of the exposed areas of the phosphor coating on the inside of the screen gradually and permanently change, eventually leading to a darkened shadow or "ghost" image on the screen, called a screen burn-in. Cathode-ray tube televisions, oscilloscopes and other devices that use CRTs are all susceptible to phosphor burn-in, as are plasma displays to some extent.[3]

Screen-saver programs were designed to help avoid these effects by automatically changing the images on the screen during periods of user inactivity.

For CRTs used in public, such as ATMs and railway ticketing machines, the risk of burn-in is especially high because a stand-by display is shown whenever the machine is not in use. Older machines designed without burn-in problems taken into consideration often display evidence of screen damage, with images or text such as "Please insert your card" (in the case of ATMs) visible even when the display changes while the machine is in use. Blanking the screen is not a valid option as the machine can be perceived as out of service. In these applications, burn-in can be prevented by shifting the position of the display contents every few seconds, or by having a number of different images that are changed regularly.

Later CRTs were much less susceptible to burn-in than older models due to improvements in phosphor coatings, and because modern computer images are generally lower contrast than the stark green- or white-on-black text and graphics of earlier machines. LCD computer monitors, including the display panels used in laptop computers, are not susceptible to burn-in because the image is not directly produced by phosphors (although they can suffer from a less extreme and usually non-permanent form of image persistence).

Modern usage

[edit]
GNOME Screensaver has an option for password protection.

While modern screens are not susceptible to the issues discussed above, screensavers are still used. Primarily these are for decorative/entertainment purposes, or for password protection. They usually feature moving images or patterns and sometimes sound effects.

As screensavers are generally expected to activate when users are away from their machines, many screensavers can be configured to ask users for a password before permitting the user to resume work. This is a basic security measure against another person accessing the machine while the user is absent.

Some screensavers activate a useful background task, such as a virus scan or a volunteer computing application (such as the SETI@home project).[4] This allows applications to use resources only when the computer would be otherwise idle. The Ken Burns panning and zooming effect is sometimes used to bring the image to life.

History

[edit]

Decades before the first computers using this technology were invented, Robert A. Heinlein gave an example of how they might be used[1] in his novel Stranger in a Strange Land (1961):[5]

Opposite his chair was a stereovision tank disguised as an aquarium; he switched it on, guppies and tetras gave way to the face of the well-known Winchell Augustus Greaves.

The first screensaver was allegedly written for the original IBM PC by John Socha, best known for creating Norton Commander; he also coined the term screen saver. The screensaver, named scrnsave, was published in the December 1983 issue of the Softalk magazine. It simply blanked the screen after three minutes of inactivity (an interval which could be changed by recompiling the program).

By 1983 a Zenith Data Systems executive included "screen-saver" among the new Z-29 computer terminal's features, telling InfoWorld that it "blanks out the display after 15 minutes of nonactivity, preventing burned-in character displays."[6] The first screensaver that allowed users to change the activating time was released on Apple's Lisa, in 1983.

The Atari 400 and 800's screens would also go through random screensaver-like color changes if they were left inactive for about 8 minutes. Normal users had no control over this, though programs did. These computers, released in 1979, are technically earlier "screen savers". Prior to these computers, games for the 1977 Atari VCS/2600 gaming console such as Combat and Breakout, included color cycling in order to prevent burn-in of game images into 1970s-era televisions. In addition, the first model of the TI-30 calculator from 1976 featured a screensaver, which consisted of a decimal point running across the display after 30 seconds of inactivity. This was chiefly used to save battery power, as the TI-30 LED display was more power intensive than later LCD models. These are examples of screensavers in ROM or the firmware of a computer.

Android 4.2 introduced "daydreams", screensavers that activate while the device is docked or charging.[7][8]

In 2015 the screensaver "Event Listeners"[9] of van den Dorpel became the first work of art that was purchased by a museum (Museum of Applied Arts, Vienna) using the cryptocurrency bitcoin.[10]

Modern graphics technologies such as 3D computer graphics have allowed a wide variety of screensavers to be made. Screensavers with realistic 3D environments can be programmed and run on modern computers.

Underlying architecture

[edit]

Screensavers are usually designed and coded using a variety of programming languages as well as graphics interfaces. Typically the authors of screensavers use the C or C++ programming languages, along with Graphics Device Interface (GDI), such as OpenGL ("Open Graphics Library", which works on many, if not most, platforms capable of 3D rendering), or alternatives such as Microsoft DirectX (which is limited to Microsoft platforms, mainly Microsoft Windows and the Microsoft Xbox), to craft their final products. Several OS X screensavers are created and designed using Quartz Composer. The screensaver interfaces indirectly with the operating system to cause the physical display screen to be overlaid with one or more graphic "scenes". The screensaver typically terminates after receiving a message from the operating system that a key has been pressed or the mouse has been moved.

Microsoft Windows

[edit]

If the system detects inactivity lasting longer than the time specified in the control panel, check if the active program is a simple program (and not another screensaver) by sending the "WM_SYSCOMMAND" message with the "SC_SCREENSAVE" argument. If the program calls in response the standard system function (DefWindowProc), the screensaver defined in the control panel screen runs.

A Windows screensaver is a regular Portable Executable (PE) with the .scr file extension. This enables malware authors to add ".scr" to the name of any win32 executable file, and thereby increase likelihood that users of Microsoft Windows will run it unintentionally. In addition, this program should support the following command line parameters:[11]

With no parameter – shows the Settings dialog box or do nothing.

ScreenSaver.scr /s

Runs the screensaver.

ScreenSaver.scr /p or /l <HWND>

Previews the screensaver as child of window. <HWND> (presented as unsigned decimal number) is an identifier (handle) of the window in which the preview should appear.

ScreenSaver.scr /c

Shows the Settings dialog box, modal to the foreground window.

ScreenSaver.scr /a <HWND>

Changes password, modal to window <HWND>. Windows 95 screensavers must handle it.

macOS

[edit]

Under macOS, screensavers are regular macOS application bundles with the .saver file extension.[12]

Internally, the screensaver must define a class that is subclass of ScreenSaverView. The new class must be assigned as NSPrincipalClass in the xcode project, so that when the screensaver is launched by the system, this class gets instantiated.

Atari

[edit]

As one of the first screensavers appeared in 8-bit Atari computers, forcing systemic color changes when the computer is idle lasting a few minutes (different times depending on the model), stored in the system ROM of the computer.

Considerations

[edit]

Monitors running screensavers consume the same amount of power as when running normally, which can be anywhere from a few watts for small LCD monitors to several hundred for large plasma displays. Most modern computers can be set to switch the monitor into a lower power mode, blanking the screen altogether. A power-saving mode for monitors is usually part of the power management options supported in modern operating systems, though it must also be supported by the computer hardware and monitor itself.

Using a screensaver with a flat panel or TFT LCD screen not powering down the screen can actually decrease the lifetime of the display, since the fluorescent backlight remains lit and ages faster than it would if the screen is turned off and on frequently.[13][14] As fluorescent tubes age they grow progressively dimmer, and they can be expensive or difficult to replace. A typical LCD screen loses about 50% of its brightness during a normal product lifetime. In most cases, the tube is an integral part of the LCD and the entire assembly needs to be replaced. This is not true of LED backlit displays.

Thus the term "screen saver" is now something of a misnomer – the best way to save the screen and also save electricity consumed by screen would simply be to have the computer turn off the monitor. Screensavers displaying complex 3D graphics might even add to overall power draw.[15]

Entertainment

[edit]
XScreenSaver displaying a Matrix-style screensaver

After Dark was an early screensaver for the Macintosh platform, and later PC/Windows, which prominently featured whimsical designs such as "flying toasters". Perhaps in response to the workplace environment in which they are often viewed, many screensavers continue this legacy of whimsy by populating the idle monitor with animals or fish, video games, and visual expressions of mathematics equations (through the use of fractals, Fourier transforms or other means) as in the Electric Sheep screensaver.

At least one screensaver, Johnny Castaway, told a humorous animated story over many months.[16] The ability of screensavers to divert and entertain is used for promotion, especially to build buzz for "event-based" products such as feature films.

The screensaver is also a creative outlet for computer programmers. The Unix-based screensaver XScreenSaver collects the display effects of other Unix screensavers, which are termed "display hacks" in the Jargon File tradition of US computer science academics. It also collects forms of computer graphics effects called demo effects, such as were originally produced by the demoscene.

Microsoft Windows

[edit]

On older versions of Microsoft Windows the native screensaver format had the potential to install a virus when run (as a screen saver was just an ordinary application with a different extension). When any file with the file suffix ".scr" was opened, for example from an email attachment, Windows would execute the .scr (screensaver) file automatically: this had the potential to allow a virus or malware to install itself. Modern versions of Windows can read tags left by applications such as Internet Explorer and verify the publisher of the file, presenting a confirmation to the user.

On August 5, 2006, the BBC reported that "free screensavers" and "screensavers" respectively were the first and third most likely search terms to return links to malware, the second being BearShare.[17]

By launching the "bubbles" screensaver executable through the bubbles.scr /p65552 command-line parameter, it runs as desktop wallpaper, the bubbles are smaller, and there are more bubbles on screen.[18] The user must use the Task Manager to stop the screensaver.[18]

See also

[edit]

References

[edit]
  1. ^ a b "Screensaver (Inventor of) by Robert Heinlein from Stranger in a Strange Land". Technovelgy.com. Archived from the original on March 18, 2015.
  2. ^ Einstein@Home Screensaver | Multi-Directional 2.07, 21 September 2020, archived from the original on 2022-09-03, retrieved 2022-09-18 – via YouTube
  3. ^ Phillips, Gavin (January 24, 2020). "How to Fix Screen Burn-In on TVs: Plasma, LCD, and OLED". MakeUseOf.com. Archived from the original on 2024-01-26. Retrieved 2022-09-18.
  4. ^ SETI@home Screensaver | Enhanced 5.27. Archived from the original on 2022-09-29. Retrieved 2022-09-18 – via YouTube.
  5. ^ Heinlein, Robert (1987). Stranger in a Strange Land. New York, New York: Penguin. p. 448. ISBN 9780441790340 – via Google Books.
  6. ^ Chin, Kathy (April 11, 1983). "Z-29, a New Computer Terminal from Zenith Data Systems". InfoWorld. p. 13 – via Google Books.
  7. ^ Walter, Derek (December 29, 2015). "How to Set Up Android's Daydream Screensaver". Tom's Guide. Archived from the original on 2021-12-14. Retrieved 2021-12-14.
  8. ^ Hoffman, Chris (August 26, 2013). "5+ Cool Uses for Android's Daydream Mode". HowToGeek.com. Archived from the original on 2021-12-14. Retrieved 2021-12-14.
  9. ^ "MAK Collection Online: Event Listeners by van den Dorpel". Sammlung.mak.at. Archived from the original on 2022-02-05.
  10. ^ Ghorashi, Hannah (April 24, 2015). "MAK Vienna Becomes First Museum to Use Bitcoin to Acquire Art, a Harm van den Dorpel". ArtNews.com. Archived from the original on 2023-04-09. Retrieved 2024-07-13.
  11. ^ "INFO: Screen Saver Command Line Arguments". Microsoft. Archived from the original on 2014-02-02. Retrieved 2014-02-01.
  12. ^ "ScreenSaverView - ScreenSaver | Apple Developer Documentation". Developer.Apple.com. Apple Inc. Archived from the original on 2018-09-25. Retrieved 2018-09-25.
  13. ^ "Science Fact or Science Fiction: Fluorescent Lights". CBC.ca. Canadian Broadcasting Corporation. Archived from the original on 2011-10-28. Retrieved 2022-01-12.
  14. ^ "When to Turn Off Your Lights". Energy.gov. United States Department of Energy. Archived from the original on 2019-03-22. Retrieved 2019-03-22.
  15. ^ Hoffman, Chris (September 16, 2016). "Why Screen Savers Are No Longer Necessary". HowToGeek.com. Retrieved 2024-07-13.
  16. ^ Emrich, Johnny L.; Wilson (January 1993). "The Misadventures of Johnny Castaway". Computer Gaming World. p. 16. Archived from the original on 2016-07-02. Retrieved 2014-07-05.
  17. ^ "Warning on Search Engine Safety". BBC News. May 12, 2006. Archived from the original on 2009-02-24. Retrieved 2010-06-07.
  18. ^ a b Khanse, Anand (March 18, 2019). "How to Run Screensaver As Wallpaper in Windows 11/10". TheWindowsClub.com. Archived from the original on 2022-01-21. Retrieved 2022-01-21.