mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 19:59:05 +00:00
Update cheatsheets
This commit is contained in:
25
xprop
Normal file
25
xprop
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xprop
|
||||
|
||||
> Display window and font properties in an X server.
|
||||
> More information: <https://manned.org/xprop>.
|
||||
|
||||
- Display the name of the root window:
|
||||
|
||||
`xprop -root WM_NAME`
|
||||
|
||||
- Display the window manager hints for a window:
|
||||
|
||||
`xprop -name "{{window_name}}" WM_HINTS`
|
||||
|
||||
- Display the point size of a font:
|
||||
|
||||
`xprop -font "{{font_name}}" POINT_SIZE`
|
||||
|
||||
- Display all the properties of the window with the id 0x200007:
|
||||
|
||||
`xprop -id {{0x200007}}`
|
||||
Reference in New Issue
Block a user