grabc | command line tool to identify a pixel color | Command Line Interface library
kandi X-RAY | grabc Summary
kandi X-RAY | grabc Summary
A command line tool to identify a pixel color on an X Window. When this program is run, the mouse pointer is grabbed and changed to a cross hair and when the mouse is clicked, the color of the clicked pixel is written to stdout in hex prefixed with #. This program can be useful when you see a color and want to use the color in xterm or your window manager's border but no clue what the name of the color is. It's silly to use a image processing software to find it out. (That's how I described it 20 years ago, so keeping it this way for historical reasons - Apr-11-2018).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of grabc
grabc Key Features
grabc Examples and Code Snippets
grabc v1.0.2
A program to identify a pixel color of an X Window
by muquit@muquit.com https://www.muquit.com/
Usage: grabc [options]
Where the options are:
-v - show version info
-h - show this usage
-hex - print pixel value
sudo apt-get -y install libx11-dev
make
sudo make install
make DESTDIR=/tmp/grabc install
make deb
sudo dpkg -i ./grabc_1.0.2-1_amd64.deb
sudo dpkg -r grabc
Community Discussions
Trending Discussions on grabc
QUESTION
I am grabbing keys with xcb_grab_key_checked
:
ANSWER
Answered 2017-Jan-22 at 06:56Yes it is by design. Grabbing a key and grabbing the keyboard are rather different operations. Grabbing the keyboard doesn't mean grabbing all keys.
Grabbing a key is, in fact, making that key initiate a keyboard grab. Key grabs are normally used to implement hotkeys. A keyboard grab diverts all key events to the client. Keyboard grabs are transient (tjey last e.g. while a pop-up menu is shown) and key grabs are long term (hotkeys are rarely changed).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install grabc
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page