~dblsaiko/desktoputils

Utilities to handle Desktop Entry (.desktop) files
Add some MIME parsing stuff for HTTP(S) and local files
Add formatter git commit hook

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~dblsaiko/desktoputils
read/write
git@git.sr.ht:~dblsaiko/desktoputils

You can also use your local clone with git send-email.

#desktoputils

Right now, desktoputils provides rundesktop, a command-line tool to open a set of files in an application specified in a .desktop file.

#Configuration

desktoputils can be customized with a configuration file which currently supports the following settings:

[General]

# Determines where desktoputils takes the user's preferred terminal from.
# - Internal: use the Terminal setting below
# - KDE: (if compiled with KDE support) read from KDE settings
Terminal Provider=Internal

# When Terminal Provider is set to Internal, this is the terminal to launch
# applications in that have Terminal=true set in their desktop files.
Terminal=xterm

The configuration file gets loaded from ~/.config/desktoputilsrc and /etc/xdg/desktoputilsrc, whichever exists, in that order.

#Dependencies

  • cmake 3.16 or greater
  • extra-cmake-modules 5.86.0 or greater
  • glib
  • (optional) KF5Config 5.86.0 or greater, for reading KDE terminal settings