Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm using MATE desktop environment on Linux Mint Nadia. I want to write my very own screensaver for mate-screensaver, but with SDL (not OpenGL).
I've been looking for solutions, found some usable source code here and here. But the problem is that these screensavers are using OpenGL context, and because I don't know OpenGL nor GTK, I just can't replace the OpenGL parts with SDL. (a basic SDL_Surface to draw on would be more than enough for me) If someone would help me I would be really glad!

(but please don't recommend me to use OpenGL, I have my reasons to use SDL)
Thanks!

share|improve this question
    
can mate-screensaver (your question & first link) and gnome-screensaver (your second link) use the same customizations? mate-screensaver really needs more options; everyone uninstalls it as a result, usually replacing it with gnome-screensaver which has more options (themes). then there's the crowd that hates gnome-screensaver's limited options and installs xscreensaver. ...I'm not sure how or if a screensaver can be used/packaged for these different applications, so you may have to choose one first (mate/gnome/x), or explore if/how the saver could be used with multiple. –  michael_n Aug 7 '13 at 21:25
    
This link applies to gnome-screensaver & xscreensaver (but not mate-screensaver), and you can reuse things across these two ( wiki.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions ). –  michael_n Aug 7 '13 at 21:40
    
sorry to spam your question with comments, but to answer my own question (from here) quoting/paraphasing: "mate-screensaver is a simplified front-end/daemon for xscreensaver" ... "[xscreensaver has] the daemon, the config front-end, and the 'hacks'. The first two are replaced by mate-screensaver...The 'hacks' ('themes' in the gnome docs, most people probably think of them as the 'screensavers themselves') used by mate-screensaver are the same as the ones used by xscreensaver." ... but mate lacks all the config options of xscreensaver –  michael_n Aug 7 '13 at 21:55
add comment

1 Answer 1

Write you'r own screenlocker, and replace the gnome screensaver with it.

That's really the only thing i could recommend other than learning OpenGL, though I'm guessing you probably already thought of that.

share|improve this answer
    
Not really an answer, should've been a comment to the question. –  slm Dec 29 '12 at 16:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.