DEX(1)

✨ NAME ✨

dex β€” DesktopEntry Execution πŸ’… (that's the dex section of the manual, bestie)


🌸 SYNOPSIS 🌸

dex [options] [DesktopEntryFile]...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so dex β€” short for DesktopEntry Execution β€” is literally a program that generates and executes DesktopEntry files of the Application type. that's it, that's the whole vibe. no cap. πŸŽ€


✨ OPTIONS ✨

  • -h, --help β€” shows you this help message and then dips πŸ‘‹
  • --action ACTION β€” the identifier of an "additional application action" you wanna operate on. you might know these as a quicklist/jumplist entry, iykyk πŸ’…
  • -a, --autostart β€” autostart programs, babe. go go go πŸƒβ€β™€οΈ
  • -c PATH, --create PATH β€” creates a DesktopEntry file for the program sitting at the given path 🫢. there's an optional second argument that specifies the filename of the created DesktopEntry file β€” or you can pass the filename - to print the file to stdout instead. by default, a new file gets created with the .desktop file extension.
  • -d, --dry-run β€” dry run, so like… don't execute any command. window shopping only πŸ›οΈ
  • -e ENVIRONMENT, --environment ENVIRONMENT β€” specify which Desktop Environment an autostart should be performed for. pspsps, this only works in combination with --autostart ⚠️
  • -p PROPERTY, --property PROPERTY β€” displays a DesktopEntry property value. the supported properties are: Type, Version, Name, NoDisplay, Hidden, OnlyShowIn, NotShowIn, TryExec, Exec, Path, Terminal, Actions, StartupNotify, StartupWMClass, URL. and for ACTIONs? only Name and Exec are supported, sorry babes πŸ’€
  • -s SEARCHPATHS, --search-paths SEARCHPATHS β€” a colon separated list of paths to search for desktop files, which overrides the default search list 🌈
  • -t DIRECTORY, --target-directory DIRECTORY β€” create files in target directory πŸ“
  • --term TERM β€” the terminal emulator that'll be used to run the program if Terminal=true is set in the desktop file. defaults to x-terminal-emulator πŸ–₯️
  • -w, --wait β€” block until the program exits. sit there. wait. patience is a virtue fr fr ⏳
  • --test β€” perform a self-test πŸ§ͺ
  • -v, --verbose β€” verbose output, so you get all the tea β˜•
  • -V, --version β€” display version information πŸ‘‘

πŸŽ€ EXAMPLES πŸŽ€

Perform an autostart/execute all programs in the autostart folders.

dex -a

Perform an autostart/execute all programs in the specified folders.

dex -a -s /etc/xdg/autostart/:~/.config/autostart/

Preview the programs would be executed in a regular autostart.

dex -ad

Preview the programs would be executed in a GNOME specific autostart.

dex -ad -e GNOME

Preview the value of DesktopEntry property Name.

dex -p Name htop.desktop

Create a DesktopEntry for a program in the current directory.

dex -c /usr/bin/skype

Create a DesktopEntry for a programs in autostart directory.

dex -t ~/.config/autostart -c /usr/bin/skype /usr/bin/nm-applet

Execute a single program from command line and enable verbose output.

dex -v skype.desktop

Execute a single program (with Terminal=true in the desktop file) in gnome-terminal.

dex --term gnome-terminal nvim.desktop

Execute a single program and block until it exits.

dex --wait nvim.desktop

Execute a specifified application action.

dex --action new-private-window firefox.desktop

πŸ‘‘ Author πŸ‘‘

big love and credit to Jan Christoph Ebersbach and Johannes LΓΆthberg β€” the icons who made this πŸ’–


aaaand that's a wrap bestie 🫢 this was dex-0.10.1, dated Jan 16, 2026. slay, go autostart something iconic βœ¨πŸŒΈπŸ’…

πŸ“¦ where this page comes from