Re: Is Dead pixels a general problem on N900?, please comment!
Quote:
Originally Posted by forcer
(Post 452617)
ok guys, I have managed to create small python script that will endlessly switch between black, red, green, blue and white.
here is the script:
Code:
import sys, pygame, random, time
pygame.init()
size = width, height = 800, 480
speed = [2, 2]
colors = [ [255,255,255], [0,0,0], [255,0,0], [0,255,0], [0,0,255] ]
screen = pygame.display.set_mode(size)
pygame.display.toggle_fullscreen()
pygame.mouse.set_visible(0);
while 1:
for event in pygame.event.get():
if event.type == pygame.QUIT: sys.exit()
time.sleep(0.001)
screen.fill(colors[random.randint(0,3)])
pygame.display.flip()
just one thing I miss - how to disable screensaver?
or there might be someone who will optimize the script, as this is my first python app(I prefer other langs)
|
Use "Simple Brightness Applet", and set the "Keep display on", then display will be on funny enough :D.
|