Find the answer to your Linux question:
Results 1 to 2 of 2
Hi! I'm looking for it for a while, but no results. What i want is to make a script that returns (with echo) with a given size of the actual ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    6

    capture screen of a screen session


    Hi!

    I'm looking for it for a while, but no results.

    What i want is to make a script that returns (with echo) with a given size of the actual screen of a specified screen session.

    so it is not workable, but i want a similar solution:
    echo `screen -r screenname`

    when i use "-r" it shows the screenname session, but will not deatach it, so echo can't show me the result (i think).

    Is there any solution for this to make it work, or is it totally impossible?

    Thanks!

  2. #2
    Just Joined!
    Join Date
    Mar 2011
    Posts
    4
    You might look at the command "xwininfo". It provides all sorts of useful information about windows running.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •