LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2006, 08:26 PM   #1
smudge|lala
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160

Rep: Reputation: 16
Cannot locate cursor ID in X for capture script


I take many screen shots through a multitude of commands, so I am quite familiar with the common commands related to it and have been working on a script to automate my captures and encoding. My difficulty is trying to capture the cursor as well. I don't know if this is possible, but assume it is as VNC (sometimes) displays the cursor and Istanbul captures it.

I tried

$ xwininfo -tree to see if I could get all the identifiers including the cursor, then do a process of ellimination to find which one the cursor was. No luck!

I thought if I could find the cursor identifier, even if I couldn't capture the screen and cursor at once, I could take them seperately, and then $ mogrify the two images together. No luck as I can't identify the cursor! Any tips anybody?

I've been playing around with Wink on Linux for a bit. A nice program for many, but I still prefer to use the shell and Image Magick as a simple script will do what a zillion mouse clicks will do in Wink. The point to note however, is that Wink does capture the cursor, and as it's on the screen, it must have a process ID or other identifier. If there's any X guru or programmer out there, any tips on how I might capture a screen shot with the cursor, I would be most grateful!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making shell script to 'locate' m4a files and delete them bd1308 Linux - Software 3 02-12-2006 10:44 AM
Could not open default cursor font 'cursor' at startx with slackware 10.2 bgryderclock Slackware 3 01-02-2006 10:36 PM
Searching for capture script. jabka Linux - General 1 10-07-2005 08:53 AM
[Mouse cursor] flicking on animated cursor Creak Debian 1 06-10-2005 02:16 AM
Script to capture dynamic IP address scon Linux - General 4 02-21-2003 03:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration