Commit Graph

545 Commits

Author SHA1 Message Date
Phillip Berndt
d5847f7288 Release bug fixes as 1.13.2 2023-01-23 11:26:32 +01:00
Phillip Berndt
cd20b703ca Document #320 in README 2023-01-23 11:23:27 +01:00
Matt Alexander
cbae7c8eff Added autostart that works in KDE 2023-01-23 11:22:50 +01:00
Phillip Berndt
d10cbb5eb1 Document #321 in README 2023-01-23 11:21:53 +01:00
DawidJanczak
14f5a94521 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
2023-01-23 11:21:05 +01:00
Phillip Berndt
9aa18d7bd9 Do a final xrandr call to reset the fb size
Fixes #319
2023-01-23 11:18:47 +01:00
Phillip Berndt
4fcc1c277f Fix matching EDIDs with wildcards
Fixes #322
2023-01-23 11:17:09 +01:00
Phillip Berndt
0ca5ca9d0a Release 1.13.1 2023-01-16 09:56:15 +01:00
Phillip Berndt
d285fd5fd4 Add missing comparisons on version 2023-01-16 09:55:17 +01:00
Markus Lehtonen
3ba0a2c5ef Add ge method to custom Version type
Fixes crash with xrandr version comparison.
2023-01-16 09:52:50 +01:00
Phillip Berndt
4bb03ef208 Release 1.13 2023-01-15 15:23:50 +01:00
Phillip Berndt
5c2bd23f35 Use custom Version class
Fixes #304
2023-01-15 15:20:20 +01:00
Olli Raula
b8eb298a22 Print error when user script fails 2023-01-15 15:08:07 +01:00
Magks
1d896af332 fixing horizontal-reverse profile which was doing the same thing as vertical-reverse 2023-01-15 15:06:28 +01:00
Max Alexander Villa
237f339f13 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.
2023-01-15 15:06:28 +01:00
Frank Dana
de2a1fb3c3 RPM spec: Add conditional Recommends 2022-12-23 08:38:01 +01:00
Franz Berger
9ab39c001c execute scripts in directories in a fixed order (by file name) 2022-12-01 08:44:21 +01:00
Phillip Berndt
a8dfbda0d4 Quote arguments in failed command output
See #297 and #299
2022-12-01 08:41:15 +01:00
Phillip Berndt
0dc563f5ab Fix typo: The parameter is called --skip-options 2022-12-01 08:37:27 +01:00
Phillip Berndt
dbd2f7b0d1 Consider skip-options in post-apply-check
Otherwise autorandr complains that the profile was not applied
correctly.
2022-12-01 08:33:46 +01:00
Phillip Berndt
5a6ded231f Support to skip properties using --skip-option set
See bug #297 and bug #299.
2022-12-01 08:33:46 +01:00
Sam Coulter
4db718e759 Add check for EDID_UNAVAILABLE in EDID hex parsing 2022-12-01 08:33:34 +01:00
Tim Schulze-Hartung
8c385f5e86 Add profile name to error message when EDID is missing 2022-11-22 10:16:20 +01:00
Florian Schmaus
ef1896d776 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: ae1f18a060 ("udev rule: Dynamically call either systemd or autorandr directly depending on whether systemd unit is available")
2022-10-20 11:19:56 +02:00
Phillip Berndt
4653ea6c5d Do not pass --fb when disabling scaling
Second part of the fix for #296.
2022-07-31 19:40:12 +02:00
Phillip Berndt
ffd20489a2 Round up framebuffer size
Rather than rounding down, to make sure the framebuffer is large enough.

Fixes #296
2022-07-31 15:49:10 +02:00
Florian Schmaus
ab6b3e21f2 Link to the official Gentoo package in the README 2022-07-31 15:32:17 +02:00
Franz Berger
caba488583 Add support for transformation filter (--filter) 2022-07-31 15:31:57 +02:00
Phillip Berndt
7005d09ff5
Merge pull request #295 from bastidest/lid-systemd
add autorandr-lid-listener.service to install target in Makefile
2022-07-04 19:25:21 +02:00
Sebastian Hiebl
1235a3d4c8
add autorandr-lid-listener.service to install target in Makefile 2022-07-04 19:00:31 +02:00
Phillip Berndt
89609c8d42
Merge pull request #293 from flipreverse/master
Extended --match-edid to respect a device's serial
2022-06-29 06:57:43 +02:00
Alexander Lochmann
d9b195311d 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.
2022-06-28 22:34:01 +02:00
Phillip Berndt
6a0c9873cd
Merge pull request #291 from mikelward/ignorelid
Add --ignore-lid to usage message
2022-06-14 11:23:00 +02:00
Phillip Berndt
eba8f34715
Merge pull request #290 from mikelward/makedeb
Fix 'make deb' build target to build a .deb package
2022-06-04 13:50:38 +02:00
Mikel Ward
d133f63bde Add --ignore-lid to usage message 2022-06-01 15:27:44 +01:00
Mikel Ward
7c988a647a Make the Debian package depend on python3 rather than python
The 'python' package is python2, but autorandr.py targets python3 since
cf4848fe0f.
2022-06-01 15:21:26 +01:00
Mikel Ward
3040ed4434 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
2022-06-01 15:18:57 +01:00
Phillip Berndt
8937d3e844
Merge pull request #288 from utf8please/uid-min
Allow overriding min UID with AUTORANDR_UID_MIN env var.
2022-05-09 08:05:40 +02:00
utf8please
d75a27a310 Allow overriding min UID with AUTORANDR_UID_MIN env var. 2022-05-08 22:10:40 -07:00
Phillip Berndt
c3cf83cb7c
Merge pull request #283 from 0mp/patch-1
Mention that FreeBSD ships an autorandr package
2022-03-15 19:14:50 +01:00
Phillip Berndt
583cd8c816
Merge pull request #282 from 0mp/0mp/posix-install
Makefile: Do not use -D with install(1)
2022-03-15 19:13:51 +01:00
Mateusz Piotrowski
6827f8d417
Mention that FreeBSD ships an autorandr package 2022-03-15 16:40:16 +01:00
Mateusz Piotrowski
2bc71d5627 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".
2022-03-15 15:39:51 +01:00
Phillip Berndt
51dfd46ffc
Merge pull request #278 from aviau/aviau/manpage-improvements
manpage: default options and hook scripts
2022-01-09 19:25:08 +01:00
Phillip Berndt
8c1fb4421a
Merge pull request #279 from aviau/aviau/ignore-lid
create `--ignore-lid` flag
2022-01-09 19:23:59 +01:00
aviau
a016c0a415
create --ignore-lid flag 2022-01-09 12:58:45 -05:00
aviau
e74f41a5c1
manpage: default options and hook scripts 2022-01-09 12:41:21 -05:00
Phillip Berndt
a4202b3150
Merge pull request #276 from rekahsoft/patch-1
README.md: Add section for Guix in install section
2022-01-01 23:01:53 +01:00
Collin Doering
11e6d63ddc
README.md: Add section for Guix in install section 2022-01-01 12:39:00 -05:00
Phillip Berndt
eef7a1be35
Merge pull request #275 from aviau/patch-1
remove caca
2021-12-25 18:04:26 +01:00