]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/log
deb_pkgs/autorandr.git
6 years agoautorandr 1.2 1.2
Phillip Berndt [Fri, 13 Oct 2017 12:42:12 +0000 (14:42 +0200)]
autorandr 1.2

6 years agoMinor cleanup in virtual profile description output
Phillip Berndt [Fri, 13 Oct 2017 12:25:01 +0000 (14:25 +0200)]
Minor cleanup in virtual profile description output

6 years agoUpdate authors and changelog
Phillip Berndt [Fri, 13 Oct 2017 12:24:43 +0000 (14:24 +0200)]
Update authors and changelog

6 years agoPrevious name was confusing
Adrian Lopez [Fri, 13 Oct 2017 11:49:06 +0000 (13:49 +0200)]
Previous name was confusing

6 years agoCenter small screen in the middle of the physical screen
Adrian Lopez [Thu, 12 Oct 2017 12:51:15 +0000 (14:51 +0200)]
Center small screen in the middle of the physical screen

Also use transform instead of scale to fix error when scaling.

6 years agoRespect aspect ratio
Adrian Lopez [Thu, 12 Oct 2017 12:24:09 +0000 (14:24 +0200)]
Respect aspect ratio

6 years agoSelect the biggest area screen
Adrian Lopez [Thu, 12 Oct 2017 11:51:54 +0000 (13:51 +0200)]
Select the biggest area screen

6 years agoNew virtual profile to clone biggest screen
Adrian Lopez [Thu, 12 Oct 2017 11:31:54 +0000 (13:31 +0200)]
New virtual profile to clone biggest screen

This option set the biggest monitor with it preferred configuration and
scale the others monitors to show it completely

6 years agoMerge pull request #77 from t0fik/fedora25_plus_compability
Phillip Berndt [Mon, 9 Oct 2017 12:24:12 +0000 (14:24 +0200)]
Merge pull request #77 from t0fik/fedora25_plus_compability

Removed pm-utils on fedora22+ from requisites

6 years agoRemoved pm-utils on fedora22+ from requisites
Jerzy Drozdz [Sun, 1 Oct 2017 16:14:28 +0000 (18:14 +0200)]
Removed pm-utils on fedora22+ from requisites

6 years agoMerge pull request #76 from t0fik/add_redhat_spec
Phillip Berndt [Sat, 30 Sep 2017 18:13:59 +0000 (20:13 +0200)]
Merge pull request #76 from t0fik/add_redhat_spec

Added RedHat compatible spec file

6 years agoAdded RedHat compatible spec file
Jerzy Drozdz [Sat, 2 Sep 2017 23:06:29 +0000 (01:06 +0200)]
Added RedHat compatible spec file

6 years agoMerge pull request #74 from nmschulte/use-completionsdir-for-bash-completion
Phillip Berndt [Sat, 12 Aug 2017 12:11:36 +0000 (14:11 +0200)]
Merge pull request #74 from nmschulte/use-completionsdir-for-bash-completion

Use pkg-config for bash-completion installation

6 years agoMerge pull request #75 from nmschulte/contrib-in-readme
Phillip Berndt [Sat, 12 Aug 2017 12:09:51 +0000 (14:09 +0200)]
Merge pull request #75 from nmschulte/contrib-in-readme

Discuss contributions in README

6 years agodiscuss contributions in README
Nathan Schulte [Sat, 12 Aug 2017 04:23:30 +0000 (23:23 -0500)]
discuss contributions in README

6 years agocleanup bash-completion build logic
Nathan Schulte [Sat, 12 Aug 2017 03:58:11 +0000 (22:58 -0500)]
cleanup bash-completion build logic

6 years agouse pkg-config for bash-completion completions dir
Nathan Schulte [Sat, 12 Aug 2017 03:51:59 +0000 (22:51 -0500)]
use pkg-config for bash-completion completions dir

6 years agoMerge pull request #73 from adbrucker/master
Phillip Berndt [Fri, 11 Aug 2017 06:52:21 +0000 (08:52 +0200)]
Merge pull request #73 from adbrucker/master

Bug fix: ensure that the Debian control directory has permissions 0755.

