diff options
| author | srdusr <[email protected]> | 2023-01-04 16:40:28 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-01-04 16:40:28 +0200 |
| commit | 690894ae226a6422fc54536eea0e1574ef70327f (patch) | |
| tree | 72aed6c6385d98c2521b426c239612c483db5eea /linux | |
| parent | dd14a121ea9d1f4339ee1cd9e7a23129655fd5bb (diff) | |
| download | notes-690894ae226a6422fc54536eea0e1574ef70327f.tar.gz notes-690894ae226a6422fc54536eea0e1574ef70327f.zip | |
Getting information about a window
Diffstat (limited to 'linux')
| -rw-r--r-- | linux/linux-commands.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/linux-commands.md b/linux/linux-commands.md index 433e25d..52695f1 100644 --- a/linux/linux-commands.md +++ b/linux/linux-commands.md @@ -27,3 +27,11 @@ NOTE: `.` can also be used but is limited or `$ echo "text" 2>&1 | tee output-file` # print text without executing a command - - - + +#### Getting information about a window + - To get id, size, position, state, class, etc... + `$ xwininfo` + or + `$ xdotool getwindowfocus getwindowgeometry` # just get size/position +- - - + |