Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-08

Linux screen-saver written with Lazarus?

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

David Taylor

[First post, so I hope this is the right newsgroup]

I have searched for information about and a source code example of a screen-saver for Linux written in fpc/Lazarus, but without success. Is this possible? Could someone please provide a source-code example? I'm not after anything complicated, just trying to make a digital clock screen-saver for my Raspberry Pi! Lazarus is installed and working fine on the RPi at the moment.

Thanks
David

Reply by email

Lukasz Sokol
to David Taylor
David Taylor wrote 10 lines
[First post, so I hope this is the right newsgroup] I have searched for information about and a source code example of a screen-saver for Linux written in fpc/Lazarus, but without success. Is this possible? Could someone please provide a source-code example? I'm not after anything complicated, just trying to make a digital clock screen-saver for my Raspberry Pi! Lazarus is installed and working fine on the RPi at the moment. Thanks David

I'd start with looking the example code (in C, or whatever language are they written in) of one that works, and trying to recreate it in Pascal, then reuse its 'get fullscreen and lock input' code for yourself only. If you're good you may try locating the latter only ;)

-L

Reply by email

Mark Morgan Lloyd
to Lukasz Sokol
Lukasz Sokol wrote 16 lines
On 11/08/13 17:50, David Taylor wrote: > [First post, so I hope this is the right newsgroup] > > I have searched for information about and a source code example of a > screen-saver for Linux written in fpc/Lazarus, but without success. > Is this possible? Could someone please provide a source-code > example? I'm not after anything complicated, just trying to make a > digital clock screen-saver for my Raspberry Pi! Lazarus is installed > and working fine on the RPi at the moment. > > Thanks David I'd start with looking the example code (in C, or whatever language are they written in) of one that works, and trying to recreate it in Pascal, then reuse its 'get fullscreen and lock input' code for yourself only. If you're good you may try locating the latter only ;)

With the minor caveat that this might depend on the operating system, window manager and so on that's actually installed.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

David Taylor
to Lukasz Sokol: I'd start with looking the example code (in C, or whatever language are they written in)…
Lukasz Sokol wrote 6 lines
I'd start with looking the example code (in C, or whatever language are they written in) of one that works, and trying to recreate it in Pascal, then reuse its 'get fullscreen and lock input' code for yourself only. If you're good you may try locating the latter only ;) -L

Lukasz,

I ended up using a normal program, and configuring it to auto-run when the desktop appeared. I've written this up here:

http://www.satsignal.eu/ntp/RaspberryPiDigitalClock.html

Many thanks!

Reply by email

Lukasz Sokol
to David Taylor
David Taylor wrote 17 lines
On 12/08/2013 08:54, Lukasz Sokol wrote: > I'd start with looking the example code (in C, or whatever language > are they written in) of one that works, and trying to recreate it > in Pascal, then reuse its 'get fullscreen and lock input' code for > yourself only. If you're good you may try locating the latter only > ;) > > -L Lukasz, I ended up using a normal program, and configuring it to auto-run when the desktop appeared. I've written this up here: http://www.satsignal.eu/ntp/RaspberryPiDigitalClock.html Many thanks!

That went straight to G+ Raspberry Community ;)

L.

Reply by email