Update cheatsheets

This commit is contained in:
ivuorinen
2024-08-28 00:15:37 +00:00
parent 4f0d9efa90
commit 498596c46b
6 changed files with 119 additions and 9 deletions

22
tldr/linux/cjxl Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# cjxl
> Compress images to JPEG XL.
> Accepted input extensions are PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX, and JXL.
> More information: <https://github.com/libjxl/libjxl>.
- Convert an image to JPEG XL:
`cjxl {{path/to/image.ext}} {{path/to/output.jxl}}`
- Set quality to lossless and maximize compression of the resulting image:
`cjxl --distance 0 --effort 9 {{path/to/image.ext}} {{path/to/output.jxl}}`
- Display an extremely detailed help page:
`cjxl --help --verbose --verbose --verbose --verbose`

18
tldr/linux/djxl Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# djxl
> Decompress JPEG XL images.
> Accepted output extensions are PNG, APNG, JPEG, EXR, PGM, PPM, PNM, PFM, PAM, EXIF, XMP and JUMBF.
> More information: <https://github.com/libjxl/libjxl>.
- Decompress a JPEG XL image to another format:
`djxl {{path/to/image.jxl}} {{path/to/output.ext}}`
- Display an extremely detailed help page:
`djxl --help --verbose --verbose --verbose --verbose`

View File

@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
- Run an installed application:
`flatpak run {{name}}`
`flatpak run {{com.example.app}}`
- Install an application from a remote source:
`flatpak install {{remote}} {{name}}`
`flatpak install {{remote_name}} {{com.example.app}}`
- List installed applications, ignoring runtimes:
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
- Remove an installed application:
`flatpak remove {{name}}`
`flatpak remove {{com.example.app}}`
- Remove all unused applications:
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
- Show information about an installed application:
`flatpak info {{name}}`
`flatpak info {{com.example.app}}`

21
tldr/linux/flatpak-run Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# flatpak run
> Run flatpak applications and runtimes.
> More information: <https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-run>.
- Run an installed application:
`flatpak run {{com.example.app}}`
- Run an installed application from a specific branch e.g. stable, beta, master:
`flatpak run --branch={{stable|beta|master|...}} {{com.example.app}}`
- Run an interactive shell inside a flatpak:
`flatpak run --command={{sh}} {{com.example.app}}`