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 π--actionACTION β 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 πββοΈ-cPATH,--createPATH β 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.desktopfile extension.-d,--dry-runβ dry run, so likeβ¦ don't execute any command. window shopping only ποΈ-eENVIRONMENT,--environmentENVIRONMENT β specify which Desktop Environment an autostart should be performed for. pspsps, this only works in combination with--autostartβ οΈ-pPROPERTY,--propertyPROPERTY β 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? onlyNameandExecare supported, sorry babes π-sSEARCHPATHS,--search-pathsSEARCHPATHS β a colon separated list of paths to search for desktop files, which overrides the default search list π-tDIRECTORY,--target-directoryDIRECTORY β create files in target directory π--termTERM β the terminal emulator that'll be used to run the program ifTerminal=trueis set in the desktop file. defaults tox-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
- ubuntu resolute: dex 0.10.1-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: dex 0.10.1-1build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms