]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/log
deb_pkgs/autorandr.git
5 months agoNew upstream version 1.14 master upstream/1.14
Don Armstrong [Sat, 18 Nov 2023 05:27:39 +0000 (21:27 -0800)]
New upstream version 1.14

10 months agoBump version to 1.14 1.14
Phillip Berndt [Thu, 22 Jun 2023 14:37:12 +0000 (16:37 +0200)]
Bump version to 1.14

10 months agoUse xcb doc
Matheus Horstmann [Tue, 30 May 2023 04:49:41 +0000 (01:49 -0300)]
Use xcb doc

Signed-off-by: Matheus Horstmann <horstmannmat@hotmail.com>
10 months agoFix makefile
Matheus Horstmann [Tue, 30 May 2023 02:10:26 +0000 (23:10 -0300)]
Fix makefile

Signed-off-by: Matheus Horstmann <horstmannmat@hotmail.com>
10 months agoAdd make file and Create macro to enable local path of autorandr
Matheus Horstmann [Tue, 30 May 2023 01:33:12 +0000 (22:33 -0300)]
Add make file and Create macro to enable local path of autorandr

Signed-off-by: Matheus Horstmann <horstmannmat@hotmail.com>
10 months agoDirect --match-edid renaming of output messages to stderr
Epakai [Fri, 9 Jun 2023 09:53:40 +0000 (04:53 -0500)]
Direct --match-edid renaming of output messages to stderr

This change helps scripts that consume autorandr output to only deal with profile names. My particular concern is with the output from 'autorandr --match-edid --detected'. With this change, only the detected profiles will go to another script. Command line users can still see the relevant messages if they have concerns about which port is in use.

10 months agoFix autorandr-kde.desktop PREFIX
Thiago Kenji Okada [Wed, 21 Jun 2023 22:53:29 +0000 (22:53 +0000)]
Fix autorandr-kde.desktop PREFIX

11 months agoAdd Wayland awareness
Thiago Kenji Okada [Thu, 4 May 2023 20:50:32 +0000 (21:50 +0100)]
Add Wayland awareness

With this commit autorandr will check if the current environment has the
`WAYLAND_DISPLAY` environment variable set. If yes, it will exit
(in interactive mode) or skip (in batch mode), to avoid issues between
xrandr usage and Wayland environments.

11 months agoNew upstream version 1.13.3 upstream/1.13.3
Don Armstrong [Fri, 28 Apr 2023 23:25:30 +0000 (16:25 -0700)]
New upstream version 1.13.3

12 months agoReplaced MAKECMDGOALS with DEFAULT_TARGETS to check for systemd
Patrick Deubel [Tue, 25 Apr 2023 15:31:21 +0000 (17:31 +0200)]
Replaced MAKECMDGOALS with DEFAULT_TARGETS to check for systemd
when installing udev rules

MAKECMDGOALS does not containg "systemd" although systemd is used
on the system. Thus, an incorrect udev rule is created. DEFAULT_TARGETS
however does contain "systemd", because of a check earlier in the
Makefile (lines 83-85).

12 months agoadd fish completions to rpm
VuiMuich [Fri, 14 Apr 2023 23:20:41 +0000 (01:20 +0200)]
add fish completions to rpm

12 months agoadd completions for fish shell
VuiMuich [Fri, 14 Apr 2023 22:59:50 +0000 (00:59 +0200)]
add completions for fish shell

12 months agoMinor "off by one" mistake in manpage
VuiMuich [Mon, 10 Apr 2023 08:16:22 +0000 (10:16 +0200)]
Minor "off by one" mistake in manpage

12 months agocontrib/autorandr_nitrogen_wallpaper
Julian Stiller [Sat, 8 Apr 2023 10:39:29 +0000 (12:39 +0200)]
contrib/autorandr_nitrogen_wallpaper

Make commands independent of location on system
It helps running autorandr_nitrogen_wallpaper on systems without
/bin/bash, /usr/bin/unlink, /bin/cp and /bin/mv. E.g. NixOS, which
doesn't have /bin/bash.

13 months agoAdding my name to contributors list since PR 303 was merged
Sam Coulter [Mon, 13 Mar 2023 17:39:22 +0000 (10:39 -0700)]
Adding my name to contributors list since PR 303 was merged

14 months agoFix typos
Kian-Meng Ang [Fri, 24 Feb 2023 03:09:59 +0000 (11:09 +0800)]
Fix typos

Found via `codespell -L nd`

15 months agoRelease 1.13.3 1.13.3
Phillip Berndt [Tue, 24 Jan 2023 11:55:48 +0000 (12:55 +0100)]
Release 1.13.3

15 months agoRevert "Use add or remove instead of change"
Phillip Berndt [Tue, 24 Jan 2023 11:52:53 +0000 (12:52 +0100)]
Revert "Use add or remove instead of change"

This reverts commit 14f5a9452122f58d083a0a6162adc60d9ef9b697.
The revert fixes #324

15 months agoRelease bug fixes as 1.13.2 1.13.2
Phillip Berndt [Mon, 23 Jan 2023 10:26:32 +0000 (11:26 +0100)]
Release bug fixes as 1.13.2

15 months agoDocument #320 in README
Phillip Berndt [Mon, 23 Jan 2023 10:23:22 +0000 (11:23 +0100)]
Document #320 in README

15 months agoAdded autostart that works in KDE
Matt Alexander [Fri, 20 Jan 2023 18:22:50 +0000 (12:22 -0600)]
Added autostart that works in KDE

15 months agoDocument #321 in README
Phillip Berndt [Mon, 23 Jan 2023 10:21:48 +0000 (11:21 +0100)]
Document #321 in README

15 months agoUse add or remove instead of change
DawidJanczak [Fri, 30 Dec 2022 16:41:57 +0000 (17:41 +0100)]
Use add or remove instead of change

Change gets triggered by probably unrelated things like starting a
browser. This should fix
https://github.com/phillipberndt/autorandr/issues/310

15 months agoDo a final xrandr call to reset the fb size
Phillip Berndt [Mon, 23 Jan 2023 10:17:39 +0000 (11:17 +0100)]
Do a final xrandr call to reset the fb size

Fixes #319

15 months agoFix matching EDIDs with wildcards
Phillip Berndt [Mon, 23 Jan 2023 10:17:09 +0000 (11:17 +0100)]
Fix matching EDIDs with wildcards

Fixes #322

15 months agoRelease 1.13.1 1.13.1
Phillip Berndt [Mon, 16 Jan 2023 08:56:15 +0000 (09:56 +0100)]
Release 1.13.1

15 months agoAdd missing comparisons on version
Phillip Berndt [Mon, 16 Jan 2023 08:55:17 +0000 (09:55 +0100)]
Add missing comparisons on version

15 months agoAdd ge method to custom Version type
Markus Lehtonen [Mon, 16 Jan 2023 08:16:19 +0000 (10:16 +0200)]
Add ge method to custom Version type

Fixes crash with xrandr version comparison.

15 months agoRelease 1.13 1.13
Phillip Berndt [Sun, 15 Jan 2023 14:23:50 +0000 (15:23 +0100)]
Release 1.13

15 months agoUse custom Version class
Phillip Berndt [Sun, 15 Jan 2023 14:20:20 +0000 (15:20 +0100)]
Use custom Version class

Fixes #304

15 months agoPrint error when user script fails
Olli Raula [Wed, 23 Feb 2022 07:25:54 +0000 (09:25 +0200)]
Print error when user script fails

15 months agofixing horizontal-reverse profile which was doing the same thing as vertical-reverse
Magks [Sat, 24 Dec 2022 22:15:30 +0000 (14:15 -0800)]
fixing horizontal-reverse profile which was doing the same thing as vertical-reverse

15 months agoAdd reverse versions of horizontal/vertical virtual profiles
Max Alexander Villa [Fri, 9 Dec 2022 01:30:18 +0000 (17:30 -0800)]
Add reverse versions of horizontal/vertical virtual profiles

Add "vertical-reverse" and "horizontal-reverse" to virtual profiles dictionary and use reversed() iter of configuration dictionary if user selects these.

16 months agoRPM spec: Add conditional Recommends
Frank Dana [Fri, 23 Dec 2022 00:03:04 +0000 (19:03 -0500)]
RPM spec: Add conditional Recommends

16 months agoexecute scripts in directories in a fixed order (by file name)
Franz Berger [Fri, 26 Aug 2022 07:35:23 +0000 (09:35 +0200)]
execute scripts in directories in a fixed order (by file name)

16 months agoQuote arguments in failed command output
Phillip Berndt [Thu, 1 Dec 2022 07:41:15 +0000 (08:41 +0100)]
Quote arguments in failed command output

See #297 and #299

16 months agoFix typo: The parameter is called --skip-options
Phillip Berndt [Thu, 1 Dec 2022 07:37:27 +0000 (08:37 +0100)]
Fix typo: The parameter is called --skip-options

16 months agoConsider skip-options in post-apply-check
Phillip Berndt [Thu, 1 Dec 2022 07:31:29 +0000 (08:31 +0100)]
Consider skip-options in post-apply-check

Otherwise autorandr complains that the profile was not applied
correctly.

16 months agoSupport to skip properties using --skip-option set
Phillip Berndt [Thu, 1 Dec 2022 07:30:36 +0000 (08:30 +0100)]
Support to skip properties using --skip-option set

See bug #297 and bug #299.

16 months agoAdd check for EDID_UNAVAILABLE in EDID hex parsing
Sam Coulter [Mon, 26 Sep 2022 16:12:20 +0000 (09:12 -0700)]
Add check for EDID_UNAVAILABLE in EDID hex parsing

17 months agoAdd profile name to error message when EDID is missing
Tim Schulze-Hartung [Fri, 28 Oct 2022 10:22:30 +0000 (12:22 +0200)]
Add profile name to error message when EDID is missing

18 months agoMakefile: fix install_udev target by s/TARGETS/MAKECMDGOALS/
Florian Schmaus [Thu, 20 Oct 2022 08:48:54 +0000 (10:48 +0200)]
Makefile: fix install_udev target by s/TARGETS/MAKECMDGOALS/

A Gentoo user reported [1] that the 'install_udev' target would
install a systemd-flavored udev rules, despite the 'systemd' target
not being selected. Replacing 'TARGETS' with 'MAKECMDGOALS' in the
Makefile rule fixes this .

I am not sure where the TARGETS variable origniates from, but GNU make
uses MAKECMDGOALS (FreeBSD make uses .TARGETS, i.e., with a leading
dot). So if further portability between make variants is required,
then this needs to be adjusted.

1: https://bugs.gentoo.org/803545#c3
Fixes: ae1f18a06039 ("udev rule: Dynamically call either systemd or autorandr directly depending on whether systemd unit is available")
20 months agoDo not pass --fb when disabling scaling
Phillip Berndt [Sun, 31 Jul 2022 17:40:12 +0000 (19:40 +0200)]
Do not pass --fb when disabling scaling

Second part of the fix for #296.

20 months agoRound up framebuffer size
Phillip Berndt [Sun, 31 Jul 2022 13:47:51 +0000 (15:47 +0200)]
Round up framebuffer size

Rather than rounding down, to make sure the framebuffer is large enough.

Fixes #296

20 months agoLink to the official Gentoo package in the README
Florian Schmaus [Tue, 21 Jun 2022 10:32:41 +0000 (12:32 +0200)]
Link to the official Gentoo package in the README

20 months agoAdd support for transformation filter (--filter)
Franz Berger [Fri, 29 Jul 2022 13:44:10 +0000 (15:44 +0200)]
Add support for transformation filter (--filter)

21 months agoMerge pull request #295 from bastidest/lid-systemd
Phillip Berndt [Mon, 4 Jul 2022 17:25:21 +0000 (19:25 +0200)]
Merge pull request #295 from bastidest/lid-systemd

add autorandr-lid-listener.service to install target in Makefile

21 months agoadd autorandr-lid-listener.service to install target in Makefile
Sebastian Hiebl [Mon, 4 Jul 2022 17:00:31 +0000 (19:00 +0200)]
add autorandr-lid-listener.service to install target in Makefile

21 months agoMerge pull request #293 from flipreverse/master
Phillip Berndt [Wed, 29 Jun 2022 04:57:43 +0000 (06:57 +0200)]
Merge pull request #293 from flipreverse/master

Extended --match-edid to respect a device's serial

