Merge pull request #1 from bentiss/master

Add Readme and the policy file required
This commit is contained in:
David Herrmann
2015-10-15 11:01:52 +02:00
3 changed files with 38 additions and 0 deletions

0
README
View File

24
README.md Normal file
View File

@@ -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: [...]

View File

@@ -0,0 +1,14 @@
<?xml version="1.0"?> <!--*-nxml-*-->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.ratbag1"/>
<allow send_destination="org.freedesktop.ratbag1"/>
<allow receive_sender="org.freedesktop.ratbag1"/>
</policy>
</busconfig>