Recent

Author Topic: Screen Capture under Linux?  (Read 11720 times)

KillerCode

  • New Member
  • *
  • Posts: 29
Screen Capture under Linux?
« on: November 18, 2010, 12:43:48 pm »
ok, thats my first encounter ever for programming under linux, all i know is that in linux, everything is files, so i was wondering if anyone have screen capture code so i can look into it? its gonna be nice to make a screen capture software to take a screen shot and save to file.

thanks.

also, anyone know any guide for linux programming starters? not programming language, linux itself

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Screen Capture under Linux?
« Reply #1 on: November 18, 2010, 01:45:34 pm »
so i was wondering if anyone have screen capture code so i can look into it?

http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Taking_a_screenshot_of_the_screen

Quote
also, anyone know any guide for linux programming starters? not programming language, linux itself

There is some stuff here: http://wiki.freepascal.org/Multiplatform_Programming_Guide

There is also a lot on the subject in the upcoming Lazarus book in english: http://www.blaisepascal.eu/index.php?actie=./subscribers/lazarusbookinfoEnglish

KillerCode

  • New Member
  • *
  • Posts: 29
Re: Screen Capture under Linux?
« Reply #2 on: November 19, 2010, 06:56:29 am »
thanks :D, thats a pretty nice article to read :D
but if i used this code, will i need to include any files of any kind?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Screen Capture under Linux?
« Reply #3 on: November 19, 2010, 08:46:28 am »
but if i used this code, will i need to include any files of any kind?

For the screenshot? The code comes with a uses clause listing the necessary units to include.

KillerCode

  • New Member
  • *
  • Posts: 29
Re: Screen Capture under Linux?
« Reply #4 on: November 19, 2010, 09:31:44 am »
i didnt mean includes like C/C++ includes.
i mean like what files will i have to distribute with my application if i used this code?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Screen Capture under Linux?
« Reply #5 on: November 19, 2010, 10:39:09 am »
i mean like what files will i have to distribute with my application if i used this code?

Nothing special except all the stuff that you would need to add to make a proper Linux installer:

http://wiki.lazarus.freepascal.org/Deploying_Your_Application#Unix_installers

The upcoming english Lazarus book also covers this topic in details.

 

TinyPortal © 2005-2018