Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/linux/xdg-settings Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# xdg-settings
> Manage settings of XDG-compatible desktop environments.
> More information: <https://portland.freedesktop.org/doc/xdg-settings.html>.
- Print the default web browser:
`xdg-settings get {{default-web-browser}}`
- Set the default web browser to Firefox:
`xdg-settings set {{default-web-browser}} {{firefox.desktop}}`
- Set the default mail URL scheme handler to Evolution:
`xdg-settings set {{default-url-scheme-handler}} {{mailto}} {{evolution.desktop}}`
- Set the default PDF document viewer:
`xdg-settings set {{pdf-viewer.desktop}}`
- Display help:
`xdg-settings --help`