A command-line tool for editing Linux .desktop files in the user's home directory.
- Edit .desktop files in
~/.local/share/applications/ - Automatically copy system .desktop files from
/usr/share/applications/when needed - Support for multiple editing modes
- Shell completion for bash and zsh
./install.shThe script will:
- Install
editdtto~/.local/bin/ - Set up shell completion for bash and zsh
- Add
~/.local/binto PATH if needed
editdt [OPTIONS] <app-name>-a- Edit both HOME and ROOT desktop files-c- Copy ROOT desktop file to HOME and edit (fails if already exists in HOME)-e- Edit existing HOME desktop file only (fails if not in HOME)-n- Create new desktop file in HOME-h- Show help message
# Copy system firefox.desktop to HOME and edit
editdt -c firefox
# Edit existing HOME desktop file
editdt -e firefox
# Create new desktop file
editdt -n myapp./uninstall.sh- Text editor (vim or nano, or set
$EDITORenvironment variable)