]>
git.donarmstrong.com Git - deb_pkgs/autorandr.git/log
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
Tray Torrance [Mon, 30 Dec 2013 21:18:32 +0000 (13:18 -0800)]
Add support for "preswitch" scripts
Ondřej Vodáček [Sun, 15 Dec 2013 17:44:59 +0000 (18:44 +0100)]
Merge branch 'patch-1' of https://github.com/vapniks/autorandr
* 'patch-1' of https://github.com/vapniks/autorandr:
Fix completion of config names
Ondřej Vodáček [Sun, 15 Dec 2013 17:40:52 +0000 (18:40 +0100)]
Merge remote-tracking branch 'public/patch-2'
* public/patch-2:
bash_completion: load profiles only when .autorandr directory exists
Conflicts:
bash_completion/autorandr
Ondřej Vodáček [Sun, 15 Dec 2013 17:40:28 +0000 (18:40 +0100)]
Merge remote-tracking branch 'public/patch-1'
* public/patch-1:
added --config to bash completion
vapniks [Sun, 8 Dec 2013 01:20:58 +0000 (01:20 +0000)]
Fix completion of config names
Phillip Berndt [Tue, 3 Dec 2013 11:22:31 +0000 (12:22 +0100)]
Prefer sysfs probing over xrandr probing (more reliable, esp. if fake xrandr is used)
Phillip Berndt [Mon, 2 Dec 2013 09:50:40 +0000 (10:50 +0100)]
Merge remote-tracking branch 'queezythegreat/master'
Conflicts:
Makefile
Phillip Berndt [Mon, 2 Dec 2013 09:42:23 +0000 (10:42 +0100)]
Merge remote-tracking branch 'paulharris/master'
Conflicts:
README
Phillip Berndt [Mon, 2 Dec 2013 09:34:24 +0000 (10:34 +0100)]
Merge remote-tracking branch 'helterscelter/master'
Conflicts:
pm-utils/40autorandr
Phillip Berndt [Fri, 29 Nov 2013 07:04:18 +0000 (08:04 +0100)]
Display logger information in pm-utils script only if a user was actually found
Phillip Berndt [Fri, 29 Nov 2013 06:58:56 +0000 (07:58 +0100)]
Merge remote-tracking branch 'mtahmed/master'
Conflicts:
README.md
Phillip Berndt [Fri, 29 Nov 2013 06:51:28 +0000 (07:51 +0100)]
Updated README with branch information
Phillip Berndt [Fri, 29 Nov 2013 06:43:48 +0000 (07:43 +0100)]
Merge remote-tracking branches 'tachylatus/master' and 'herm/master'
Hermann Kraus [Sun, 17 Nov 2013 23:38:10 +0000 (00:38 +0100)]
Update README.
Hermann Kraus [Sun, 17 Nov 2013 22:45:20 +0000 (23:45 +0100)]
Install udev rules.
Mandus Elfving [Wed, 10 Apr 2013 18:06:03 +0000 (20:06 +0200)]
Add a udev rules file for calling autorandr on monitor switch
Hermann Kraus [Sun, 17 Nov 2013 23:33:18 +0000 (00:33 +0100)]
Make user name detection more reliable if there are multiple session (e.g. terminals).
Mandus Elfving [Wed, 10 Apr 2013 18:05:26 +0000 (20:05 +0200)]
Some small fixes to the pm-utils script
Hermann Kraus [Sun, 17 Nov 2013 22:07:52 +0000 (23:07 +0100)]
Added Makefile to install program.
Ondřej Vodáček [Sat, 20 Jul 2013 11:17:28 +0000 (13:17 +0200)]
bash_completion: load profiles only when .autorandr directory exists
Ondřej Vodáček [Sat, 20 Jul 2013 11:12:25 +0000 (13:12 +0200)]
added --config to bash completion
tachylatus [Thu, 4 Jul 2013 10:44:43 +0000 (12:44 +0200)]
Workaround xrandr bug: "cannot find crtc for output" - efficient solution
xrandr will typically fail when switching outputs, if the maximum number is already enabled.
This patch will cause xrandr to be called twice:
- First invocation will only disable outputs, freeing up CRTCs
- Second invocation will only enable outputs
tachylatus [Thu, 4 Jul 2013 10:39:40 +0000 (12:39 +0200)]
Fix xrandr -q parsing when output contains "primary"
xRandR (in newer versions?) will output an extra columns for primary outputs.
Detect this column and modify the string split and column numbers accordingly.
Helge [Wed, 3 Jul 2013 20:06:51 +0000 (22:06 +0200)]
Fix "No such file or directory" on tab-completion
Checks if the directory ~/.autorandr exists before searching for profiles.
Example error message:
autorandr -find: `/root/.autorandr/*': No such file or directory
QueezyTheGreat [Wed, 26 Jun 2013 18:40:29 +0000 (20:40 +0200)]
Minor fixes and improvements
QueezyTheGreat [Wed, 26 Jun 2013 18:31:39 +0000 (20:31 +0200)]
Minor fixes and improvements
QueezyTheGreat [Wed, 26 Jun 2013 18:09:14 +0000 (20:09 +0200)]
Minor code refactoring
QueezyTheGreat [Wed, 26 Jun 2013 17:45:31 +0000 (19:45 +0200)]
Updated Makefile, minor change to inotify monitor
QueezyTheGreat [Wed, 26 Jun 2013 17:33:16 +0000 (19:33 +0200)]
Added install makefile and autorandr inotify monitor
mtahmed [Sun, 12 May 2013 12:33:46 +0000 (08:33 -0400)]
Make the README.md a bit cleaner.
mtahmed [Sun, 12 May 2013 12:29:18 +0000 (08:29 -0400)]
Rename README -> README.md. Use markdown for README.md.
Paul Harris [Wed, 24 Apr 2013 14:41:16 +0000 (22:41 +0800)]
Added notes on how to get auto-disper running automatically.
Paul Harris [Wed, 24 Apr 2013 14:15:19 +0000 (22:15 +0800)]
Added a default fallback ("default") for pm-script.
Paul Harris [Wed, 24 Apr 2013 14:36:24 +0000 (22:36 +0800)]
Merge remote-tracking branch 'helterscelter/master'
Stefan Tomanek [Sun, 6 Jan 2013 17:38:35 +0000 (18:38 +0100)]
add support for rotated displays
helterscelter [Mon, 6 Aug 2012 19:08:08 +0000 (15:08 -0400)]
Updated pm-utils scripts
40autorandr had issues when resuming on a system where
one or more users have multiple terminal sessions open.
enhanced 40autorandr to allow being called as 40auto-disper
to automatically swap to using auto-disper semantics
Chris Dunder [Tue, 31 Jul 2012 19:54:51 +0000 (12:54 -0700)]
Added support for rotated outputs to the xrandr codepath.
Markus Ulrich [Thu, 28 Jun 2012 20:30:49 +0000 (22:30 +0200)]
Add README file