]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/log
deb_pkgs/autorandr.git
6 years agoAdd patch for missing config section in settings.ini from upstream debian/1.3-2
Don Armstrong [Thu, 21 Dec 2017 17:09:49 +0000 (09:09 -0800)]
Add patch for missing config section in settings.ini from upstream

6 years agoadd the missing License: and header paragraphs to debian/copyright debian/1.3-1
Don Armstrong [Mon, 18 Dec 2017 17:53:50 +0000 (09:53 -0800)]
add the missing License: and header paragraphs to debian/copyright

6 years agocherrypick settings.ini patch from upstream
Don Armstrong [Thu, 14 Dec 2017 19:02:20 +0000 (11:02 -0800)]
cherrypick settings.ini patch from upstream

6 years agouse upstream release 1.3
Don Armstrong [Mon, 11 Dec 2017 18:50:23 +0000 (10:50 -0800)]
use upstream release 1.3

6 years agoMerge branch 'master' into debian/sid
Don Armstrong [Mon, 11 Dec 2017 18:47:22 +0000 (10:47 -0800)]
Merge branch 'master' into debian/sid

6 years agoset pristine-tar and upstream branch in gbp.conf
Don Armstrong [Mon, 11 Dec 2017 17:36:59 +0000 (09:36 -0800)]
set pristine-tar and upstream branch in gbp.conf

6 years agoadd watch file
Don Armstrong [Mon, 11 Dec 2017 17:36:54 +0000 (09:36 -0800)]
add watch file

6 years agoA git-buildpackage config file
Tzafrir Cohen [Mon, 11 Dec 2017 15:03:09 +0000 (17:03 +0200)]
A git-buildpackage config file

Signed-off-by: Don Armstrong <don@donarmstrong.com>
6 years agoIgnore Debian-related generated files
Tzafrir Cohen [Mon, 11 Dec 2017 15:03:10 +0000 (17:03 +0200)]
Ignore Debian-related generated files

Signed-off-by: Don Armstrong <don@donarmstrong.com>
6 years agoautorandr 1.3 1.3
Phillip Berndt [Tue, 21 Nov 2017 15:22:28 +0000 (16:22 +0100)]
autorandr 1.3

6 years agoMerge pull request #92 from blueyed/dispatch_call_to_sessions-env
Phillip Berndt [Tue, 21 Nov 2017 15:15:06 +0000 (16:15 +0100)]
Merge pull request #92 from blueyed/dispatch_call_to_sessions-env

dispatch_call_to_sessions: skip envs without name

6 years agodispatch_call_to_sessions: skip envs without name
Daniel Hahler [Mon, 20 Nov 2017 04:22:57 +0000 (05:22 +0100)]
dispatch_call_to_sessions: skip envs without name

Fixes https://github.com/phillipberndt/autorandr/issues/87.

6 years agoMerge pull request #91 from blueyed/fix-exec_scripts
Phillip Berndt [Mon, 20 Nov 2017 09:05:49 +0000 (10:05 +0100)]
Merge pull request #91 from blueyed/fix-exec_scripts

Fix exec_scripts: candidate_directories broke for XDG/profile_path

6 years agoFix exec_scripts: candidate_directories broke for XDG/profile_path
Daniel Hahler [Mon, 20 Nov 2017 04:05:15 +0000 (05:05 +0100)]
Fix exec_scripts: candidate_directories broke for XDG/profile_path

This was broken in 1094d7d.

6 years agoAdd --load short form to changelog
Phillip Berndt [Wed, 15 Nov 2017 14:51:37 +0000 (15:51 +0100)]
Add --load short form to changelog

6 years agoTo disable --panning use 0x0, not none
Phillip Berndt [Wed, 15 Nov 2017 14:51:14 +0000 (15:51 +0100)]
To disable --panning use 0x0, not none

6 years agoReorder --help output
Phillip Berndt [Wed, 15 Nov 2017 14:50:04 +0000 (15:50 +0100)]
Reorder --help output

6 years agoMerge pull request #89 from christophgysin/long-lines
Phillip Berndt [Mon, 13 Nov 2017 19:06:41 +0000 (20:06 +0100)]
Merge pull request #89 from christophgysin/long-lines

Simplify code and break long lines

6 years agoflake8: reduce max-line-length
Christoph Gysin [Mon, 13 Nov 2017 16:08:12 +0000 (18:08 +0200)]
flake8: reduce max-line-length

6 years agosimplify code
Christoph Gysin [Mon, 13 Nov 2017 14:49:25 +0000 (16:49 +0200)]
simplify code

6 years agobreak long lines
Christoph Gysin [Mon, 13 Nov 2017 14:46:59 +0000 (16:46 +0200)]
break long lines

