LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-14-2006, 03:01 AM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 438

Rep: Reputation: 30
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.
 
Old 04-14-2006, 03:06 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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)
 
Old 04-14-2006, 03:06 AM   #3
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
maybe u should check out

http://developer.kde.org/

regards
 
Old 04-14-2006, 03:14 AM   #4
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 438

Original Poster
Rep: Reputation: 30
The links on developer.kde and in the config options do not provide any help. At least, I haven't seen anything there.
 
Old 04-14-2006, 03:29 AM   #5
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 04-14-2006, 03:47 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by binarybob0001
sources that explain how to make a screensaver
... from post 1.

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
 
Old 04-14-2006, 03:50 AM   #7
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally Posted by Simon Bridge
... from post 1.

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

Thanks for complementing the link nicely

regards
 
Old 04-14-2006, 03:57 AM   #8
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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
/usr/share/man/man1/moire2.1.gz
/usr/share/man/man1/moire.1.gz
/usr/share/xscreensaver/config/moire.xml
/usr/share/xscreensaver/config/moire2.xml
/usr/share/applnk/System/ScreenSavers/moire.desktop
/usr/share/applnk/System/ScreenSavers/moire2.desktop
/usr/libexec/xscreensaver/moire2
/usr/libexec/xscreensaver/moire
As you see, the executable is in /usr/libexec/xscreensaver/ ... with all the others. I suspect a similar location for KDE.

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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No Screensaver in KDE? carlosinfl Linux - General 2 03-09-2006 09:46 AM
Making screensaver run when screen is locked akurtis Fedora 2 06-04-2005 09:15 PM
Xscreensaver- making the sonar screensaver ping JCdude2525 Linux - Software 1 11-14-2004 05:23 PM
kde screensaver mjkramer Linux - Software 1 01-09-2004 01:18 PM
screensaver in kde geraldallen Linux - Software 6 10-07-2003 06:50 AM


All times are GMT -5. The time now is 12:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration