Linux Screen Saver Source Code

Page 1 of 1

13 Replies - 7326 Views - Last Post: 10 July 2005 - 06:37 AM

#1 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Linux Screen Saver Source Code

Posted 25 June 2005 - 04:45 AM

i'm after the linux screen saver source code. you know when linux boots it displays a lot of texts :

booting..
/dev/hda1

something like the above, i need the source code. also how to create sursor animation like linux, when it boots?? cursor changes from / to \. know what i mean?? well please post info and available links
Is This A Good Question/Topic? 0
  • +

Replies To: Linux Screen Saver Source Code

#2 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Re: Linux Screen Saver Source Code

Posted 27 June 2005 - 07:23 AM

Most of the text that is displayed during bootup in linux can be shown again using the command `dmesg` so you can use that text for it.


If you are looking to make a linux screen saver http://www.jwz.org/xscreensaver/ that is the site where you can download Xscreensaver source
Was This Post Helpful? 0
  • +
  • -

#3 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Re: Linux Screen Saver Source Code

Posted 29 June 2005 - 12:36 AM

Thanks for this, but like Xandros, this one doest not display text messages:

loading...
starting dev/hda1/


i want this one..
Thanks anyway, if you find this one plz post link
Was This Post Helpful? 0
  • +
  • -

#4 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Re: Linux Screen Saver Source Code

Posted 29 June 2005 - 12:41 AM

opps i'm sorry there!!! i did not notice what you say about "dmesg" what's its function actually, where to uses this command. sorry for spamming, i did not notice.

please reply about what i mentioned..

thanks in advance
Was This Post Helpful? 0
  • +
  • -

#5 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Re: Linux Screen Saver Source Code

Posted 29 June 2005 - 07:30 AM

you use dmesg in a terminal, it will display all that was written to the screen during bootup. You can use the text it generates to create your screensaver
Was This Post Helpful? 0
  • +
  • -

#6 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Re: Linux Screen Saver Source Code

Posted 29 June 2005 - 09:19 AM

so other sources for these type of screen savers, which displays texts and make animations??

you know when knoppix boots, it says "autoconfiguring devices" and theres a green progressbar with a cursor rotating @ 360 degrees, how to do this animation?? am sorry if my questions bother you.
Was This Post Helpful? 0
  • +
  • -

#7 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Re: Linux Screen Saver Source Code

Posted 29 June 2005 - 10:41 AM

knoppix accomplishes that animation using the ncurses library. That library is used only in consoles and terminals, so you wouldnt be able to use it as a screen saver, you would have to recreate it with whatever graphics lib you are using to make the screen saver

basically to achive the spinning cursor you write to the same position on the screen these chararcters " | / - \ | / - \ | "
Was This Post Helpful? 0
  • +
  • -

#8 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Re: Linux Screen Saver Source Code

Posted 03 July 2005 - 04:23 AM

can you post link of linux full source code???
Was This Post Helpful? 0
  • +
  • -

#9 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Re: Linux Screen Saver Source Code

Posted 03 July 2005 - 08:57 AM

The link I gave you eariler is the source to xscreensaver, the linux screensaver. The documentation says that in the source code, in the "hacks" folder are demo screensavers you can start coding from.


You should clarify what you are looking for.

The thing knoppix does when it is booting is not a screensaver.
If you want to make a screensaver that imitates that then start with the xscreensaver source.

If there is an xscreensaver module that you are looking for that does text printing and such, say the name of the module, and maybe I can find the source for it.


please clarify
Was This Post Helpful? 0
  • +
  • -

#10 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Re: Linux Screen Saver Source Code

Posted 04 July 2005 - 09:20 AM

As you are saying: Please clarify,

now i said i need full source of linux itself and not the screen saver!
Was This Post Helpful? 0
  • +
  • -

#11 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Re: Linux Screen Saver Source Code

Posted 04 July 2005 - 09:40 AM

Linux is a Kernel, and can be found at kernel.org
Was This Post Helpful? 0
  • +
  • -

#12 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Re: Linux Screen Saver Source Code

Posted 08 July 2005 - 12:13 AM

How do i build the binaries using windows??? is there any compiler for windows???
Was This Post Helpful? 0
  • +
  • -

#13 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 253
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: Linux Screen Saver Source Code

Posted 08 July 2005 - 06:34 AM

You want to build the linux binaries using windows? Hmmm....not much call for that, but you'd at least require the GNU tools...I'd suggest beginning with Cygwin...here's an article on cross system compilers.
Was This Post Helpful? 0
  • +
  • -

#14 yasir   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 25-June 05

Re: Linux Screen Saver Source Code

Posted 10 July 2005 - 06:37 AM

okay, how to build binaries on linux with gcc??
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1