parasurv@webspace ~ $

Small Linux utils: xprop and xev

This is just a random post explaining some useful small utilities on Linux.


This a command line utility that helps you get useful information a selected window. I use this to get the WMCLASS of certain windows that I want to have special rules in a tiling window manager (like i3 or dwm).

You need to run it in terminal:

$ xprop

And than click on a window with the cursor, then you will get the information you need in the terminal window.


This also runs from terminal, opening a white background window where you click or type and you get the output in the terminal window where you started xev.

$ xev

Useful to get keycode for any key on the keyboard, like the special media keys. But don't type or click a lot, because it will harder to identify the info.

Hosted on Neocities and created with Emacs, the world best text editor, operating system. This website doesn't track you. I don't use any javascript or other scripts. I don't store any information about the visitors. It's just pure old fashioned HTML. Some parts of the site is not up-to-date design wise. I may or may not update them in the future.