LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dex

DesktopEntry execution for XDG autostart programs

TLDR

Execute all programs in autostart folders
$ dex -a
copy
Execute in specified folders
$ dex -a -s [path/to/dir1]:[path/to/dir2]
copy
Preview GNOME-specific autostart
$ dex -a -e GNOME
copy
Preview regular autostart (dry run)
$ dex -a -d
copy
Preview desktop entry property
$ dex -p Name [path/to/file.desktop]
copy
Create a desktop entry for an executable
$ dex -c [/usr/bin/program]
copy
Execute in specific terminal
$ dex --term [terminal] [path/to/file.desktop]
copy

SYNOPSIS

dex [options] [files]

DESCRIPTION

dex (DesktopEntry Execution) generates and executes .desktop files. It's commonly used to run XDG autostart programs or launch applications from their desktop entries.Useful for window managers that don't have built-in autostart support.

PARAMETERS

-a, --autostart

Run programs in autostart directories
-s, --search-paths paths
Colon-separated search paths
-e, --environment env
Filter by desktop environment
-d, --dry-run
Preview without executing
-c, --create file
Create a desktop entry
-p, --property name
Show property value
--term terminal
Terminal to use for Terminal=true entries

INSTALL

sudo pacman -S dex
copy
sudo apk add dex
copy
sudo zypper install dex
copy
brew install dex
copy
nix profile install nixpkgs#dex
copy

CAVEATS

Desktop entries must comply with XDG specification. Some entries may require specific desktop environments. Autostart directories default to `~/.config/autostart` and `/etc/xdg/autostart`.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid