From 01c4497b4f2e324229fcdafecde212375aec487a Mon Sep 17 00:00:00 2001 From: Florian B Date: Fri, 16 Apr 2021 20:46:38 +0200 Subject: [PATCH] dex: add page (#5752) --- pages/linux/dex.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/dex.md diff --git a/pages/linux/dex.md b/pages/linux/dex.md new file mode 100644 index 000000000..2cf6fde3a --- /dev/null +++ b/pages/linux/dex.md @@ -0,0 +1,32 @@ +# dex + +> DesktopEntry Execution is a program to generate and execute DesktopEntry files of the Application type. +> More information: . + +- Execute all programs in the autostart folders: + +`dex --autostart` + +- Execute all programs in the specified folders: + +`dex --autostart --search-paths {{path/to/directory1}}:{{path/to/directory2}}:{{path/to/directory3}}:` + +- Preview the programs would be executed in a GNOME specific autostart: + +`dex --autostart --environment {{GNOME}}` + +- Preview the programs would be executed in a regular autostart: + +`dex --autostart --dry-run` + +- Preview the value of the DesktopEntry property `Name`: + +`dex --property {{Name}} {{path/to/file.desktop}}` + +- Create a DesktopEntry for a program in the current directory: + +`dex --create {{path/to/file.desktop}}` + +- Execute a single program (with `Terminal=true` in the desktop file) in the given terminal: + +`dex --term {{terminal}} {{path/to/file.desktop}}`