Does anyone know a good way to blank the screen with Purebasic under Linux? I need to be able to turn the screen off with a single mouse click, and have it turn back on in response to the usual kinds of input - mouse, keyboard, etc.
Alex
Screen Blanking With Purebasic
Screen Blanking With Purebasic
"How is it possible to bring order out of memory? I should like to begin at the beginning, patiently, like a weaver at his loom. I should like to say, 'This is the place to start, there can be no other.'
-Beryl Markham
-Beryl Markham
-
WishMaster
- Enthusiast

- Posts: 277
- Joined: Fri Jun 17, 2005 7:13 pm
- Location: Franconia
- Contact:
You can try this:
or this:
Code: Select all
RunProgram("xset", "dpms force suspend", "")Code: Select all
RunProgram("xset", "dpms force standby", "")Excellent. That's perfect!
Alex
Alex
WishMaster wrote:You can try this:or this:Code: Select all
RunProgram("xset", "dpms force suspend", "")Code: Select all
RunProgram("xset", "dpms force standby", "")
"How is it possible to bring order out of memory? I should like to begin at the beginning, patiently, like a weaver at his loom. I should like to say, 'This is the place to start, there can be no other.'
-Beryl Markham
-Beryl Markham