21 months agoExtended --match-edid to respect a device's serial
Alexander Lochmann [Sun, 26 Jun 2022 15:14:50 +0000 (17:14 +0200)]
Extended --match-edid to respect a device's serial

Autorandr parses a device's EDID to extract its
serial number. If --match-edid is used and the serial
is available, a profile is first matched based
on the serial number. If not available,
the old EDID-based behavior is used.
This way a profile can be matched precisly, even if
the EDID data changes. This might be the case
if a monitor's connection is switched from HDMI to
VGA, for example.

22 months agoMerge pull request #291 from mikelward/ignorelid
Phillip Berndt [Tue, 14 Jun 2022 09:23:00 +0000 (11:23 +0200)]
Merge pull request #291 from mikelward/ignorelid

Add --ignore-lid to usage message

22 months agoMerge pull request #290 from mikelward/makedeb
Phillip Berndt [Sat, 4 Jun 2022 11:50:38 +0000 (13:50 +0200)]
Merge pull request #290 from mikelward/makedeb

Fix 'make deb' build target to build a .deb package

22 months agoAdd --ignore-lid to usage message
Mikel Ward [Wed, 1 Jun 2022 14:27:44 +0000 (15:27 +0100)]
Add --ignore-lid to usage message

22 months agoMake the Debian package depend on python3 rather than python
Mikel Ward [Wed, 1 Jun 2022 14:21:26 +0000 (15:21 +0100)]
Make the Debian package depend on python3 rather than python

The 'python' package is python2, but autorandr.py targets python3 since
cf4848fe0fe4db3d93477a130dca686e804fb8ff.

22 months agoAdd a leading slash to Debian conffiles paths
Mikel Ward [Wed, 1 Jun 2022 14:18:57 +0000 (15:18 +0100)]
Add a leading slash to Debian conffiles paths

Avoids an error
dpkg-deb: error: conffile name 'etc/xdg/autostart/autorandr.desktop' is not an absolute pathname

23 months agoMerge pull request #288 from utf8please/uid-min
Phillip Berndt [Mon, 9 May 2022 06:05:40 +0000 (08:05 +0200)]
Merge pull request #288 from utf8please/uid-min

Allow overriding min UID with AUTORANDR_UID_MIN env var.

23 months agoAllow overriding min UID with AUTORANDR_UID_MIN env var.
utf8please [Mon, 9 May 2022 05:10:40 +0000 (22:10 -0700)]
Allow overriding min UID with AUTORANDR_UID_MIN env var.

2 years agoNew upstream version 1.12.1 upstream/1.12.1
Don Armstrong [Fri, 22 Apr 2022 23:53:21 +0000 (16:53 -0700)]
New upstream version 1.12.1

2 years agoMerge pull request #283 from 0mp/patch-1
Phillip Berndt [Tue, 15 Mar 2022 18:14:50 +0000 (19:14 +0100)]
Merge pull request #283 from 0mp/patch-1

Mention that FreeBSD ships an autorandr package

2 years agoMerge pull request #282 from 0mp/0mp/posix-install
Phillip Berndt [Tue, 15 Mar 2022 18:13:51 +0000 (19:13 +0100)]
Merge pull request #282 from 0mp/0mp/posix-install

Makefile: Do not use -D with install(1)

2 years agoMention that FreeBSD ships an autorandr package
Mateusz Piotrowski [Tue, 15 Mar 2022 15:40:16 +0000 (16:40 +0100)]
Mention that FreeBSD ships an autorandr package

2 years agoMakefile: Do not use -D with install(1)
Mateusz Piotrowski [Tue, 15 Mar 2022 14:39:51 +0000 (15:39 +0100)]
Makefile: Do not use -D with install(1)

The -D flag is not portable across install(1) implementations.
For portability, it's better to use "mkdir; install" instead of
"install -D".

2 years agoMerge pull request #278 from aviau/aviau/manpage-improvements
Phillip Berndt [Sun, 9 Jan 2022 18:25:08 +0000 (19:25 +0100)]
Merge pull request #278 from aviau/aviau/manpage-improvements

manpage: default options and hook scripts

2 years agoMerge pull request #279 from aviau/aviau/ignore-lid
Phillip Berndt [Sun, 9 Jan 2022 18:23:59 +0000 (19:23 +0100)]
Merge pull request #279 from aviau/aviau/ignore-lid

