dex

DesktopEntry Execution is a program to generate and execute DesktopEntry files of the Application type.

TLDR

Execute all programs in the autostart folders

$ dex --autostart
copy

Execute all programs in the specified folders

$ dex --autostart --search-paths [path/to/directory1]:[path/to/directory2]:[path/to/directory3]:
copy

Preview the programs would be executed in a GNOME specific autostart

$ dex --autostart --environment [GNOME]
copy

Preview the programs would be executed in a regular autostart

$ dex --autostart --dry-run
copy

Preview the value of the DesktopEntry property Name

$ dex --property [Name] [path/to/file.desktop]
copy

Create a DesktopEntry for a program in the current directory

$ dex --create [path/to/file.desktop]
copy

Execute a single program (with Terminal=true in the desktop file) in the given terminal

$ dex --term [terminal] [path/to/file.desktop]
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies