Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-04-2010, 11:01 AM   #1
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
linux command to find co-ordinates of pixel on screen?


I was wondering if theres a commandline prog that could give me an 'X' (like xprop does) so that I can point to a particular pixel and it give me the X and Y cordinates of that pixel?
Old 04-04-2010, 11:30 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738

I found it in the Arch repos---good chance it is in yours also.
Old 04-05-2010, 09:11 AM   #3
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Original Poster
Rep: Reputation: 64
Thanks, that was just what I needed, and some other interesting functions too
Old 04-22-2014, 07:28 AM   #4
LQ Newbie
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
linux command to find co-ordinates of pixel on screen?

I have read the help of xdotool to do and did not see any mention of capturing the color of a pixel.


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
How to convert relative mouse co-ordinates to absolute co-ordinates? montylee Linux - General 1 05-22-2008 02:14 AM
how does pixel aspect relate to frame size in mplayer/how do you find vid frame size? BrianK Linux - General 3 10-31-2007 01:08 PM
Read pixel in Linux guitara Programming 6 03-22-2007 06:12 PM
Command to find the flavor of linux s_deepak_123 Linux - General 3 02-16-2006 11:35 AM
Screen pixel manipulation? ichrispa Programming 2 01-25-2006 02:09 PM

All times are GMT -5. The time now is 09:48 PM.

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