create `--ignore-lid` flag

2 years agocreate `--ignore-lid` flag
aviau [Sun, 9 Jan 2022 17:57:42 +0000 (12:57 -0500)]
create `--ignore-lid` flag

2 years agomanpage: default options and hook scripts
aviau [Sun, 9 Jan 2022 17:34:43 +0000 (12:34 -0500)]
manpage: default options and hook scripts

2 years agoMerge pull request #276 from rekahsoft/patch-1
Phillip Berndt [Sat, 1 Jan 2022 22:01:53 +0000 (23:01 +0100)]
Merge pull request #276 from rekahsoft/patch-1

README.md: Add section for Guix in install section

2 years agoREADME.md: Add section for Guix in install section
Collin Doering [Sat, 1 Jan 2022 17:39:00 +0000 (12:39 -0500)]
README.md: Add section for Guix in install section

2 years agoMerge pull request #275 from aviau/patch-1
Phillip Berndt [Sat, 25 Dec 2021 17:04:26 +0000 (18:04 +0100)]
Merge pull request #275 from aviau/patch-1

remove caca

2 years agoremove caca
Alexandre Viau [Sat, 25 Dec 2021 16:34:14 +0000 (11:34 -0500)]
remove caca

2 years agoFix modified dictionary iteration as 1.12.1 1.12.1
Phillip Berndt [Wed, 22 Dec 2021 12:25:35 +0000 (13:25 +0100)]
Fix modified dictionary iteration as 1.12.1

See #273

2 years agoUpdate versions to 1.12 everywhere 1.12
Phillip Berndt [Thu, 16 Dec 2021 10:26:56 +0000 (11:26 +0100)]
Update versions to 1.12 everywhere

2 years agoUpdate changelog with #204
Phillip Berndt [Thu, 16 Dec 2021 10:16:11 +0000 (11:16 +0100)]
Update changelog with #204

2 years agoPrefix custom properties with x- and ignore unknown ones
Phillip Berndt [Thu, 16 Dec 2021 10:14:23 +0000 (11:14 +0100)]
Prefix custom properties with x- and ignore unknown ones

2 years agoImprove dry-run output for arguments with whitespace/shell characters
Phillip Berndt [Thu, 16 Dec 2021 10:13:56 +0000 (11:13 +0100)]
Improve dry-run output for arguments with whitespace/shell characters

