Commit Graph

107 Commits

Author SHA1 Message Date
Phillip Berndt
59f6aec0bb Branch information updated 2015-01-27 08:10:12 +01:00
Phillip Berndt
c0b25211d9 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.
2015-01-27 08:07:34 +01:00
Phillip Berndt
e66001b275 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 :-)
2015-01-27 08:07:34 +01:00
Phillip Berndt
66ac3a8521 xxd replacement for systems without xxd 2015-01-27 08:07:34 +01:00
Phillip Berndt
8465157851 Revert "Removed non-trivial code by Stefan Tomanek"
This reverts commit bbe8f8b547.
See https://github.com/wertarbyte/autorandr/issues/24

Conflicts:
	autorandr
2015-01-27 08:07:34 +01:00
Phillip Berndt
d07beee1eb License information (2/2) 2015-01-27 08:07:34 +01:00
Phillip Berndt
7a49fda6b2 Removed non-trivial code by Stefan Tomanek 2015-01-27 08:07:34 +01:00
Phillip Berndt
c5873ac531 License information (1/2) 2015-01-27 08:07:34 +01:00
Phillip Berndt
c677160fa6 Detect and process legacy fingerprint (setup) files 2015-01-27 08:07:34 +01:00
Phillip Berndt
d0efe243a4 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.
2015-01-27 08:07:34 +01:00
Phillip Berndt
920294ac15 Store refresh rate
See https://github.com/wertarbyte/autorandr/issues/6
2014-12-31 13:21:30 +01:00
Phillip Berndt
8429886318 Enable outputs in pairs of two (Follow-up to commit f4cce4d) 2014-12-13 15:59:41 +01:00
tachylatus
f4cce4dc39 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.
2014-12-12 14:51:19 +01:00
Christian Autermann
f594071e28 removed trailing slash 2014-12-09 21:13:45 +01:00
Christian Autermann
abd5e778d3 replaced w with who as w cuts off long user names
Conflicts:
	pm-utils/40autorandr
2014-08-18 12:56:49 +02:00
Phillip Berndt
b4e56eb70a Fixed integer test expressions 2014-07-20 13:21:47 +02:00
Phillip Berndt
d86adf9a25 Merge remote-tracking branch 'bingmann/master' 2014-07-20 13:20:34 +02:00
Timo Bingmann
899c841c11 Print error when profile does not exist and fixing use of IS_VIRTUAL_PROFILE. 2014-07-20 13:18:44 +02:00
Phillip Berndt
9b71999393 Use same virtual profile detection code in all places 2014-07-20 13:17:51 +02:00
Timo Bingmann
4d608162f5 Add 'horizontal' and 'vertical' stacked virtual profiles.
Small fixes to virtual profile code.
2014-07-20 13:05:05 +02:00
Phillip Berndt
9c9a603257 Inform users about virtual configurations, prevent name collisions, prefer existing configuration files over virtual configurations 2014-07-20 12:42:02 +02:00
Phillip Berndt
8c7260f420 Output "same-as" in the "common" virtual configuration 2014-07-20 12:38:11 +02:00
Timo Bingmann
f7b14d1ee5 Set virtual 'common' config via load_cfg_xrandr by piping into the sed. 2014-07-20 12:05:46 +02:00
Timo Bingmann
81552801f7 Added a virtual profile named 'common', which calculates the lowest common resolution for all attached displays. 2014-07-19 20:01:25 +02:00
Timo Bingmann
420686dc17 Adding emacs Local Variables block at the end. 2014-07-04 21:02:04 +02:00
Phillip Berndt
7940a4f188 Merge pull request #4 from stormc/master
fix load() causing 'exit 1' on missing optional file $PROFILES/postswitch
2014-02-10 20:45:46 +01:00
Christian Storm
78eaf1be4a 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
2014-02-10 19:01:35 +01:00
Phillip Berndt
d815adbcd3 Merge pull request #3 from tachylatus/master
Revert to general rotation detection
2014-01-31 02:33:08 -08:00
tachylatus
13decd1df7 Apply normal rotation unless another one is set (ver.2) 2014-01-30 18:43:53 +01:00
tachylatus
0225027886 Revert "Apply normal rotation unless another one is set"
This reverts commit 007920e83c.
2014-01-30 18:42:25 +01:00
Phillip Berndt
c980e5462e Fixed indentation of commit f131585 2014-01-30 16:36:26 +01:00
Phillip Berndt
007920e83c Apply normal rotation unless another one is set 2014-01-30 16:35:07 +01:00
tachylatus
8af170c6ab Only output "rotate" once 2014-01-30 14:57:58 +01:00
tachylatus
c3521b34b0 Merge https://github.com/ChrisDunder/autorandr
Conflicts:
	autorandr
2014-01-30 14:24:16 +01:00
Phillip Berndt
eef58b0a5d Merge http://github.com/voda/autorandr
Conflicts:
	bash_completion/autorandr
2014-01-30 13:45:31 +01:00
Phillip Berndt
e1c9565596 Merge branch 'feature/preswitch_scripts' of http://github.com/torrancew/autorandr 2014-01-30 13:41:30 +01:00
Phillip Berndt
6d6f5b713b Merge pull request #1 from tachylatus/master
Support DESTDIR + improvements for easy packaging
2014-01-30 04:37:25 -08:00
tachylatus
6a04c1b913 Support DESTDIR + improvements for easy packaging 2014-01-30 12:31:29 +01:00
Tray Torrance
f1315852be Add support for "preswitch" scripts 2013-12-30 13:18:32 -08:00
Ondřej Vodáček
43dcdca451 Merge branch 'patch-1' of https://github.com/vapniks/autorandr
* 'patch-1' of https://github.com/vapniks/autorandr:
  Fix completion of config names
2013-12-15 18:44:59 +01:00
Ondřej Vodáček
7dc195c481 Merge remote-tracking branch 'public/patch-2'
* public/patch-2:
  bash_completion: load profiles only when .autorandr directory exists

Conflicts:
	bash_completion/autorandr
2013-12-15 18:40:52 +01:00
Ondřej Vodáček
118f2c6121 Merge remote-tracking branch 'public/patch-1'
* public/patch-1:
  added --config to bash completion
2013-12-15 18:40:28 +01:00
vapniks
b94559c3cf Fix completion of config names 2013-12-08 01:20:58 +00:00
Phillip Berndt
7dabe214f0 Prefer sysfs probing over xrandr probing (more reliable, esp. if fake xrandr is used) 2013-12-03 12:22:31 +01:00
Phillip Berndt
43bb98c613 Merge remote-tracking branch 'queezythegreat/master'
Conflicts:
	Makefile
2013-12-02 10:50:40 +01:00
Phillip Berndt
fb01d5e870 Merge remote-tracking branch 'paulharris/master'
Conflicts:
	README
2013-12-02 10:42:23 +01:00
Phillip Berndt
4db3b2ca3a Merge remote-tracking branch 'helterscelter/master'
Conflicts:
	pm-utils/40autorandr
2013-12-02 10:34:24 +01:00
Phillip Berndt
9a5ea1f32f Display logger information in pm-utils script only if a user was actually found 2013-11-29 08:04:18 +01:00
Phillip Berndt
399523da9b Merge remote-tracking branch 'mtahmed/master'
Conflicts:
	README.md
2013-11-29 07:58:56 +01:00
Phillip Berndt
ccd5339707 Updated README with branch information 2013-11-29 07:51:28 +01:00