Explorar o código

pages/linux/*: apply keypress specifications (#15860)

Managor hai 3 días
pai
achega
666349e9b6

+ 3 - 3
pages/linux/arecord.md

@@ -3,7 +3,7 @@
 > 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}}`
 
@@ -11,7 +11,7 @@
 
 `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}}`
 
@@ -19,7 +19,7 @@
 
 `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`
 

+ 1 - 1
pages/linux/atop.md

@@ -29,4 +29,4 @@
 
 - Display help about interactive commands:
 
-`?`
+`<?>`

+ 1 - 1
pages/linux/caffeinate.md

@@ -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`

+ 5 - 5
pages/linux/cmus.md

@@ -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>.
 
@@ -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>`

+ 1 - 1
pages/linux/cu.md

@@ -21,4 +21,4 @@
 
 - Exit the `cu` session when in connection:
 
-`~.`
+`<Enter><~><.>`

+ 3 - 3
pages/linux/cuyo.md

@@ -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>}}`

+ 1 - 1
pages/linux/expect.md

@@ -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`

+ 6 - 6
pages/linux/fdisk.md

@@ -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>`

+ 8 - 8
pages/linux/finch.md

@@ -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>`

+ 6 - 6
pages/linux/guake.md

@@ -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>`

+ 7 - 7
pages/linux/i3.md

@@ -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>`

+ 1 - 1
pages/linux/iftop.md

@@ -25,4 +25,4 @@
 
 - Display help:
 
-`?`
+`<?>`

+ 1 - 1
pages/linux/kill.md

@@ -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}}`
 

+ 1 - 1
pages/linux/killall.md

@@ -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}}`
 

+ 1 - 1
pages/linux/konsole.md

@@ -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`

+ 3 - 3
pages/linux/links.md

@@ -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>`

+ 4 - 4
pages/linux/more.md

@@ -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>`

+ 5 - 5
pages/linux/mpg123.md

@@ -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>`

+ 1 - 1
pages/linux/nmtui.md

@@ -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:

+ 4 - 4
pages/linux/nsnake.md

@@ -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>`

+ 4 - 4
pages/linux/nsxiv.md

@@ -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>`

+ 1 - 1
pages/linux/quickemu.md

@@ -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}}`
 

+ 1 - 1
pages/linux/rdesktop.md

@@ -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}}`
 

+ 1 - 1
pages/linux/rtcwake.md

@@ -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}}`

+ 3 - 3
pages/linux/rtorrent.md

@@ -9,12 +9,12 @@
 
 - Start the download:
 
-`<Ctrl>S`
+`<Ctrl s>`
 
 - View details about downloading torrent:
 
-`->`
+`<ArrowRight>`
 
 - Close rtorrent safely:
 
-`<Ctrl>Q`
+`<Ctrl q>`

+ 1 - 1
pages/linux/sar.md

@@ -3,7 +3,7 @@
 > Monitor performance of various Linux subsystems.
 > More information: <https://manned.org/sar>.
 
-- Report I/O and transfer rate issued to physical devices, one per second (press CTRL+C to quit):
+- Report I/O and transfer rate issued to physical devices, one per second (press `<Ctrl c>` to quit):
 
 `sar -b {{1}}`
 

+ 1 - 1
pages/linux/scrot.md

@@ -15,7 +15,7 @@
 
 `scrot --select`
 
-- Capture a screenshot interactively without exiting on keyboard input, press `ESC` to exit:
+- Capture a screenshot interactively without exiting on keyboard input, press `<Esc>` to exit:
 
 `scrot --select --ignorekeyboard`
 

+ 1 - 1
pages/linux/showkey.md

@@ -21,4 +21,4 @@
 
 - Exit the program:
 
-`Ctrl + d`
+`<Ctrl d>`

+ 4 - 4
pages/linux/snake4.md

@@ -9,19 +9,19 @@
 
 - Choose level:
 
-`{{1|2|3|4|5}}`
+`{{<1>|<2>|<3>|<4>|<5>}}`
 
 - Navigate the snake:
 
-`{{Up|Down|Left|Right arrow key}}`
+`{{<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>}}`
 
 - Pause game:
 
-`<Spacebar>`
+`<Space>`
 
 - Quit game:
 
-`q`
+`<q>`
 
 - Show the high scores:
 

+ 3 - 3
pages/linux/speedread.md

@@ -18,12 +18,12 @@
 
 - Slow down by 10% during the reading session:
 
-`[`
+`<[>`
 
 - Speed up by 10% during the reading session:
 
-`]`
+`<]>`
 
 - Pause, and show the last few lines as context:
 
-`<space>`
+`<Space>`

+ 2 - 2
pages/linux/st.md

@@ -17,8 +17,8 @@
 
 - Increase/decrease the font size:
 
-`<Ctrl> + <Shift> + {{Page Up|Page Down}}`
+`<Ctrl Shift {{PageUp|PageDown}}>`
 
 - Copy/paste from the clipboard:
 
-`<Ctrl> + <Shift> + {{C|V}}`
+`<Ctrl Shift {{c|v}}>`

+ 2 - 2
pages/linux/talk.md

@@ -17,8 +17,8 @@
 
 - Clear text on both terminal screens:
 
-`<Ctrl>+D`
+`<Ctrl d>`
 
 - Exit the talk session:
 
-`<Ctrl>+C`
+`<Ctrl c>`

+ 3 - 3
pages/linux/terminator.md

@@ -13,12 +13,12 @@
 
 - Split terminals horizontally:
 
-`<Ctrl> + <Shift> + O`
+`<Ctrl Shift o>`
 
 - Split terminals vertically:
 
-`<Ctrl> + <Shift> + E`
+`<Ctrl Shift e>`
 
 - Open new tab:
 
-`<Ctrl> + <Shift> + T`
+`<Ctrl Shift t>`

+ 1 - 1
pages/linux/top.md

@@ -29,4 +29,4 @@
 
 - Display help about interactive commands:
 
-`?`
+`<?>`

+ 5 - 5
pages/linux/warpd.md

@@ -13,20 +13,20 @@
 
 - Move cursor left:
 
-`h`
+`<h>`
 
 - Move cursor down:
 
-`j`
+`<j>`
 
 - Move cursor up:
 
-`k`
+`<k>`
 
 - Move cursor right:
 
-`l`
+`<l>`
 
 - Emulate left click:
 
-`m`
+`<m>`

+ 1 - 1
pages/linux/wf-recorder.md

@@ -1,7 +1,7 @@
 # wf-recorder
 
 > Screencast for Wayland optionally with audio.
-> By default you need to end the process with Ctrl-C.
+> By default you need to end the process with `<Ctrl c>`.
 > More information: <https://github.com/ammen99/wf-recorder>.
 
 - Record storing to an MP4 file:

+ 1 - 1
pages/linux/xclip.md

@@ -1,7 +1,7 @@
 # xclip
 
 > X11 clipboard manipulation tool, similar to `xsel`.
-> Handles the X primary and secondary selections, plus the system clipboard (`Ctrl + C`/`Ctrl + V`).
+> Handles the X primary and secondary selections, plus the system clipboard (`<Ctrl c>`/`<Ctrl v>`).
 > See also: `wl-copy`.
 > More information: <https://manned.org/xclip>.
 

+ 2 - 2
pages/linux/xdotool.md

@@ -7,7 +7,7 @@
 
 `xdotool search --onlyvisible --name {{firefox}}`
 
-- Click the right mouse button:
+- Perform a mouse `<RightClick>`:
 
 `xdotool click {{3}}`
 
@@ -23,6 +23,6 @@
 
 `xdotool type --delay {{500}} "Hello world"`
 
-- Press the enter key:
+- Press the `<Enter>` key:
 
 `xdotool key {{KP_Enter}}`

+ 1 - 1
pages/linux/xmodmap.md

@@ -3,7 +3,7 @@
 > Utility for modifying keymaps and pointer button mappings in X.
 > More information: <https://manned.org/xmodmap>.
 
-- Swap left-click and right-click on the pointer:
+- Swap `<LeftClick>` and `<RightCLick>` on the pointer:
 
 `xmodmap -e 'pointer = 3 2 1'`
 

+ 3 - 3
pages/linux/xsel.md

@@ -3,7 +3,7 @@
 > X11 selection and clipboard manipulation tool.
 > More information: <https://manned.org/xsel>.
 
-- Use a command's output as input of the clip[b]oard (equivalent to `Ctrl + C`):
+- Use a command's output as input of the clip[b]oard (equivalent to `<Ctrl c>`):
 
 `echo 123 | xsel -ib`
 
@@ -11,7 +11,7 @@
 
 `cat {{path/to/file}} | xsel -ib`
 
-- Output the clipboard's contents into the terminal (equivalent to `Ctrl + V`):
+- Output the clipboard's contents into the terminal (equivalent to `<Ctrl v>`):
 
 `xsel -ob`
 
@@ -23,6 +23,6 @@
 
 `xsel -cb`
 
-- Output the X11 primary selection's contents into the terminal (equivalent to a mouse middle-click):
+- Output the X11 primary selection's contents into the terminal (equivalent to a mouse `<MiddleClick>`):
 
 `xsel -op`

+ 3 - 3
pages/linux/ydotool.md

@@ -7,14 +7,14 @@
 
 `ydotoold`
 
-- Perform a left click input:
+- Perform a `<LeftClick>` input:
 
 `ydotool click 0xC0`
 
-- Perform a right click input:
+- Perform a `<RightClick>` input:
 
 `ydotool click 0xC1`
 
-- Input Alt+F4:
+- Input `<Alt F4>`:
 
 `ydotool key 56:1 62:1 62:0 56:0`

+ 7 - 7
pages/linux/yetris.md

@@ -9,28 +9,28 @@
 
 - Navigate the piece horizontally:
 
-`{{Left|Right arrow key}}`
+`{{<ArrowLeft>|<ArrowRight>}}`
 
 - Rotate the piece clockwise or counterclockwise:
 
-`{{x|z}}`
+`{{<x>|<z>}}`
 
 - Hold a piece (only one allowed at a time):
 
-`c`
+`<c>`
 
 - Soft drop the piece:
 
-`<Down arrow key>`
+`<ArrowDown>`
 
 - Hard drop the piece:
 
-`<Spacebar>`
+`<Space>`
 
 - Pause/unpause the game:
 
-`p`
+`<p>`
 
 - Quit the game:
 
-`q`
+`<q>`

+ 6 - 6
pages/linux/zathura.md

@@ -10,24 +10,24 @@
 
 - Navigate left/up/down/right:
 
-`{{H|J|K|L|arrow keys}}`
+`{{<h>|<j>|<k>|<l>|<ArrowKeys>}}`
 
 - Rotate:
 
-`r`
+`<r>`
 
 - Invert Colors:
 
-`<Ctrl> + R`
+`<Ctrl r>`
 
 - Search for text by a given string:
 
-`/{{string}}`
+`</>{{string}}`
 
 - Create/delete bookmarks:
 
-`:{{bmark|bdelete}} {{bookmark_name}}`
+`<:>{{bmark|bdelete}} {{bookmark_name}}<Enter>`
 
 - List bookmarks:
 
-`:blist`
+`<:>blist<Enter>`

+ 3 - 3
pages/linux/zile.md

@@ -13,11 +13,11 @@
 
 - Save a file:
 
-`<Ctrl> + X, <Ctrl> + S`
+`<Ctrl x><Ctrl s>`
 
 - Quit:
 
-`<Ctrl> + X, <Ctrl> + C`
+`<Ctrl x><Ctrl c>`
 
 - Open a file at a specified line number:
 
@@ -25,4 +25,4 @@
 
 - Undo changes:
 
-`<Ctrl> + X, U`
+`<Ctrl x><u>`