From 81008be9f9f774c5b3af824b0071b86d69efcc67 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Mon, 3 Oct 2016 05:51:44 +0300 Subject: [PATCH] Add extended notes about installation/removal and applying configuration on login --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ee1ad4b..c420a36 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,13 @@ Contributors to this version of autorandr are: * andersonjacob * Simon Wydooghe +## Installation/removal +For Debian-based distributives (including Ubuntu) it is recommended to call `make deb` to obtain package that can be afterwards installed and removed with `dpkg`. + +On other distributives you can install autorandr by calling `make install` and remove by calling `make uninstall`. + +If you can contribute packaging script for other distributives, we will appreciate it. + ## How to use Save your current display configuration and setup with: @@ -99,4 +106,7 @@ the script names themselves, any executables in subdirectories named autorandr's state is exposed as environment variables prefixed with `AUTORANDR_`. The most useful one is `$AUTORANDR_CURRENT_PROFILE`. -To install autorandr call `make install`. +## Apply configuration on login +With recent version you typically do not need to add autorandr to `~/.xprofile`, since autostart config file will be added at `/etc/xdg/autostart/autorandr.desktop`. It will select appropriate profile automatically. + +However, if you need to customize this, you can always disable or modify it by placing alternative desktop file in `~/.config/autostart` or using GUI like `gnome-session-properties`. -- 2.39.2