Questions tagged [screensaver]

A screensaver is a visual program that runs after a period of inactivity.

A screensaver is a visual program that runs after a period of inactivity. It's purpose is to prevent damage to a visual output device by a static image being "burned" into it.

456 questions
27
votes
13 answers

Programmatically prevent Windows screensaver from starting

Is there a recommended way to prevent the Windows screensaver from starting? The closest thing I've found is this article, but what I would really like to do is just tell Windows that the computer isn't idle rather than fooling with the currently…
Michael Kelley
  • 3,331
  • 4
  • 34
  • 40
27
votes
5 answers

Need to disable the screen saver / screen locking in Windows C#/.Net

For a particular application, I need the screen saver to be disabled while it's running. The operator COULD manually turn it off, and then back on later, but the easiest thing to do would be to just keep the screen saver at bay while the…
Clinton Pierce
  • 11,933
  • 12
  • 57
  • 88
27
votes
3 answers

What's different about Screensaver preview in Windows 8?

I'm working on a simple WPF based screensaver and can't get the thumbnail preview to work. When you open the display control panel and go to configure the screensaver, the selected screensaver is supposed to display a thumbnail preview within the…
Bevan
  • 40,925
  • 10
  • 77
  • 128
23
votes
9 answers

How to debug a Screensaver in OS X

I was wondering if there was any decent way, other than NSLog-ing just about everything - to properly debug a Screensaver app bundle in OS X? The "Screensaver" is a project type in Xcode, but there's obviously no Build and Go debugging. Further,…
Dave Martorana
  • 1,311
  • 13
  • 19
19
votes
3 answers

How to develop linux screen saver

Does anyone have a link or document on how to write a screensaver for Linux?
user68109
  • 2,366
  • 4
  • 20
  • 20
18
votes
3 answers

How to programmatically prevent linux computer from sleeping or turning on screensaver?

While developing a small cross-platform game on C++, I got stuck with following issue: when players are playing with a USB gamepad without touching a keyboard or mouse, the computer sleeps automatically while they're playing. In Windows, it can be…
FalconUA
  • 7,927
  • 5
  • 28
  • 61
16
votes
2 answers

macOS (10.13 High Sierra) no longer stores screensaver settings in com.apple.screensaver

So far my project had been relying on the following commands in order to tweak screensaver settings: defaults write com.apple.screensaver askForPasswordDelay 0 defaults write com.apple.screensaver askForPassword true As of macOS High Sierra (10.13)…
Lee Andrew
  • 738
  • 7
  • 27
16
votes
3 answers

mac screensaver start event

Is there an event fired when screensaver starts? Like for keychain locking: OSStatus keychain_locked(SecKeychainEvent keychainEvent, SecKeychainCallbackInfo *info, void *context){...}
tig
  • 21,082
  • 10
  • 60
  • 93
15
votes
5 answers

javascript code to prevent screensaver from starting

I am completely new to javascript programming and I have a question that I didn't manage to find an answer for anywhere. I have recently put together a simple slideshow to view the photos remotely that I host on my home computer. This by itself…
gertjan
  • 813
  • 7
  • 16
15
votes
6 answers

Turn Java App into Windows Screensaver

I wrote a program that solves mazes with depth-first search. I was wondering how to turn this Java program into a Screensaver application? Is there a way that Windows 7 starts my app when the screensaver would normally be activated?
citronas
  • 17,809
  • 26
  • 85
  • 155
14
votes
6 answers

Is there a decent way to inhibit screensavers in linux?

I'm looking for a decent, non-lame way to inhibit xscreensaver, kscreensaver, or gnome-screensaver, whichever might be running, preferably in a screensaver-agnostic manner, and it absolutely positively must execute fast. I've read the xscreensaver…
smcameron
  • 748
  • 3
  • 7
  • 8
14
votes
3 answers

Monitoring Screensaver Events in OSX

I want to monitor screensaver and lockscreen events on an OSX box. As a first pass, I'm fine with them just printing to the console. Following the advice of another's question, I wrote some Objective C to listen for Cocoa Notifications for…
rampion
  • 82,104
  • 41
  • 185
  • 301
13
votes
3 answers

How does YouTube prevent the screensaver from showing up during video playback? (Windows)

I have noticed that mi screensaver doesn't start while I'm watching videos on YouTube. I'm using Windows 7. This is the test: Set Windows screensaver to 1 minute. Browse to YouTube and play a video longer than 1 minute; ideally much longer. Note…
JulianG
  • 2,707
  • 3
  • 19
  • 23
13
votes
2 answers

Windows 7 logon screensaver in Delphi

I'm having problems while using Delphi application as Windows 7 logon screensaver (for both 32-bit and 64-bit Windows). Even blank application (New Project without any extra code) throws an error. Delphi 7 application throws "The memory could not be…
Kaitnieks
  • 902
  • 1
  • 7
  • 15
12
votes
1 answer

Disabling Screen Saver and Power Options in C#

I am writing an application in C# that plays a movie. I need to figure out how to disable the screen saver and power options using C#. I know the Windows SDK API has a function called SetThreadExecutionState() which can be used to do this, however,…
Icemanind
  • 43,745
  • 45
  • 159
  • 272
1
2 3
30 31