From 4402fb0e6d4c5823ccf5111b77ac9ed9b771eebc Mon Sep 17 00:00:00 2001 From: Gonzalo Contreras Aso <61254163+goznalo-git@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:44:53 +0200 Subject: [PATCH] xdg-open: add page (#5516) --- pages.es/linux/xdg-open.md | 24 ++++++++++++++++++++++++ pages/linux/xdg-open.md | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 pages.es/linux/xdg-open.md create mode 100644 pages/linux/xdg-open.md diff --git a/pages.es/linux/xdg-open.md b/pages.es/linux/xdg-open.md new file mode 100644 index 000000000..785e6f913 --- /dev/null +++ b/pages.es/linux/xdg-open.md @@ -0,0 +1,24 @@ +# xdg-open + +> Abre un archivo o URL en la aplicación predeterminada del usuario. +> Más información: . + +- Abre el directorio actual en el explorador de archivos predeterminado: + +`xdg-open .` + +- Abre una URL en el navegador predeterminado: + +`xdg-open {{https://www.ejemplo.es}}` + +- Abre una image en el visor de imágenes predeterminado: + +`xdg-open {{ruta/al/imagen}}` + +- Abre un PDF en el visor de PDF predeterminado: + +`xdg-open {{ruta/al/pdf}}` + +- Muestra la ayuda: + +`xdg-open --help` diff --git a/pages/linux/xdg-open.md b/pages/linux/xdg-open.md new file mode 100644 index 000000000..a7ad4df9c --- /dev/null +++ b/pages/linux/xdg-open.md @@ -0,0 +1,24 @@ +# xdg-open + +> Opens a file or URL in the user's preferred application. +> More information: . + +- Open the current directory in the default file explorer: + +`xdg-open .` + +- Open an URL in the default browser: + +`xdg-open {{https://example.com}}` + +- Open an image in the default image viewer: + +`xdg-open {{path/to/image}}` + +- Open a PDF in the default PDF viewer: + +`xdg-open {{path/to/pdf}}` + +- Display help: + +`xdg-open --help`