]>
git.donarmstrong.com Git - deb_pkgs/autorandr.git/log
Phillip Berndt [Tue, 14 Apr 2015 07:15:39 +0000 (09:15 +0200)]
Mode names need not be of the form <width>x<height>, but can be arbitrary
In the hope for _some_ sanity, the code still asumes that there is no
whitespace in mode names. This fixes #25.
Phillip Berndt [Fri, 10 Apr 2015 09:36:48 +0000 (11:36 +0200)]
More useful error messages
Phillip Berndt [Wed, 8 Apr 2015 08:14:55 +0000 (10:14 +0200)]
Fixed output parsing error messages
Phillip Berndt [Wed, 8 Apr 2015 08:14:39 +0000 (10:14 +0200)]
Detect modes that have *current at the end of the mode line
Phillip Berndt [Wed, 8 Apr 2015 08:14:19 +0000 (10:14 +0200)]
Detect tracking/border information for --panning
Phillip Berndt [Wed, 8 Apr 2015 08:13:36 +0000 (10:13 +0200)]
Detect negative positions
Phillip Berndt [Mon, 6 Apr 2015 15:51:09 +0000 (17:51 +0200)]
Support for RandR 1.3 --panning
Phillip Berndt [Sun, 5 Apr 2015 23:26:32 +0000 (01:26 +0200)]
A screen can be disabled yet primary
Phillip Berndt [Mon, 30 Mar 2015 06:05:42 +0000 (08:05 +0200)]
Temporarily undo transformations when applying configurations
Haswell chips have problems if this is not done, they report:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 41
Current serial number in output stream: 43
This commit circumvents this problem.
Phillip Berndt [Fri, 27 Mar 2015 16:33:08 +0000 (17:33 +0100)]
Screens can be connected but unused, but also disconnected and still in use
Detect that.
Phillip Berndt [Thu, 26 Mar 2015 15:13:54 +0000 (16:13 +0100)]
Updated README with missing contributors
Phillip Berndt [Thu, 26 Mar 2015 08:28:59 +0000 (09:28 +0100)]
Use a dummy EDID if an EDID is unavailable for an output
Phillip Berndt [Tue, 24 Mar 2015 10:41:32 +0000 (11:41 +0100)]
Merge pull request #22 from victorhaggqvist/patch-1
Fix `block` script filename in Python version
Victor Häggqvist [Mon, 23 Mar 2015 21:01:59 +0000 (22:01 +0100)]
fix: make block script name correspond to docs
Phillip Berndt [Sun, 8 Mar 2015 17:16:53 +0000 (18:16 +0100)]
typo
Phillip Berndt [Sun, 8 Mar 2015 17:14:06 +0000 (18:14 +0100)]
Prevent, in apply_configuration, a xrandr call that disables all screens
See pull request #20
Phillip Berndt [Sat, 7 Mar 2015 17:44:25 +0000 (18:44 +0100)]
Leave one monitor active when applying configurations
See https://github.com/phillipberndt/autorandr/pull/20
Phillip Berndt [Sat, 7 Mar 2015 17:45:20 +0000 (18:45 +0100)]
Accept empty lines in setup files
Phillip Berndt [Fri, 6 Mar 2015 08:45:55 +0000 (09:45 +0100)]
Explain why we enable outputs in pairs of two
See issue #21
Phillip Berndt [Mon, 23 Feb 2015 10:20:43 +0000 (11:20 +0100)]
Detect if xrandr fails completely
Xrandr 1.0.2 didn't output --verbose like output at all. This change
detects that and outputs an error, instead of producing an empty
configuration.
Phillip Berndt [Mon, 23 Feb 2015 10:20:26 +0000 (11:20 +0100)]
Enforce stable output order
This is useful for automated testing
Phillip Berndt [Mon, 23 Feb 2015 09:42:54 +0000 (10:42 +0100)]
Remember the last choice for competing configurations (with equal setups)
fixes #16
Phillip Berndt [Wed, 18 Feb 2015 07:02:18 +0000 (08:02 +0100)]
If disabling outputs failed, try to disable them together with the second xrandr call
My notbook complains when I remove it from its docking station that
RRSetScreenSize failed if I disable a screen. Issuing the whole xrandr
command in one single call works fine.
This is related to
f4cce4dc3928ba3f917208c31693abc807b1ff3c
Phillip Berndt [Tue, 17 Feb 2015 10:07:24 +0000 (11:07 +0100)]
Fix "transform" parsing
See related commit
376005b
Phillip Berndt [Tue, 17 Feb 2015 09:51:45 +0000 (10:51 +0100)]
Fix parsing of EDID
See bug #19.
Phillip Berndt [Wed, 11 Feb 2015 09:54:16 +0000 (10:54 +0100)]
Transformation matrices can contain negative indices
Phillip Berndt [Mon, 9 Feb 2015 07:24:25 +0000 (08:24 +0100)]
Follow XDG completely: Also load configurations from the system-wide directories
I doubt this will be used widely, but there clearly is a use-case for
multi-user or centrally administrated systems. Per-user profiles always
override system-wide profiles.
Phillip Berndt [Mon, 9 Feb 2015 07:24:10 +0000 (08:24 +0100)]
Updated help texts with XDG directory
Phillip Berndt [Mon, 9 Feb 2015 07:15:13 +0000 (08:15 +0100)]
Fixed bash-completion (Lacked an `else')
Benjamin Cremer [Fri, 6 Feb 2015 19:47:44 +0000 (20:47 +0100)]
Use XDG Base Directory Specification for config files
Phillip Berndt [Tue, 27 Jan 2015 07:30:30 +0000 (08:30 +0100)]
Python 3 issue in XRANDR_DEFAULTS
Phillip Berndt [Tue, 27 Jan 2015 07:25:04 +0000 (08:25 +0100)]
Removed legacy autorandr (see the legacy branch)
Phillip Berndt [Mon, 26 Jan 2015 06:48:06 +0000 (07:48 +0100)]
Log to stderr (Required to allow users to redirect --dry-run output)
Phillip Berndt [Mon, 26 Jan 2015 06:46:45 +0000 (07:46 +0100)]
Run xrandr disabling connected, but inactive outputs before any other xrandr commands
Related to bug #13
Phillip Berndt [Mon, 26 Jan 2015 06:45:48 +0000 (07:45 +0100)]
Python version: Fix detection of already loaded old setups with md5sum'ed EDID
Phillip Berndt [Mon, 26 Jan 2015 06:45:28 +0000 (07:45 +0100)]
Python version: Remove default values from existing configurations
Phillip Berndt [Fri, 23 Jan 2015 12:06:07 +0000 (13:06 +0100)]
Python version: xrandr < 1.3.1 does not report it's version even with -v
Phillip Berndt [Fri, 23 Jan 2015 10:14:21 +0000 (11:14 +0100)]
Python version: xrandr 1.2.0 didn't output a *current modeline, ignore the missing information
Phillip Berndt [Fri, 23 Jan 2015 06:54:04 +0000 (07:54 +0100)]
Do not fail if no profile directory exists yet
Rasmus Wriedt Larsen [Thu, 22 Jan 2015 20:50:05 +0000 (21:50 +0100)]
allow legacy autorandr to be off while connected
Rasmus Wriedt Larsen [Thu, 22 Jan 2015 14:29:08 +0000 (15:29 +0100)]
Keep outputs with edid when loading profiles
fixes #13
Phillip Berndt [Thu, 22 Jan 2015 13:28:27 +0000 (14:28 +0100)]
Add @RasmusWL as a contributor
Phillip Berndt [Thu, 22 Jan 2015 13:27:29 +0000 (14:27 +0100)]
Correctly handle connected, but unused screens.
bugs #13
Phillip Berndt [Thu, 22 Jan 2015 13:18:48 +0000 (14:18 +0100)]
Merge pull request #14 from RasmusWL/fix-debug_regexp
fix infinite loop in debug_regexp
Rasmus Wriedt Larsen [Thu, 22 Jan 2015 12:29:54 +0000 (13:29 +0100)]
fix infinite loop in debug_regexp
Phillip Berndt [Thu, 22 Jan 2015 10:41:48 +0000 (11:41 +0100)]
Python version: Correctly determine the mode of transformed outputs
Phillip Berndt [Fri, 16 Jan 2015 07:51:01 +0000 (08:51 +0100)]
Explained why there are two versions of autorandr here
This is a temporary solution.
Phillip Berndt [Fri, 16 Jan 2015 07:32:25 +0000 (08:32 +0100)]
Merge branch 'rate' into license
Phillip Berndt [Fri, 16 Jan 2015 07:26:41 +0000 (08:26 +0100)]
Prefer xrandr edid probing over sysfs
To normalize the fingerprints, we have to fiddle a lot with the sysfs
variant. The awk code is much simpler. In the long run I'd like to
remove the sysfs code altogether.
Phillip Berndt [Fri, 16 Jan 2015 07:24:04 +0000 (08:24 +0100)]
Adjusted license information
See https://github.com/phillipberndt/autorandr/issues/7
and https://github.com/wertarbyte/autorandr/issues/24, where the
original author wrote:
> After a while, I finally got around to this - licence should be GPLv3,
> so feel free to package :-)
Phillip Berndt [Fri, 16 Jan 2015 07:22:11 +0000 (08:22 +0100)]
xxd replacement for systems without xxd
Phillip Berndt [Fri, 16 Jan 2015 06:51:53 +0000 (07:51 +0100)]
Revert "Removed non-trivial code by Stefan Tomanek"
This reverts commit
bbe8f8b547256542ad332bfee1614cf7137f9e5d .
See https://github.com/wertarbyte/autorandr/issues/24
Conflicts:
autorandr
Phillip Berndt [Wed, 14 Jan 2015 07:56:03 +0000 (08:56 +0100)]
Python: Python 3 compatibility restored
Phillip Berndt [Mon, 12 Jan 2015 09:39:28 +0000 (10:39 +0100)]
Python version: Better error message for missing profiles
Phillip Berndt [Mon, 12 Jan 2015 09:36:15 +0000 (10:36 +0100)]
Python version: Add unused outputs' --off parameter upon loading, and ignore stored --off parameters
Phillip Berndt [Mon, 12 Jan 2015 09:35:21 +0000 (10:35 +0100)]
Python version: Add unused options on the fly when loading, rather than when storing, configurations
Phillip Berndt [Thu, 8 Jan 2015 09:54:57 +0000 (10:54 +0100)]
Python version: Bugfix, --dry-run shouldn't always be used
Phillip Berndt [Thu, 8 Jan 2015 08:55:36 +0000 (09:55 +0100)]
Python version: Option handling for unrecognized options
Phillip Berndt [Thu, 8 Jan 2015 08:54:05 +0000 (09:54 +0100)]
Python version: Python3 compatible error handling
Phillip Berndt [Thu, 8 Jan 2015 08:51:01 +0000 (09:51 +0100)]
Python version: Added error messages
Phillip Berndt [Wed, 7 Jan 2015 18:09:00 +0000 (19:09 +0100)]
Merge pull request #10 from tachylatus/license
Fix for python3 TypeError for 'dict_keys'
tachylatus [Wed, 7 Jan 2015 11:42:48 +0000 (12:42 +0100)]
Fix for python3 TypeError for 'dict_keys'
TypeError: 'dict_keys' object does not support indexing
Explanation:
In python2x, edid_map.keys() returned a list.
With python3.x, it returns a dict_keys object, which behaves more like a set instead of list.
Inspired from:
http://stackoverflow.com/questions/
17322668 /xi-xj-xj-xi-typeerror-dict-keys-object-does-not-support-indexing
I tested this change with python2, and it seems to work.
Phillip Berndt [Wed, 7 Jan 2015 11:56:28 +0000 (12:56 +0100)]
Python version: Virtual profile support (common, horizontal, vertical)
Phillip Berndt [Wed, 7 Jan 2015 10:25:20 +0000 (11:25 +0100)]
Python version: Support reflections, parse output modes (for virtual profiles)
Phillip Berndt [Wed, 7 Jan 2015 08:58:18 +0000 (09:58 +0100)]
Sort fingerprint file in python version (for legacy compatibility)
Phillip Berndt [Tue, 6 Jan 2015 20:36:03 +0000 (21:36 +0100)]
xrandr parsing regex updated
Phillip Berndt [Tue, 6 Jan 2015 20:13:13 +0000 (21:13 +0100)]
Experimental Python implementation of autorandr
Still incomplete, virtual profiles are missing.
Phillip Berndt [Fri, 2 Jan 2015 10:34:30 +0000 (11:34 +0100)]
License information (2/2)
Phillip Berndt [Fri, 2 Jan 2015 10:21:01 +0000 (11:21 +0100)]
Removed non-trivial code by Stefan Tomanek
Phillip Berndt [Fri, 2 Jan 2015 09:53:31 +0000 (10:53 +0100)]
License information (1/2)
Phillip Berndt [Fri, 2 Jan 2015 09:06:54 +0000 (10:06 +0100)]
Detect and process legacy fingerprint (setup) files
Phillip Berndt [Fri, 2 Jan 2015 08:23:20 +0000 (09:23 +0100)]
Reimplemented the setup_fp methods
In order to resolve bug #7, we need to remove non-trivial pieces of code
by @wertarbyte, who does not react to requests currently. All other
authors agreed to any suitable OSS license. See
https://github.com/phillipberndt/autorandr/issues/7
for further discussion.
A side-effect of my reimplementation is that both methods now return the
same fingerprint, such that they are interchangeable. A downside is that
the fingerprints change with this version.
Phillip Berndt [Wed, 31 Dec 2014 12:21:30 +0000 (13:21 +0100)]
Store refresh rate
See https://github.com/wertarbyte/autorandr/issues/6
Phillip Berndt [Sat, 13 Dec 2014 14:59:41 +0000 (15:59 +0100)]
Enable outputs in pairs of two (Follow-up to commit
f4cce4d )
tachylatus [Fri, 12 Dec 2014 13:51:19 +0000 (14:51 +0100)]
Enable xrandr outputs one-by-one, --pos 0x0 first
Enabling more than one or two outputs at once may result in this error:
/usr/bin/xrandr: Configure crtc 1 failed
This happens on my Dell Latitude E7440 with three monitors connected.
Disabling many outputs at once still seems safe.
Output positioning may be ignored by xrandr in some cases.
To circumvent this, make sure the output with --pos 0x0 is enabled first.
Christian Autermann [Mon, 3 Nov 2014 11:00:31 +0000 (12:00 +0100)]
removed trailing slash
Christian Autermann [Sun, 27 Jul 2014 13:26:07 +0000 (15:26 +0200)]
replaced w with who as w cuts off long user names
Conflicts:
pm-utils/40autorandr
Phillip Berndt [Sun, 20 Jul 2014 11:21:47 +0000 (13:21 +0200)]
Fixed integer test expressions
Phillip Berndt [Sun, 20 Jul 2014 11:20:34 +0000 (13:20 +0200)]
Merge remote-tracking branch 'bingmann/master'
Timo Bingmann [Sun, 20 Jul 2014 11:14:05 +0000 (13:14 +0200)]
Print error when profile does not exist and fixing use of IS_VIRTUAL_PROFILE.
Phillip Berndt [Sun, 20 Jul 2014 11:17:51 +0000 (13:17 +0200)]
Use same virtual profile detection code in all places
Timo Bingmann [Sun, 20 Jul 2014 11:05:05 +0000 (13:05 +0200)]
Add 'horizontal' and 'vertical' stacked virtual profiles.
Small fixes to virtual profile code.
Phillip Berndt [Sun, 20 Jul 2014 10:38:40 +0000 (12:38 +0200)]
Inform users about virtual configurations, prevent name collisions, prefer existing configuration files over virtual configurations
Phillip Berndt [Sun, 20 Jul 2014 10:38:11 +0000 (12:38 +0200)]
Output "same-as" in the "common" virtual configuration
Timo Bingmann [Sun, 20 Jul 2014 10:05:46 +0000 (12:05 +0200)]
Set virtual 'common' config via load_cfg_xrandr by piping into the sed.
Timo Bingmann [Sat, 19 Jul 2014 18:01:25 +0000 (20:01 +0200)]
Added a virtual profile named 'common', which calculates the lowest common resolution for all attached displays.
Timo Bingmann [Fri, 4 Jul 2014 19:02:04 +0000 (21:02 +0200)]
Adding emacs Local Variables block at the end.
Phillip Berndt [Mon, 10 Feb 2014 19:45:46 +0000 (20:45 +0100)]
Merge pull request #4 from stormc/master
fix load() causing 'exit 1' on missing optional file $PROFILES/postswitch
Christian Storm [Mon, 10 Feb 2014 18:01:35 +0000 (19:01 +0100)]
fix load() causing 'exit 1' on missing optional file $PROFILES/postswitch
load() should return 1 and hence cause 'exit 1' on a missing
config file but it should not implicitly return 1 on a missing
optional file $PROFILES/postswitch
Phillip Berndt [Fri, 31 Jan 2014 10:33:08 +0000 (02:33 -0800)]
Merge pull request #3 from tachylatus/master
Revert to general rotation detection
tachylatus [Thu, 30 Jan 2014 17:43:53 +0000 (18:43 +0100)]
Apply normal rotation unless another one is set (ver.2)
tachylatus [Thu, 30 Jan 2014 17:42:25 +0000 (18:42 +0100)]
Revert "Apply normal rotation unless another one is set"
This reverts commit
007920e83cf934f765d4424fab8148c9611eaacc .
Phillip Berndt [Thu, 30 Jan 2014 15:36:26 +0000 (16:36 +0100)]
Fixed indentation of commit
f131585
Phillip Berndt [Thu, 30 Jan 2014 15:35:07 +0000 (16:35 +0100)]
Apply normal rotation unless another one is set
tachylatus [Thu, 30 Jan 2014 13:57:58 +0000 (14:57 +0100)]
Only output "rotate" once
tachylatus [Thu, 30 Jan 2014 13:24:16 +0000 (14:24 +0100)]
Merge https://github.com/ChrisDunder/autorandr
Conflicts:
autorandr
Phillip Berndt [Thu, 30 Jan 2014 12:45:31 +0000 (13:45 +0100)]
Merge http://github.com/voda/autorandr
Conflicts:
bash_completion/autorandr
Phillip Berndt [Thu, 30 Jan 2014 12:41:30 +0000 (13:41 +0100)]
Merge branch 'feature/preswitch_scripts' of http://github.com/torrancew/autorandr
Phillip Berndt [Thu, 30 Jan 2014 12:37:25 +0000 (04:37 -0800)]
Merge pull request #1 from tachylatus/master
Support DESTDIR + improvements for easy packaging
tachylatus [Thu, 30 Jan 2014 11:31:29 +0000 (12:31 +0100)]
Support DESTDIR + improvements for easy packaging