2021-04-16 20:46:38 +02:00
|
|
|
# dex
|
|
|
|
|
|
|
|
> DesktopEntry Execution is a program to generate and execute DesktopEntry files of the Application type.
|
|
|
|
> More information: <https://github.com/jceb/dex>.
|
|
|
|
|
|
|
|
- Execute all programs in the autostart folders:
|
|
|
|
|
2025-04-25 04:34:04 +03:00
|
|
|
`dex {{[-a|--autostart]}}`
|
2021-04-16 20:46:38 +02:00
|
|
|
|
|
|
|
- Execute all programs in the specified folders:
|
|
|
|
|
2025-04-25 04:34:04 +03:00
|
|
|
`dex {{[-a|--autostart]} {{[-s|--search-paths]}} {{path/to/directory1}}:{{path/to/directory2}}:{{path/to/directory3}}:`
|
2021-04-16 20:46:38 +02:00
|
|
|
|
|
|
|
- Preview the programs would be executed in a GNOME specific autostart:
|
|
|
|
|
2025-04-25 04:34:04 +03:00
|
|
|
`dex {{[-a|--autostart]} {{[-e|--environment]}} {{GNOME}}`
|
2021-04-16 20:46:38 +02:00
|
|
|
|
|
|
|
- Preview the programs would be executed in a regular autostart:
|
|
|
|
|
2025-04-25 04:34:04 +03:00
|
|
|
`dex {{[-a|--autostart]} {{[-d|--dry-run]}}`
|
2021-04-16 20:46:38 +02:00
|
|
|
|
|
|
|
- Preview the value of the DesktopEntry property `Name`:
|
|
|
|
|
2025-04-25 04:34:04 +03:00
|
|
|
`dex {{[-p|--property]}} {{Name}} {{path/to/file.desktop}}`
|
2021-04-16 20:46:38 +02:00
|
|
|
|
|
|
|
- Create a DesktopEntry for a program in the current directory:
|
|
|
|
|
2025-04-25 04:34:04 +03:00
|
|
|
`dex {{[-c|--create]}} {{path/to/file.desktop}}`
|
2021-04-16 20:46:38 +02:00
|
|
|
|
|
|
|
- Execute a single program (with `Terminal=true` in the desktop file) in the given terminal:
|
|
|
|
|
|
|
|
`dex --term {{terminal}} {{path/to/file.desktop}}`
|