6 years agoBug fix: ensure that the Debian control directory has permissions 0755.
Achim D. Brucker [Fri, 11 Aug 2017 05:06:39 +0000 (06:06 +0100)]
Bug fix: ensure that the Debian control directory has permissions 0755.

6 years agoautorandr is in pypi now
Phillip Berndt [Mon, 17 Jul 2017 16:02:14 +0000 (18:02 +0200)]
autorandr is in pypi now

6 years agoPossible fix for #72
Phillip Berndt [Sun, 16 Jul 2017 15:02:04 +0000 (17:02 +0200)]
Possible fix for #72

6 years agoSkip --panning 0x0 unless required (See #72)
Phillip Berndt [Sun, 16 Jul 2017 09:09:05 +0000 (11:09 +0200)]
Skip --panning 0x0 unless required (See #72)

6 years agoTag the current code as 1.1 1.1
Phillip Berndt [Wed, 7 Jun 2017 08:31:57 +0000 (10:31 +0200)]
Tag the current code as 1.1

6 years agoCall systemctl with `--no-block` from udev rule (Fixes #61)
Phillip Berndt [Wed, 7 Jun 2017 08:31:01 +0000 (10:31 +0200)]
Call systemctl with `--no-block` from udev rule (Fixes #61)

7 years agopm-utils: Do not write log file by default
Phillip Berndt [Sun, 16 Apr 2017 11:58:09 +0000 (13:58 +0200)]
pm-utils: Do not write log file by default

Fixes #68

7 years agoNote that StartLimitInterval was renamed in systemd-230
Phillip Berndt [Sun, 16 Apr 2017 11:56:55 +0000 (13:56 +0200)]
Note that StartLimitInterval was renamed in systemd-230

Fixes #69.

7 years agoFix changelog order
Phillip Berndt [Sun, 22 Jan 2017 11:57:49 +0000 (12:57 +0100)]
Fix changelog order

7 years agoFix #66: Encode int to str in environ
Phillip Berndt [Sat, 21 Jan 2017 10:55:24 +0000 (11:55 +0100)]
Fix #66: Encode int to str in environ

7 years agoCall autorandr via systemd from udev, remove pmutils script on systemd systems
Phillip Berndt [Fri, 20 Jan 2017 20:41:06 +0000 (21:41 +0100)]
Call autorandr via systemd from udev, remove pmutils script on systemd systems

This merges pull request #62.

7 years agoDo not automatically reload/update daemons from Makefile
Phillip Berndt [Fri, 20 Jan 2017 14:11:07 +0000 (15:11 +0100)]
Do not automatically reload/update daemons from Makefile

Instead, write an info message to the console. See #60. This affects
udev and systemd.

7 years agoProcess --help first, before executing predetect hook
Phillip Berndt [Fri, 20 Jan 2017 13:59:57 +0000 (14:59 +0100)]
Process --help first, before executing predetect hook

7 years agoSet AUTORANDR_BATCH_PID environment variable in batch invocations
Phillip Berndt [Fri, 20 Jan 2017 13:59:43 +0000 (14:59 +0100)]
Set AUTORANDR_BATCH_PID environment variable in batch invocations

7 years agosystemd unit: Rate limit execution
Phillip Berndt [Thu, 24 Nov 2016 16:40:31 +0000 (17:40 +0100)]
systemd unit: Rate limit execution

This prevents the udev rule to run autorandr once per monitor added or
removed, instead of once per change -- this is relevant, e.g., if a
notebook is (dis-)connected to/from a docking station.

7 years agoudev rule: Dynamically call either systemd or autorandr directly depending on whether...
Phillip Berndt [Tue, 22 Nov 2016 09:40:42 +0000 (10:40 +0100)]
udev rule: Dynamically call either systemd or autorandr directly depending on whether systemd unit is available

7 years agoUpdate scripts' PREFIX in Makefile's install targets
Phillip Berndt [Tue, 22 Nov 2016 09:40:06 +0000 (10:40 +0100)]
Update scripts' PREFIX in Makefile's install targets

7 years agoPrefer systemd sleep.target over pmutils
Phillip Berndt [Tue, 22 Nov 2016 09:16:03 +0000 (10:16 +0100)]
Prefer systemd sleep.target over pmutils

7 years agoInvoke the systemd unit from udev, don't install pmutils if systemd is in use
Phillip Berndt [Tue, 15 Nov 2016 18:11:38 +0000 (19:11 +0100)]
Invoke the systemd unit from udev, don't install pmutils if systemd is in use

See bug #61 and pr #60.

7 years agoAdd script hook `predetect`, executed before invoking xrandr to detect the current...
Phillip Berndt [Tue, 15 Nov 2016 14:51:33 +0000 (15:51 +0100)]
Add script hook `predetect`, executed before invoking xrandr to detect the current config

See bug #61

7 years agoAccept comments in config/setup files
Phillip Berndt [Wed, 18 Jan 2017 13:02:05 +0000 (14:02 +0100)]
Accept comments in config/setup files

Comments are lines starting with "#" - in the hope that no screen name
or xrandr option will ever start with a hash sign. Fixes #50.

7 years agoImprove the error message if running a userscript fails (see issue #65)
Phillip Berndt [Sun, 18 Dec 2016 09:54:52 +0000 (10:54 +0100)]
Improve the error message if running a userscript fails (see issue #65)

7 years agoFix --dry-run output
Phillip Berndt [Wed, 14 Dec 2016 12:01:04 +0000 (13:01 +0100)]
Fix --dry-run output

7 years agoImprove error messages: Include file name if the error didn't occur in autorandr.py
Phillip Berndt [Wed, 14 Dec 2016 11:55:08 +0000 (12:55 +0100)]
Improve error messages: Include file name if the error didn't occur in autorandr.py

7 years agoTag the current code as v1.0 -- see github issue #54 1.0 v1.0
Phillip Berndt [Wed, 7 Dec 2016 10:08:15 +0000 (11:08 +0100)]
Tag the current code as v1.0 -- see github issue #54

7 years agoMerge pull request #64 from dschep/master
Phillip Berndt [Wed, 30 Nov 2016 21:18:44 +0000 (22:18 +0100)]
Merge pull request #64 from dschep/master

Add setup.py to allow installation via pip.

7 years agoReworded the pip instructions
Phillip Berndt [Wed, 30 Nov 2016 21:17:28 +0000 (22:17 +0100)]
Reworded the pip instructions

7 years agopip installable!
Daniel Schep [Wed, 30 Nov 2016 01:37:05 +0000 (20:37 -0500)]
pip installable!

7 years agoWrap ifmain code in a function
Phillip Berndt [Wed, 30 Nov 2016 11:48:20 +0000 (12:48 +0100)]
Wrap ifmain code in a function

7 years agobatch mode: Skip all uid < 1000 programs instead of only uid = 0
Phillip Berndt [Wed, 23 Nov 2016 20:25:09 +0000 (21:25 +0100)]
batch mode: Skip all uid < 1000 programs instead of only uid = 0

This fixes bug #63, but might have unexpected side effects. From a
comment in the commit:

> The following line assumes that user accounts start at 1000 and that
> no one works using the root or another system account. This is rather
> restrictive, but de facto default.  Alternatives would be to use the
> UID_MIN from /etc/login.defs or FIRST_UID from /etc/adduser.conf; but
> effectively, both values aren't binding in any way.  If this breaks
> your use case, please file a bug on Github.

7 years agoMerge pull request #59 from RasmusWL/udev-fix-install-path
Phillip Berndt [Sun, 6 Nov 2016 17:18:23 +0000 (18:18 +0100)]
Merge pull request #59 from RasmusWL/udev-fix-install-path

Makefile: fix install path for udev rules

7 years agoMakefile: fix install path for udev rules
Rasmus Wriedt Larsen [Sat, 5 Nov 2016 23:34:58 +0000 (00:34 +0100)]
Makefile: fix install path for udev rules

`pkg-config --variable=udevdir udev` returns the root folder for udev.

7 years agoMakefile: use pkg-config
Daniel Hahler [Fri, 14 Oct 2016 14:38:01 +0000 (16:38 +0200)]
Makefile: use pkg-config

This avoids patching the Makefile in Arch's autorandr-git package [1]
and should help with packaging this in general.

1: https://aur.archlinux.org/packages/autorandr-git/

7 years agoMerge pull request #57 from languitar/languitar-help-grammar
Phillip Berndt [Wed, 5 Oct 2016 18:57:26 +0000 (20:57 +0200)]
Merge pull request #57 from languitar/languitar-help-grammar

Fix grammar in online help

7 years agoFix grammar in online help
Johannes Wienke [Wed, 5 Oct 2016 15:40:04 +0000 (17:40 +0200)]
Fix grammar in online help

Fix a minor grammar error in the online help

7 years agoSupport symlinking profiles
Phillip Berndt [Mon, 3 Oct 2016 16:33:30 +0000 (18:33 +0200)]
Support symlinking profiles

As announced in the readme. This allows to create a symlink

    ln -s horizontal default

in the autorandr configuration directory to allow to use the horizontal
configuration per default without having to change the udev/systemd/etc.
configuration files, which by default pass `--default default`.

7 years agoReadme improvements
Phillip Berndt [Mon, 3 Oct 2016 16:21:19 +0000 (18:21 +0200)]
Readme improvements

7 years agoMerge pull request #56 from nazar-pc/patch-1
Phillip Berndt [Mon, 3 Oct 2016 16:04:24 +0000 (18:04 +0200)]
Merge pull request #56 from nazar-pc/patch-1

Add extended notes about installation/removal and applying configuration on login

7 years agoFix some typos in the readme
Phillip Berndt [Mon, 3 Oct 2016 16:03:55 +0000 (18:03 +0200)]
Fix some typos in the readme

7 years agoAdd extended notes about installation/removal and applying configuration on login
Nazar Mokrynskyi [Mon, 3 Oct 2016 02:51:44 +0000 (05:51 +0300)]
Add extended notes about installation/removal and applying configuration on login

7 years agoAdded @nazar-pc to contributor list
Phillip Berndt [Sun, 2 Oct 2016 19:19:18 +0000 (21:19 +0200)]
Added @nazar-pc to contributor list

7 years agoInstall autostart desktop file by default
Phillip Berndt [Sun, 2 Oct 2016 19:14:47 +0000 (21:14 +0200)]
Install autostart desktop file by default

7 years agoMerge pull request #55 from nazar-pc/autostart_config
Phillip Berndt [Sun, 2 Oct 2016 19:10:19 +0000 (21:10 +0200)]
Merge pull request #55 from nazar-pc/autostart_config

Autostart config added

7 years agoAdd xdg autostart config so that configuration will be applied on login.
Nazar Mokrynskyi [Sat, 1 Oct 2016 02:55:37 +0000 (05:55 +0300)]
Add xdg autostart config so that configuration will be applied on login.
Small fix for files searching.

7 years agoAdded Makefile target to create a deb archive
Phillip Berndt [Mon, 19 Sep 2016 12:32:20 +0000 (14:32 +0200)]
Added Makefile target to create a deb archive

This largely ignores all Debian packaging standards, and simply creates
a Debian package which contains the files that would be installed if the
user typed `sudo make install' on his (Debian) system.

7 years agoIntroduce --batch option to autorandr: Run autorandr for each user with an X11 session
Phillip Berndt [Fri, 16 Sep 2016 14:19:24 +0000 (16:19 +0200)]
Introduce --batch option to autorandr: Run autorandr for each user with an X11 session

This is an attempt to resolve #45 and it might also be a better
alternative to #52, #44 and #39.

7 years agoMerge branch 'austinglaser-pm-util-loginctl-order'
Phillip Berndt [Tue, 30 Aug 2016 09:40:31 +0000 (11:40 +0200)]
Merge branch 'austinglaser-pm-util-loginctl-order'

7 years agoAllow 40autorandr to handle any order fields from loginctl
Austin Glaser [Tue, 30 Aug 2016 04:48:32 +0000 (22:48 -0600)]
Allow 40autorandr to handle any order fields from loginctl

This could be done a great deal more cleanly using bash regex matching;
however, as is stated elsewhere, the script will not always be executed
with bash.

There may be some merit to causing the script to always be executed with
bash (`#! /bin/bash` or even `#! /usr/bin/env bash`), but I'll admit I
don't know how widely installed bash is. I've certainly never found a
modern Linux install without bash, but my experience isn't the widest.

7 years agoFixes in 40autorandr; thanks to @rnav for spotting the issues
Phillip Berndt [Fri, 29 Jul 2016 17:48:06 +0000 (19:48 +0200)]
Fixes in 40autorandr; thanks to @rnav for spotting the issues

7 years agoRemove leftover debug code
Phillip Berndt [Thu, 28 Jul 2016 17:37:13 +0000 (19:37 +0200)]
Remove leftover debug code

7 years agoImprove detection of $DISPLAY session owner
Phillip Berndt [Thu, 28 Jul 2016 17:35:17 +0000 (19:35 +0200)]
Improve detection of $DISPLAY session owner

This closes bug #39.

7 years agoMerge pull request #51 from t0fik/xgd_compliant
Phillip Berndt [Wed, 6 Jul 2016 12:46:49 +0000 (14:46 +0200)]
Merge pull request #51 from t0fik/xgd_compliant

Set default value of $XDG_CONFIG_DIRS to fulfill the standard

7 years agoSet default value of $XDG_CONFIG_DIRS to be standard compliant
Jerzy Drozdz [Tue, 5 Jul 2016 05:34:29 +0000 (07:34 +0200)]
Set default value of $XDG_CONFIG_DIRS to be standard compliant

7 years agoMerge branch 'retry_commands'
Phillip Berndt [Sun, 5 Jun 2016 19:15:37 +0000 (21:15 +0200)]
Merge branch 'retry_commands'

7 years agoudev requires pmutils as well (See issue #45)
Phillip Berndt [Tue, 31 May 2016 13:23:52 +0000 (15:23 +0200)]
udev requires pmutils as well (See issue #45)

7 years agoAdded hint on hooks (related to bug #49)
Phillip Berndt [Tue, 31 May 2016 08:32:21 +0000 (10:32 +0200)]
Added hint on hooks (related to bug #49)

7 years agoAdd URL to error messages.
Phillip Berndt [Tue, 31 May 2016 07:16:44 +0000 (09:16 +0200)]
Add URL to error messages.

Far too many people report bugs for the Python version at
wertarbyte/autorandr.

7 years agoFix systemd detection, closes #48
Phillip Berndt [Mon, 9 May 2016 07:16:16 +0000 (09:16 +0200)]
Fix systemd detection, closes #48

7 years agoRetry failed xrandr calls after waiting for one second to mitigate #47
Phillip Berndt [Thu, 28 Apr 2016 13:51:50 +0000 (15:51 +0200)]
Retry failed xrandr calls after waiting for one second to mitigate #47

7 years agoIn debug mode, output commands that will be run
Phillip Berndt [Thu, 28 Apr 2016 13:38:26 +0000 (15:38 +0200)]
In debug mode, output commands that will be run

8 years agoMerge pull request #46 from HyperBaton/master
Phillip Berndt [Mon, 28 Mar 2016 12:50:08 +0000 (14:50 +0200)]
Merge pull request #46 from HyperBaton/master

Add ability to remove profile

8 years agoAdd python2 compatibility to removal ability
Simon Wydooghe [Mon, 28 Mar 2016 12:06:31 +0000 (14:06 +0200)]
Add python2 compatibility to removal ability

8 years agoAdded user confirmation to remove action
Simon Wydooghe [Mon, 28 Mar 2016 11:13:03 +0000 (13:13 +0200)]
Added user confirmation to remove action

In case of files other than setup and config being present in the
profile folder, user confirmation is necessary to delete the
profile in question.

Also, added my name to the README.

8 years agoAdd ability to remove profile
Simon Wydooghe [Sun, 27 Mar 2016 17:18:01 +0000 (19:18 +0200)]
Add ability to remove profile

This commit adds profile removal ability.
You can use '-r' or '--remove'.

Following checks are done:
* not a virtual profile
* profile can be found in profiles.keys()

Also added the remove option to the bash completion (untested though,
using zsh and quite unfamiliar with it).

8 years agoAdded @Idolf to readme
Phillip Berndt [Wed, 10 Feb 2016 14:07:10 +0000 (15:07 +0100)]
Added @Idolf to readme

8 years agoMerge github.com:Idolf/autorandr
Phillip Berndt [Wed, 10 Feb 2016 14:05:17 +0000 (15:05 +0100)]
Merge github.com:Idolf/autorandr

8 years agoFix for #44
Phillip Berndt [Wed, 10 Feb 2016 12:05:33 +0000 (13:05 +0100)]
Fix for #44

8 years agoWork around #44: Support long user names in w
Phillip Berndt [Wed, 10 Feb 2016 11:22:34 +0000 (12:22 +0100)]
Work around #44: Support long user names in w

8 years agoImplemented the suggestions
Mathias Svensson [Thu, 4 Feb 2016 11:56:20 +0000 (12:56 +0100)]
Implemented the suggestions

8 years agoWorks on my machine
Mathias Svensson [Wed, 3 Feb 2016 15:36:05 +0000 (16:36 +0100)]
Works on my machine

8 years agoWorkaround to fix #39
Phillip Berndt [Wed, 3 Feb 2016 07:07:48 +0000 (08:07 +0100)]
Workaround to fix #39

8 years agoAdhere XDG basedir spec regarding order
Phillip Berndt [Thu, 7 Jan 2016 14:16:27 +0000 (15:16 +0100)]
Adhere XDG basedir spec regarding order

It says that for duplicate information (i.e., equal file names), only
the one that comes first ought to be used. So we have to make sure to
load profiles in the correct order -- the ones that have the highest
priority last, because we just dict.update them all together. And in
script execution, we have to keep a list of file names already used in
scripts that have already been executed.

8 years agoRun scripts from $XDG_CONFIG_DIRS as well (See pull request #43)
Phillip Berndt [Thu, 7 Jan 2016 14:02:51 +0000 (15:02 +0100)]
Run scripts from $XDG_CONFIG_DIRS as well (See pull request #43)

8 years agoPass meta-information to block scripts
Phillip Berndt [Sun, 3 Jan 2016 11:27:59 +0000 (12:27 +0100)]
Pass meta-information to block scripts

Currently, $AUTORANDR_CURRENT_PROFILES and $AUTORANDR_CURRENT_PROFILE
are supported, containing a colon-separated list (or the first,
respectively) of active profiles. If no profile was detected as
active/current, both variables will be empty.

This fixes #42

8 years agopm-utils script: Check for xinit as a fallback
Phillip Berndt [Mon, 7 Dec 2015 08:49:57 +0000 (09:49 +0100)]
pm-utils script: Check for xinit as a fallback

8 years agoRemove autorandr_monitor, closes bug #41
Phillip Berndt [Sat, 5 Dec 2015 16:04:35 +0000 (17:04 +0100)]
Remove autorandr_monitor, closes bug #41

8 years agopm-utils script: Potential fixes for bugs #30 and #39
Phillip Berndt [Fri, 4 Dec 2015 11:53:17 +0000 (12:53 +0100)]
pm-utils script: Potential fixes for bugs #30 and #39

8 years agoMerge pull request #40 from blueyed/executable-pm-script
Phillip Berndt [Thu, 3 Dec 2015 08:17:57 +0000 (09:17 +0100)]
Merge pull request #40 from blueyed/executable-pm-script

The 40autorandr script needs to be executable for udev

8 years agoThe 40autorandr script needs to be executable for udev
Daniel Hahler [Wed, 2 Dec 2015 11:43:19 +0000 (12:43 +0100)]
The 40autorandr script needs to be executable for udev

Otherwise it will not be executed:
… systemd-udevd[32358]: failed to execute '/etc/pm/sleep.d/40autorandr' '/etc/pm/sleep.d/40autorandr thaw': Permission denied
… systemd-udevd[32355]: Process '/etc/pm/sleep.d/40autorandr thaw' failed with exit code 2.

8 years agoOnly use name of executable in systemd detection (See #38)
Phillip Berndt [Tue, 24 Nov 2015 18:10:24 +0000 (19:10 +0100)]
Only use name of executable in systemd detection (See #38)

8 years agoImproved systemd detection (See bug #38, thanks to @blueyed)
Phillip Berndt [Tue, 24 Nov 2015 18:05:46 +0000 (19:05 +0100)]
Improved systemd detection (See bug #38, thanks to @blueyed)

8 years agoSkip --transform unless necessary (See #37)
Phillip Berndt [Tue, 17 Nov 2015 09:27:43 +0000 (10:27 +0100)]
Skip --transform unless necessary (See #37)