Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-29 00:20:46 +00:00
parent b758660fa5
commit 44de08faea
28 changed files with 364 additions and 37 deletions

View File

@@ -16,9 +16,9 @@ source: https://github.com/tldr-pages/tldr.git
`sudo debootstrap --variant=minbase stable {{path/to/debian-root}}/`
- Create an Ubuntu 20.04 system inside the `focal-root` directory with a local mirror:
- Create a Debian Unstable system inside the `sid-root` directory with a local mirror:
`sudo debootstrap focal {{path/to/focal-root}}/ {{file:///path/to/mirror/}}`
`sudo debootstrap sid {{path/to/sid-root}}/ {{file:///path/to/mirror/}}`
- Switch to a bootstrapped system:

29
tldr/linux/mhwd-gpu Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# mhwd-gpu
> Configure graphics cards in Manjaro.
> More information: <https://wiki.manjaro.org/index.php/Configure_NVIDIA_(non-free)_settings_and_load_them_on_Startup/en#Configure_The_Resolution.2FRefresh_Rate>.
- Show current Xorg configuration path:
`mhwd-gpu --status`
- Check if Xorg configuration has a valid symlink:
`mhwd-gpu --check`
- Set a custom Xorg configuration for an Nvidia GPU:
`sudo mhwd-gpu --setmod nvidia --setxorg /{{path/to/nvidia.conf}}`
- Set a custom Xorg configuration for an AMD GPU:
`sudo mhwd-gpu --setmod {{catalyst|ati}} --setxorg /{{path/to/amdgpu.conf}}`
- Display help:
`mhwd-gpu --help`

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Use a specific operating system:
`tmt try {{fedora-41}}`
`tmt try {{rhel-9}}`
- Select both custom image and provision method:

View File

@@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git
- Create a `toolbox` container from a custom Fedora image:
`toolbox create {{[-i|--image]}} {{registry.fedoraproject.org/fedora-toolbox:39}}`
`toolbox create {{[-i|--image]}} {{quay.io/fedora/fedora:tag}}`
- Create a `toolbox` container using the default image for Fedora 39:
- Create a `toolbox` container using the default image for a specific Fedora release:
`toolbox create {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`
`toolbox create {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} f{{version}}`

View File

@@ -17,6 +17,6 @@ source: https://github.com/tldr-pages/tldr.git
`toolbox enter {{[-r|--release]}} {{release}}`
- Enter a toolbox container using the default image for Fedora 39:
- Enter a toolbox container using the default image for a specific Fedora release:
`toolbox enter {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`
`toolbox enter {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} f{{version}}`

View File

@@ -17,6 +17,6 @@ source: https://github.com/tldr-pages/tldr.git
`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}`
- Run `emacs` inside a `toolbox` container using the default image for Fedora 39:
- Run `emacs` inside a `toolbox` container using the default image for a specific Fedora release:
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}} {{emacs}}`
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} f{{version}} {{emacs}}`