From 17f0fc41d1934a0cf70fb589e70961ebb208630e Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Wed, 14 Oct 2015 11:34:27 -0400 Subject: [PATCH] Add Readme and the policy file required Or running ratbagd (as root) raises a "Permission denied". Signed-off-by: Benjamin Tissoires --- README | 0 README.md | 24 ++++++++++++++++++++++++ dbus/org.freedesktop.ratbag1.conf | 14 ++++++++++++++ 3 files changed, 38 insertions(+) delete mode 100644 README create mode 100644 README.md create mode 100644 dbus/org.freedesktop.ratbag1.conf diff --git a/README b/README deleted file mode 100644 index e69de29b..00000000 diff --git a/README.md b/README.md new file mode 100644 index 00000000..680167b4 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +ratbagd +======= + +ratbagd is a system daemon to introspect and modify configurable mice. + +Running ratbagd +--------------- + +To be able to run ratbagd, you need to add a policy file to your dbus +environment: + + sudo cp dbus/org.freedesktop.ratbag1.conf /etc/dbus-1/system.d/org.freedesktop.ratbag1.conf + +License +------- + +libratbag is licensed under the MIT license. + +> Permission is hereby granted, free of charge, to any person obtaining a +> copy of this software and associated documentation files (the "Software"), +> to deal in the Software without restriction, including without limitation +> the rights to use, copy, modify, merge, publish, distribute, sublicense, +> and/or sell copies of the Software, and to permit persons to whom the +> Software is furnished to do so, subject to the following conditions: [...] diff --git a/dbus/org.freedesktop.ratbag1.conf b/dbus/org.freedesktop.ratbag1.conf new file mode 100644 index 00000000..cd7b8843 --- /dev/null +++ b/dbus/org.freedesktop.ratbag1.conf @@ -0,0 +1,14 @@ + + + + + + + + + + + +