aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-04-27 19:56:55 +1200
committerDavid <dbphillipsnz@gmail.com>2014-04-27 19:56:55 +1200
commit86b27fa02d16a0d906edcadce6b009e1402c56f8 (patch)
treef079fbca4bb3e32301e9c9f4f185d48f35fdf8cc
parentf430e94a85b5907a10c67fee73136b88d73f04be (diff)
downloadparamano-86b27fa02d16a0d906edcadce6b009e1402c56f8.tar.xz
Added installtion doc
-rw-r--r--INSTALLATION.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/INSTALLATION.md b/INSTALLATION.md
new file mode 100644
index 0000000..175d39e
--- /dev/null
+++ b/INSTALLATION.md
@@ -0,0 +1,21 @@
+Installation
+============
+The basic installation's standard:
+
+make install
+
+----------------------------------
+
+Autostarting
+------------
+`make install` will copy a .desktop file over to /etc/xdg/autostart, meaning that all xdg-compliant window managers should start it automatically when you log in.
+As far as I am aware, they start trayfreq as root, thus it is fully able to change the governor.
+
+Personally, I use a non-xdg-compliant WM (dwm) so trayfreq needs to be run with sudo in my xinitrc.
+To avoid having to enter my password each time the xinitrc is run, I added this rule to my `/etc/sudoers`:
+
+ # ... (/etc/sudoers
+ david ALL = NOPASSWD: /usr/bin/trayfreq
+ # ...
+
+Simple.