Making a KDE screensaver?
I'm having a hard time finding sources that explain how to make a screensaver. I have searched my KDE directories myself only to find *.desktop files that are not executable. Now I'm curious about how they are made.
|
Take a look at the screensaver config itself ... each screen saver has config options including the command to run. Normally they run on the root screen, but those commands will work in cli too. Give it a go.
That'll give you the clues you need. (Of course, I could be way way off ... it's been a while since I've seen KDE) |
|
The links on developer.kde and in the config options do not provide any help. At least, I haven't seen anything there.
|
Well I do not think that you should have given up this fast
as least I did not and took time to find this link for you http://websvn.kde.org/branches/KDE/3.../kscreensaver/ I got this link from developer.kde.org regards |
Quote:
The link, courtiously suggested by guru masand, may the lotus blossom always at his feet, is to the existing screensaver source code ... though there are clues there too :) |
Quote:
Thanks for complementing the link nicely regards |
Usually the screensaver is an executable that draws stuff onto the screen. It is called by the screensaver program at the appropriate moments and run on the root screen. I don't remember if KDE screensaver had an option in it's config to add new screensavers...(?)
In reference to the initial post... though I only have gnome in front of me... I see <screensaver name>.desktop files just like you, also non-executable. But I did a hunt for all files relating to a particular screensaver - moire - and got this: Code:
$ locate moire Investigating the .desktop files shows they are text files ... the content is fairly self explainatory. Enjoy your investigation. I too have had no luck finding a specific tutorial or howto about creating screensavers for KDE ... though they must exist. You could try asking the screensaver authors at KDE-look.org? |
All times are GMT -5. The time now is 03:11 AM. |