2 years agoMerge broadcast_rgb feature (#204)
Phillip Berndt [Thu, 16 Dec 2021 09:59:16 +0000 (10:59 +0100)]
Merge broadcast_rgb feature (#204)

2 years agoMerge pull request #248 from spiriou/master
Phillip Berndt [Thu, 16 Dec 2021 09:41:36 +0000 (10:41 +0100)]
Merge pull request #248 from spiriou/master

Add --match-edid option to match profiles based on edid

2 years agoMerge branch 'master' into master
Phillip Berndt [Thu, 16 Dec 2021 09:39:52 +0000 (10:39 +0100)]
Merge branch 'master' into master

2 years agoAdd new options to completion files
Phillip Berndt [Thu, 16 Dec 2021 09:36:28 +0000 (10:36 +0100)]
Add new options to completion files

2 years agoUpdate manpage with new options
Phillip Berndt [Thu, 16 Dec 2021 09:31:56 +0000 (10:31 +0100)]
Update manpage with new options

2 years agoDocument --cycle
Phillip Berndt [Thu, 16 Dec 2021 09:16:48 +0000 (10:16 +0100)]
Document --cycle

2 years agoFix typo in --list changelog
Phillip Berndt [Thu, 16 Dec 2021 09:16:38 +0000 (10:16 +0100)]
Fix typo in --list changelog

2 years agoFix mtime updating for --cycle
Phillip Berndt [Thu, 16 Dec 2021 09:14:19 +0000 (10:14 +0100)]
Fix mtime updating for --cycle

mtime updating resulted in --cycle always switching between the two most
recently used profiles. Invert the sort order if --cycle is in use to
mitigate.

See #244

2 years agoMerge --cycle option (needs work)
Phillip Berndt [Thu, 16 Dec 2021 08:52:19 +0000 (09:52 +0100)]
Merge --cycle option (needs work)

2 years agoFix Typo: ModuleNotFound → ModuleNotFoundError
Phillip Berndt [Thu, 16 Dec 2021 08:42:36 +0000 (09:42 +0100)]
Fix Typo: ModuleNotFound → ModuleNotFoundError

This fixes a typo introduced in #267

2 years agoSwitch default Python interpreter to Python 3
Phillip Berndt [Thu, 16 Dec 2021 08:41:22 +0000 (09:41 +0100)]
Switch default Python interpreter to Python 3

2 years ago--list option: list configuration
Johannes Lange [Mon, 11 Jan 2021 16:47:03 +0000 (17:47 +0100)]
--list option: list configuration

- lists (all) configurations
- can be used with --curent and --detected
- in contrast to no arguments at all, it does not print decorations like "(detected)", "(current)", ...

2 years agoElaborate on settings.ini usage and format
Kyle Kneitinger [Wed, 9 Dec 2020 20:08:32 +0000 (12:08 -0800)]
Elaborate on settings.ini usage and format

2 years agoReplace deprecated distutils with packaging.
Peter Kotvan [Fri, 12 Nov 2021 08:04:33 +0000 (09:04 +0100)]
Replace deprecated distutils with packaging.

This is a fix for #266, a DeprecationWarning about distutils package.

2 years agoUpdate rpm spec with one used in Fedora.
Peter Kotvan [Fri, 12 Nov 2021 11:02:20 +0000 (12:02 +0100)]
Update rpm spec with one used in Fedora.

2 years agoExplain where files are saved
Kevin Lyda [Sun, 11 Jul 2021 13:48:05 +0000 (14:48 +0100)]
Explain where files are saved

For people who manage their home directories with things like vcsh or
other versioning system, it's good to know where configuration files
live.  This CL adds a FILES section to the man page.

2 years agoMatch whitespace explicitly in property name
Luke Arms [Thu, 1 Jul 2021 04:34:56 +0000 (14:34 +1000)]
Match whitespace explicitly in property name

Also:
- Include additional properties

2 years agoImprove readability
Luke Arms [Wed, 30 Jun 2021 23:05:01 +0000 (09:05 +1000)]
Improve readability

2 years agoSave and restore dynamic properties
Luke Arms [Fri, 15 May 2020 03:38:47 +0000 (13:38 +1000)]
Save and restore dynamic properties

2 years agoautorandr.service: Use StartLimitIntervalSec
Florian Schmaus [Fri, 25 Jun 2021 07:46:09 +0000 (09:46 +0200)]
autorandr.service: Use StartLimitIntervalSec

It's time that we use StartLimitIntervalSec as even Debian stable has
a recent enough systemd version.

2 years agoUpdated spec file
Jerzy Drozdz [Mon, 7 Jun 2021 11:54:48 +0000 (13:54 +0200)]
Updated spec file

2 years agoAdd an option to match profiles based on edid
Simon Piriou [Mon, 17 May 2021 09:52:46 +0000 (11:52 +0200)]
Add an option to match profiles based on edid

In some cases the display names change so the profile matching fails.
This commit introduces the "--match-edid" option, that allows one to
specify that the profiles matching should be done based on display edid.

This is done by updating the profiles after loading, based on current
display name/edid mapping requested using xrandr.

3 years agoRefactor: merge --change and --cycle handling
Mikel Ward [Tue, 9 Mar 2021 16:18:54 +0000 (08:18 -0800)]
Refactor: merge --change and --cycle handling

3 years agoAdd --cycle, cycles between detected profiles
Mikel Ward [Tue, 9 Mar 2021 15:54:34 +0000 (07:54 -0800)]
Add --cycle, cycles between detected profiles

Fixes #243

3 years agoReword README regarding environment variables
noughtnaut [Mon, 30 Nov 2020 23:21:05 +0000 (00:21 +0100)]
Reword README regarding environment variables

This clarifies the usage somewhat, without needing changes to existing
functionality. I may look into reworking the variables, but until then
this will be an improvement. That is to say, this is meant to NOT
resolve issue #230.

- Add section heading for variables
- Move `predetect`/`sleep` example up above new section
- Add example usage of variable, and explain the oddity with 'current'
profile during preswitch.