Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pages/linux/*: apply keypress specifications #15860

Open
wants to merge 64 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d77f930
Update mpv.md
Managor Mar 4, 2025
a60a32f
Update mpv.md
Managor Mar 4, 2025
b0a64dc
Update zile.md
Managor Mar 4, 2025
3be1c52
Update zathura.md
Managor Mar 4, 2025
9a701c1
Update yetris.md
Managor Mar 4, 2025
ba8d848
Update terminator.md
Managor Mar 4, 2025
4ba3cfa
Update speedread.md
Managor Mar 4, 2025
58fdfbf
Update snake4.md
Managor Mar 4, 2025
f13c4ad
Update rtorrent.md
Managor Mar 4, 2025
9d78cc0
Update quickemu.md
Managor Mar 4, 2025
ffc9787
Update nsxiv.md
Managor Mar 4, 2025
712e74e
Update more.md
Managor Mar 4, 2025
eeefced
Update cmus.md
Managor Mar 4, 2025
d3f3296
revert mpv
Managor Mar 4, 2025
16152f7
Update showkey.md
Managor Mar 4, 2025
f54138f
Merge branch 'tldr-pages:main' into style-guide-10
Managor Mar 4, 2025
b76da21
Update finch.md
Managor Mar 4, 2025
7fa9154
Update guake.md
Managor Mar 4, 2025
9d19828
Update i3.md
Managor Mar 4, 2025
708a0d1
Update st.md
Managor Mar 4, 2025
fc0c4e8
Update talk.md
Managor Mar 4, 2025
22d6877
Merge branch 'main' into style-guide-10
Managor Mar 4, 2025
cf84ab4
Update cmus.md
Managor Mar 4, 2025
741e04c
Update quickemu.md
Managor Mar 4, 2025
e42e01f
Update st.md
Managor Mar 4, 2025
a347c1e
Update cmus.md
Managor Mar 4, 2025
3d34572
Update atop.md
Managor Mar 4, 2025
662f26c
Update fdisk.md
Managor Mar 4, 2025
d5d235f
Update iftop.md
Managor Mar 4, 2025
f7d42db
Update links.md
Managor Mar 4, 2025
5c69453
Update mpg123.md
Managor Mar 4, 2025
249185c
Update nsnake.md
Managor Mar 4, 2025
a414912
Update warpd.md
Managor Mar 4, 2025
7655e20
Update xclip.md
Managor Mar 4, 2025
6266517
Update more.md
Managor Mar 4, 2025
ef4c9c6
Update top.md
Managor Mar 4, 2025
0eb9ce6
Update kill.md
Managor Mar 4, 2025
b439323
Update xsel.md
Managor Mar 4, 2025
8c14330
Update wf-recorder.md
Managor Mar 4, 2025
6fd58e6
Update sar.md
Managor Mar 4, 2025
ea70068
Update rtcwake.md
Managor Mar 4, 2025
4415bf0
Update rdesktop.md
Managor Mar 4, 2025
2083564
Update konsole.md
Managor Mar 4, 2025
d4bd8d0
Update killall.md
Managor Mar 4, 2025
aeabfa5
Update expect.md
Managor Mar 4, 2025
84200c9
Update caffeinate.md
Managor Mar 4, 2025
bfb3130
Update arecord.md
Managor Mar 4, 2025
4b8b0da
Update xmodmap.md
Managor Mar 4, 2025
56fbe86
Update ydotool.md
Managor Mar 4, 2025
46221c6
Update xdotool.md
Managor Mar 4, 2025
ad62022
Update xdotool.md
Managor Mar 4, 2025
f7c8ae7
Update arecord.md
Managor Mar 4, 2025
f2a358e
Update nmtui.md
Managor Mar 4, 2025
6dbc5e3
Update cuyo.md
Managor Mar 4, 2025
ad1eb97
Update finch.md
Managor Mar 4, 2025
0e91f29
Update cmus.md
Managor Mar 4, 2025
22f90b1
Update sar.md
Managor Mar 4, 2025
85f35e7
Update scrot.md
Managor Mar 4, 2025
64e33af
Update cu.md
Managor Mar 5, 2025
5a1f071
Update cuyo.md
Managor Mar 6, 2025
b9dd9d9
Update cu.md
Managor Mar 6, 2025
f431d09
Update rtorrent.md
Managor Mar 6, 2025
fbb08ea
i3: use Number for number generalization
Managor Mar 6, 2025
7723436
finch: use Number for number generalization
Managor Mar 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pages/linux/arecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
> Sound recorder for ALSA soundcard driver.
> More information: <https://manned.org/arecord>.

- Record a snippet in "CD" quality (finish with Ctrl-C when done):
- Record a snippet in "CD" quality (finish with `<Ctrl c>` when done):

`arecord -vv --format=cd {{path/to/file.wav}}`

- Record a snippet in "CD" quality, with a fixed duration of 10 seconds:

`arecord -vv --format=cd --duration={{10}} {{path/to/file.wav}}`

- Record a snippet and save it as an MP3 (finish with Ctrl-C when done):
- Record a snippet and save it as an MP3 (finish with `<Ctrl c>` when done):

`arecord -vv --format=cd --file-type raw | lame -r - {{path/to/file.mp3}}`

- List all sound cards and digital audio devices:

`arecord --list-devices`

- Allow interactive interface (e.g. use space-bar or enter to play or pause):
- Allow interactive interface (e.g. use `<Space>` or `<Enter>` to play or pause):

`arecord --interactive`

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/atop.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@

- Display help about interactive commands:

`?`
`<?>`
2 changes: 1 addition & 1 deletion pages/linux/caffeinate.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
> Prevent desktop from sleeping.
> More information: <https://manned.org/caffeinate>.
- Prevent desktop from sleeping (use `Ctrl + C` to exit):
- Prevent desktop from sleeping (use `<Ctrl c>` to exit):

`caffeinate`
10 changes: 5 additions & 5 deletions pages/linux/cmus.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# cmus

> Command-line Music Player.
> Use arrow keys to navigate, `<enter/return>` to select, and numbers 1-8 switch between different views.
> Use `<ArrowKeys>` to navigate, `<Enter>` to select, and numbers `<1>`-`<8>` switch between different views.
> See also: `ncmpcpp`, `clementine`, `qmmp`.
> More information: <https://cmus.github.io>.

Expand All @@ -11,16 +11,16 @@

- Add file/directory to library:

`:add {{path/to/file_or_directory}}`
`<:>add {{path/to/file_or_directory}}`

- Pause/unpause current song:

`c`
`<c>`

- Toggle shuffle mode on/off:

`s`
`<s>`

- Quit cmus:

`q`
`<q>`
2 changes: 1 addition & 1 deletion pages/linux/cu.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

- Exit the `cu` session when in connection:

`~.`
`<Enter><~><.>`
6 changes: 3 additions & 3 deletions pages/linux/cuyo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

- Navigate the piece horizontally:

`{{A|D|Left arrow key|Right arrow key}}`
`{{<a>|<d>|<ArrowLeft>|<ArrowRight>}}`

- Turn the piece:

`{{W|Up arrow key}}`
`{{<w>|<ArrowUp>}}`

- Hard drop the piece:

`{{S|Down arrow key}}`
`{{<s>|<ArrowDown>}}`
2 changes: 1 addition & 1 deletion pages/linux/expect.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

`expect -c "{{commands}}"`

- Enter an interactive REPL (use `exit` or Ctrl + D to exit):
- Enter an interactive REPL (use `exit` or `<Ctrl d>` to exit):

`expect -i`
12 changes: 6 additions & 6 deletions pages/linux/fdisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@

- Once partitioning a disk, create a partition:

`n`
`<n>`

- Once partitioning a disk, select a partition to delete:

`d`
`<d>`

- Once partitioning a disk, view the partition table:

`p`
`<p>`

- Once partitioning a disk, write the changes made:

`w`
`<w>`

- Once partitioning a disk, discard the changes made:

`q`
`<q>`

- Once partitioning a disk, open a help menu:

`m`
`<m>`
16 changes: 8 additions & 8 deletions pages/linux/finch.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@

- Quit:

`<Alt> + q OR <Ctrl> + c`
`{{<Alt q>|<Ctrl c>}}`

- Show actions menu:

`<Alt> + a`
`<Alt a>`

- Jump to n-th window:

`<Alt> + {{number_key}}`
`<Alt {{Number}}>`

- Close current window:

`<Alt> + c`
`<Alt c>`

- Start moving a window, use arrow keys to move, press escape when done:
- Start moving a window, use `<ArrowKeys>` to move, press `<Esc>` when done:

`<Alt> + m`
`<Alt m>`

- Start resizing a window, use arrow keys to resize, press escape when done:
- Start resizing a window, use `<ArrowKeys>` to resize, press `<Esc>` when done:

`<Alt> + r`
`<Alt r>`
12 changes: 6 additions & 6 deletions pages/linux/guake.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@

- Toggle Guake visibility:

`F12`
`<F12>`

- Toggle fullscreen mode:

`F11`
`<F11>`

- Open a new tab:

`<Ctrl> + <Shift> + T`
`<Ctrl Shift t>`

- Close the terminal:

`<Super> + X`
`<Super x>`

- Go to the previous tab:

`<Ctrl> + <PageUp>`
`<Ctrl PageUp>`

- Search the selected text in the browser:

`<Shift> + <Ctrl> + L`
`<Ctrl Shift l>`
14 changes: 7 additions & 7 deletions pages/linux/i3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@

- Open a new terminal window:

`<Super> + <Return>`
`<Super Return>`

- Create a new workspace:

`<Super> + <Shift> + {{number}}`
`<Super Shift {{Number}}>`

- Switch to workspace number `n`:
- Switch to a workspace:

`<Super> + {{n}}`
`<Super {{Number}}>`

- Open new window horizontally:

`<Super> + h`
`<Super h>`

- Open new window vertically:

`<Super> + v`
`<Super v>`

- Open application (type out application name after executing command):

`<Super> + D`
`<Super d>`
2 changes: 1 addition & 1 deletion pages/linux/iftop.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

- Display help:

`?`
`<?>`
2 changes: 1 addition & 1 deletion pages/linux/kill.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

`kill -{{1|HUP}} {{process_id}}`

- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `Ctrl + C`:
- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `<Ctrl c>`:

`kill -{{2|INT}} {{process_id}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/killall.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

`killall -i {{process_name}}`

- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `Ctrl + C`:
- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `<Ctrl c>`:

`killall -INT {{process_name}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/konsole.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

`konsole --new-tab`

- Open the terminal in the background and bring to the front when `Ctrl+Shift+F12` is pressed:
- Open the terminal in the background and bring to the front when `<Ctrl Shift F12>` is pressed:

`konsole --background-mode`
6 changes: 3 additions & 3 deletions pages/linux/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

- Navigate forwards and backwards through the links on a page:

`{{Up arrow key|Down arrow key}}`
`{{ArrowUp|ArrowDown}}`

- Go forwards and backwards one page:

`{{Left arrow key|Right arrow key}}`
`{{ArrowLeft|ArrowRight}}`

- Exit:

`q + y`
`<q><y>`
8 changes: 4 additions & 4 deletions pages/linux/more.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

`<Space>`

- Search for a string (press `n` to go to the next match):
- Search for a string (press `<n>` to go to the next match):

`/{{something}}`
`</>{{something}}<Enter>`

- Exit:

`q`
`<q>`

- Display help about interactive commands:

`h`
`<h>`
10 changes: 5 additions & 5 deletions pages/linux/mpg123.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@

- Jump forward to the next song:

`f`
`<f>`

- Jump back to the beginning for the song:

`b`
`<b>`

- Stop or replay the current file:

`s`
`<s>`

- Fast forward:

`.`
`<.>`

- Quit:

`q`
`<q>`
2 changes: 1 addition & 1 deletion pages/linux/nmtui.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# nmtui

> Text user interface for controlling NetworkManager.
> Use arrow keys to navigate, enter to select an option.
> Use `<ArrowKeys>` to navigate, `<Enter>` to select an option.
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmtui.html>.
- Open the user interface:
Expand Down
8 changes: 4 additions & 4 deletions pages/linux/nsnake.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

- Navigate the snake:

`{{Up|Down|Left|Right arrow key}}`
`{{ArrowUp|ArrowDown|ArrowLeft|ArrowRight}}`

- Pause/unpause the game:

`p`
`<p>`

- Quit the game:

`q`
`<q>`

- Display help during the game:

`h`
`<h>`
8 changes: 4 additions & 4 deletions pages/linux/nsxiv.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@

- Quit nsxiv:

`q`
`<q>`

- Switch to thumbnail mode or open selected image in image mode:

`<Return>`
`<Enter>`

- Count images forward in image mode:

`n`
`<n>`

- Count images backward in image mode:

`p`
`<p>`
2 changes: 1 addition & 1 deletion pages/linux/quickemu.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

`quickemu --status-quo --vm {{path/to/file.conf}}`

- Start the virtual machine in full-screen mode (<Ctrl> + <Alt> + f to exit) and select the display backend (`sdl` by default):
- Start the virtual machine in full-screen mode (`<Ctrl Alt f>` to exit) and select the display backend (`sdl` by default):

`quickemu --fullscreen --display {{sdl|gtk|spice|spice-app|none}} --vm {{path/to/file.conf}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/rdesktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

`rdesktop -u Administrator -p passwd123 192.168.1.111:3389`

- Connect to a remote computer with full screen (press `Ctrl + Alt + Enter` to exist):
- Connect to a remote computer with full screen (press `<Ctrl Alt Enter>` to exist):

`rdesktop -u {{username}} -p {{password}} -f {{host:port}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/rtcwake.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@

`sudo rtcwake -m disable`

- Perform a dry run to wakeup the computer at a given time. (Press Ctrl + C to abort):
- Perform a dry run to wakeup the computer at a given time. (Press `<Ctrl c>` to abort):

`sudo rtcwake -m on --date {{hh:ss}}`
Loading
Loading