summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-05-20 10:54:14 +0200
committerEugen Wissner <belka@caraus.de>2024-05-20 10:54:14 +0200
commit81232f61046f3c571efea335f52680d6a603c8d7 (patch)
tree6a489bd061c6a44818531ee68dd58f6d628fbd64
parent328c22c409fdecf98053a1d42153c7d640d022e4 (diff)
downloadslack-timedate-81232f61046f3c571efea335f52680d6a603c8d7.tar.gz
Add debugging information to the README
-rw-r--r--README38
1 files changed, 31 insertions, 7 deletions
diff --git a/README b/README
index 8bc42f1..bcfffae 100644
--- a/README
+++ b/README
@@ -1,5 +1,4 @@
-slack-timedate
-==============
+# slack-timedate
This program implements timedated1 interface from systemd what is
required by GNOME Control Center for now.
@@ -7,9 +6,34 @@ slack-timedate's purpose is to make it possible to enjoy full GNOME
functionality on Slackware Linux which doesn't use systemd as its
init-system.
+## Installation
-============
-Dependencies
-============
-glib
-dbus
+```
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc
+make -C build
+make -C build install
+```
+
+The installation will create a file `build/install_manifest.txt`, which
+contains a list of all files installed in the system. To uninstall the
+application those should be removed, for example by doing:
+
+```
+xargs rm < build/install_manifest.txt
+```
+
+## Debugging
+
+Firstly an application is required that changes the time settings over the
+timedate1 service. It can be `gnome-control-center` or `kcmshell5 kcm_clock`
+for KDE.
+
+Then running `dbus-monitor --system` as root can be used to see the
+communication between the control center and this service.
+
+## Dependencies
+
+- glib
+- dbus