Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-01 00:22:00 +00:00
parent 8b234c18b9
commit 2b9882f70a
12 changed files with 89 additions and 10 deletions

21
tldr/linux/kinfocenter Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# kinfocenter
> KDE information center to show system information.
> More information: <https://manned.org/kinfocenter>.
- Open the GUI:
`kinfocenter`
- List all possible KCM modules for `kinfocenter`:
`kinfocenter --list`
- Display help:
`kinfocenter {{[-h|--help]}}`

17
tldr/linux/krdpserver Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# krdpserver
> Start an RDP server.
> More information: <https://invent.kde.org/plasma/krdp#running-the-example-server>.
- Start an RDP server with a username and password:
`krdpserver {{[-u|--username]}} {{user_name}} {{[-p|--password]}} {{password}}`
- Share a specific monitor marked by its index:
`krdpserver {{[-u|--username]}} {{user_name}} {{[-p|--password]}} {{password}} --monitor {{n}}`

View File

@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
- Display help:
`kscreen-console --help`
`kscreen-console {{[-h|--help]}}`
- Display help including Qt specific command-line options:

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show display output information:
`kscreen-doctor --outputs`
`kscreen-doctor {{[-o|--outputs]}}`
- Set the rotation of a display output with an ID of 1 to the right:

21
tldr/linux/systemsettings Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemsettings
> KDE central settings program.
> More information: <https://manned.org/systemsettings>.
- Open the settings GUI:
`systemsettings`
- List all possible KCM modules for `systemsettings`:
`systemsettings --list`
- Display help:
`systemsettings {{[-h|--help]}}`

12
tldr/netexec Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# netexec
> This command is an alias of `nxc`.
- View documentation for the original command:
`tldr nxc`

View File

@@ -11,8 +11,8 @@ source: https://github.com/tldr-pages/tldr.git
- Build a Nix expression:
`nix-build '<nixpkgs>' --attr {{firefox}}`
`nix-build '<nixpkgs>' {{[-A|--attr]}} {{firefox}}`
- Build a sandboxed Nix expression (on non-NixOS):
`nix-build '<nixpkgs>' --attr {{firefox}} --option sandbox true`
`nix-build '<nixpkgs>' {{[-A|--attr]}} {{firefox}} --option sandbox true`

View File

@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
- Delete all store paths unused by current generations of each profile:
`sudo nix-collect-garbage --delete-old`
`sudo nix-collect-garbage {{[-d|--delete-old]}}`
- Simulate the deletion of old store paths:
`sudo nix-collect-garbage --delete-old --dry-run`
`sudo nix-collect-garbage {{[-d|--delete-old]}} --dry-run`
- Delete all store paths older than 30 days:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# base64
> Encode or decode file or `stdin` to/from base64, to `stdout` or another file.
> More information: <https://keith.github.io/xcode-man-pages/base64.1.html>.
> More information: <https://keith.github.io/xcode-man-pages/bintrans.1>.
- Encode a file to `stdout`:

View File

@@ -14,8 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Capture a screenshot of the active window:
`spectacle --activewindow`
`spectacle {{[-a|--activewindow]}}`
- Capture a screenshot of a specific region:
`spectacle --region`
`spectacle {{[-r|--region]}}`
- Start another Spectacle instance so that you can screenshot Spectacle itself:
`spectacle {{[-i|--new-instance]}}`

View File

@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
- List the allowed (and forbidden) commands for the invoking user:
`sudo {{[-l|--list]}}`
`sudo {{[-ll|--list --list]}}`

View File

@@ -19,3 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Send raw text:
`wormhole send`
- Send a file with a custom code phrase:
`wormhole send --code {{custom_code}} {{path/to/file}}`