6 years agoremove duplication
Christoph Gysin [Mon, 13 Nov 2017 14:49:04 +0000 (16:49 +0200)]
remove duplication

6 years agoMerge pull request #85 from christophgysin/load-shorthand
Phillip Berndt [Mon, 13 Nov 2017 14:21:59 +0000 (15:21 +0100)]
Merge pull request #85 from christophgysin/load-shorthand

add short form for --load

6 years agoreadme: add example for short form of --load
Christoph Gysin [Mon, 6 Nov 2017 18:19:56 +0000 (20:19 +0200)]
readme: add example for short form of --load

6 years agoreadme: expand text to full examples
Christoph Gysin [Mon, 6 Nov 2017 18:19:27 +0000 (20:19 +0200)]
readme: expand text to full examples

6 years agogetopt: load profile from args
Christoph Gysin [Sun, 5 Nov 2017 21:27:31 +0000 (23:27 +0200)]
getopt: load profile from args

6 years agogetopt: save args
Christoph Gysin [Sun, 5 Nov 2017 21:26:49 +0000 (23:26 +0200)]
getopt: save args

6 years agoflake8: add config
Christoph Gysin [Sun, 5 Nov 2017 21:00:38 +0000 (23:00 +0200)]
flake8: add config

6 years agoflake8: fix style
Christoph Gysin [Sun, 5 Nov 2017 20:58:19 +0000 (22:58 +0200)]
flake8: fix style

6 years agowe do not supply an init.d script debian/1.2-1
Don Armstrong [Tue, 31 Oct 2017 18:31:15 +0000 (11:31 -0700)]
we do not supply an init.d script

6 years agofix UDEV_RULES_DIR location (and set SYSTEMD_UNIT DIR et al.)
Don Armstrong [Tue, 31 Oct 2017 18:19:22 +0000 (11:19 -0700)]
fix UDEV_RULES_DIR location (and set SYSTEMD_UNIT DIR et al.)

6 years agoadd authors to manpage and link to xrandr(1)
Don Armstrong [Tue, 31 Oct 2017 18:05:00 +0000 (11:05 -0700)]
add authors to manpage and link to xrandr(1)

6 years agoclean up the autorandr manpage some more
Don Armstrong [Tue, 31 Oct 2017 17:57:53 +0000 (10:57 -0700)]
clean up the autorandr manpage some more

6 years agoonly depend on python, not python2
Don Armstrong [Tue, 31 Oct 2017 17:17:15 +0000 (10:17 -0700)]
only depend on python, not python2

6 years agoupdate standards version, no changes
Don Armstrong [Tue, 31 Oct 2017 00:15:39 +0000 (17:15 -0700)]
update standards version, no changes

6 years agoITP is filed now
Don Armstrong [Tue, 31 Oct 2017 00:10:50 +0000 (17:10 -0700)]
ITP is filed now

6 years agoremove .pybuild and autorandr.egg-info
Don Armstrong [Mon, 30 Oct 2017 22:34:19 +0000 (15:34 -0700)]
remove .pybuild and autorandr.egg-info

6 years agoadd debian copyright files
Don Armstrong [Mon, 30 Oct 2017 22:28:10 +0000 (15:28 -0700)]
add debian copyright files

6 years agoadd symlink to upstream service file
Don Armstrong [Mon, 30 Oct 2017 22:28:02 +0000 (15:28 -0700)]
add symlink to upstream service file

6 years agoadd initial work on autorandr packaging
Don Armstrong [Mon, 30 Oct 2017 21:35:18 +0000 (14:35 -0700)]
add initial work on autorandr packaging

6 years agoMerge pull request #84 from Eisfreak7/master
Phillip Berndt [Sat, 21 Oct 2017 13:41:08 +0000 (15:41 +0200)]
Merge pull request #84 from Eisfreak7/master

Improve hook script documentation

6 years agoFix minor formatting inconsistencies
Timo Kaufmann [Sat, 21 Oct 2017 00:35:32 +0000 (19:35 -0500)]
Fix minor formatting inconsistencies

6 years agoDocument the precedences of hook scripts
Timo Kaufmann [Sat, 21 Oct 2017 00:33:28 +0000 (19:33 -0500)]
Document the precedences of hook scripts

6 years agoMention nix as an installation method
Timo Kaufmann [Sat, 21 Oct 2017 00:32:47 +0000 (19:32 -0500)]
Mention nix as an installation method

6 years agoBatch mode: Prefer processes with XAUTHORITY set as environment templates (See #81)
Phillip Berndt [Tue, 17 Oct 2017 09:39:39 +0000 (11:39 +0200)]
Batch mode: Prefer processes with XAUTHORITY set as environment templates (See #81)

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