From 02dcf2e8d8b1329cf74c685e32eaf6606903db6c Mon Sep 17 00:00:00 2001 From: Marco Rebhan Date: Tue, 5 Oct 2021 01:36:47 +0200 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 83823e3..0dc1b2c 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,28 @@ 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 -- 2.45.2