gitk, scrot, xdotool: update pages (#19725)

This commit is contained in:
Dylan
2025-12-02 08:43:21 +02:00
committed by GitHub
parent ca8a287abd
commit 492faec68e
3 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -14,11 +14,11 @@
- Show commits made since 1 week ago:
`gitk --since="{{1 week ago}}"`
`gitk --since="1 week ago"`
- Show commits older than 1/1/2016:
- Show commits older than 1/1/2015:
`gitk --until="{{1/1/2015}}"`
`gitk --until="1/1/2015"`
- Show at most 100 changes in all branches:
+7 -7
View File
@@ -1,7 +1,7 @@
# scrot
> Screen capture utility.
> More information: <https://github.com/resurrecting-open-source-projects/scrot>.
> More information: <https://manned.org/scrot>.
- Capture a screenshot and save it to the current directory with the current date as the filename:
@@ -9,24 +9,24 @@
- Capture a screenshot and save it as `capture.png`:
`scrot {{capture.png}}`
`scrot capture.png`
- Capture a screenshot interactively:
`scrot --select`
`scrot {{[-s|--select]}}`
- Capture a screenshot interactively without exiting on keyboard input, press `<Esc>` to exit:
`scrot --select --ignorekeyboard`
`scrot {{[-is|--ignorekeyboard --select]}}`
- Capture a screenshot interactively delimiting the region with a colored line:
`scrot --select --line color={{x11_color|rgb_color}}`
`scrot {{[-s|--select]}} {{[-l|--line]}} color={{x11_color|rgb_color}}`
- Capture a screenshot from the currently focused window:
`scrot --focused`
`scrot {{[-u|--focused]}}`
- Display a countdown of 10 seconds before taking a screenshot:
`scrot --count --delay {{10}}`
`scrot {{[-c|--count]}} {{[-d|--delay]}} 10`
+5 -5
View File
@@ -5,24 +5,24 @@
- Retrieve the X-Windows window ID of the running Firefox window(s):
`xdotool search --onlyvisible --name {{firefox}}`
`xdotool search --onlyvisible --name firefox`
- Perform a mouse `<RightClick>`:
`xdotool click {{3}}`
`xdotool click 3`
- Get the ID of the currently active window:
`xdotool getactivewindow`
- Focus on the window with ID of 12345:
- Focus on the window with a specific ID:
`xdotool windowfocus --sync {{12345}}`
- Type a message, with a 500ms delay for each letter:
`xdotool type --delay {{500}} "Hello world"`
`xdotool type --delay 500 "{{Hello world}}"`
- Press the `<Enter>` key:
`xdotool key {{KP_Enter}}`
`xdotool key KP_Enter`