From 45b90e44c616b3e484cdc379e33d002a2d6f3e64 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 30 Apr 2014 12:21:07 +1200 Subject: Merged installation instructions into readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c2800b9..66f89a1 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,27 @@ What? ===== This is a fork of trayfreq which is intended to work on modern Archlinux systems (it'll probably work on other systems too). + + + +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. -- cgit v1.1