hey all,
I finally had to do the obligatory wipe and reinstall on the laptop after almost 3 years of happy running, both my windows and PCLinuxOS partitions had accumulated enough redundant folders and things that i was not sure if it was OK to delete. so an evening well spent had a fresh install of PCLinuxOS and a fresh reinstall of XP for the limited gaming I do.
Anyways I then had the do the usual thing of adding in the programs and things that I personal like to use.
After about 20 mins or so tinkering around I had things almost back to normal. the only thing I could not figure out ow to do was turn the laptop screen, I had originally a command aligned to the scroll lock key but I could not figure out how to do this in KDE4. I like to be able to turn the screen off completely when I listen to audiobooks or music.
I checked around on the interweb and found a little snippet that said that if "acpi" (was installed by default on the live CD) is installed if you type "xset dpms force off" in konsole will turn off the screen.
So all you have to do is create a new link to application, call it Turn off Screen or what ever you like, right click on the icon then go to the properties and on the application tab type "xset dpms force off" (without the inverted commas) in the command box. and that's it.
You can leave the Icon on the desktop or dump it in the home folder or wherever and drag it onto the panel.
I'm not sure if anyone has posted this pit before, but if not I hope that some folks will find it useful.