Comments (5)
The issue might be that autorandr does not correctly distinguish between disconnected and connected outputs when disabling them.
Is the log from before or after the script tried to run autorandr? If it's from after, please disable the udev script for now (or recreate the log from the sleep.d-script, before autorandr is run) and attach what xrandr --verbose
outputs then. autorandr -c --dry-run
's output and the two configuration files for your default
configuration might be helpful, too.
I also find it funny that autorandr reports all of your configurations as "detected".. is this intentional? If it isn't, please also post those configuration/setup files!
from autorandr.
I am no longer able to reproduce this issue. I installed wertarbyte/autorandr, with which everything worked. Than I again installed your version of autorandr, which then also worked.
The posted log file was after running autorandr. However, the output is the same before and after running autorandr, since it aborted with an error and did not change anything.
Autorandr should not have detected the 'extern' configuration, since it used both external monitors which were not connected anymore.
from autorandr.
The posted log file was after running autorandr. However, the output is the same before and after
running autorandr, since it aborted with an error and did not change anything.
xrandr does not revert to the old settings if a part of the command fails. A non-zero exit state does not imply that nothing changed.
Autorandr should not have detected the 'extern' configuration, since it used both external monitors
which were not connected anymore.
Do you still have the setup
file for the extern configuration?
from autorandr.
Do you still have the setup file for the extern configuration?
$cat extern/config
output DP1
off
output DP2
off
output DP3
off
output HDMI1
off
output HDMI2
off
output VIRTUAL1
off
output LVDS1
off
output VGA1
mode 1920x1080
pos 0x0
rate 60.00
output HDMI3
mode 1680x1050
pos 1920x0
rate 59.88
$cat extern/setup
HDMI3 00ffffffffffff001e6d78567202010007120103ea312078eaaec5a2574a9c25125054a76b80950081808140714f01010101010101017c2e90a0601a1e4030203600da281100001a21399030621a274068b03600da281100001c000000fd00384b1e530f000a202020202020000000fc0057323234320a2020202020202000f0
LVDS1 00ffffffffffff0030aeb240000000000113010380221378ea2135ad5037aa24115054000000010101010101010101010101010101014c368082703832403c30aa0058c1100000183f2d8082703832403c30aa0058c1100000180000000f00d10932d109281b190006af5634000000fe004231353648573031205634200a00d6
VGA1 00ffffffffffff0034a44536010101012714010368341e782aeed5a555489b26125054bfef80b300a940950081408180950f714f9040023a801871382d40582c450009252100001e000000ff005630333954533630353034350a000000fd00374c1d5111000a202020202020000000fc004d442032303331300a202020200057
the default configuration has VGA1 und HDMI3 turned off and only LVDS1 (the laptop monitor) turned on
from autorandr.
Thanks! I can't reproduce this either. Apparently this was fixed with 36372f5 (HEAD~49), that was the newest version for which I could reproduce this issue.
from autorandr.
Related Issues (20)
- Question: should autorandr systemd service change profile when external monitor is unplugged? HOT 2
- Use of --skip-options breaks --current HOT 1
- Parsing XRandR output failed HOT 1
- Detected Wayland session 'wayland-0'. Exiting.
- Failed to apply profile because xrandr cannot find mode
- postscript loses authentication for systemctl commands after suspending HOT 1
- Unhandled exception (local variable 'output' referenced before assignment) HOT 1
- Broken regexes due to missing `r` string literal HOT 6
- Unable to save lid state when using NVIDIA GPU (no eDP / LVDS output)
- Total system crash + soundloop could be caused by autorandr
- Total system crash + soundloop could be caused by autorandr
- No XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE events HOT 2
- Prevent profile change with screen lock HOT 1
- Additional Documentation HOT 7
- autorandr.service "Failed to load profile: 'xxx' : Profile not found" althoug profile exists HOT 1
- Failed to apply profile due to `--crtc` option HOT 2
- Incorrect profile settings HOT 1
- autorandr /usr/bin/autorandr:210: SyntaxWarning: invalid escape sequence '\s' XRANDR_OUTPUT_REGEXP = """(?x) /usr/bin/autorandr:236: SyntaxWarning: invalid escape sequence '\s' """ + XRANDR_PROPERTIES_REGEXP + """ | # Properties to include in the profile /usr/bin/autorandr:248: SyntaxWarning: invalid escape sequence '\S' XRANDR_OUTPUT_MODES_REGEXP = """(?x) /usr/bin/autorandr:592: SyntaxWarning: invalid escape sequence '\s' version = re.search("xrandr program version\s+([0-9\.]+)", version_string).group(1) /usr/bin/autorandr:888: SyntaxWarning: invalid escape sequence '\+' match = re.match("(?P<w>[0-9]+)x(?P<h>[0-9]+)(?:\+(?P<x>[0-9]+))?(?:\+(?P<y>[0-9]+))?.*", output.options["panning"]) HOT 6
- please support appimage , or binary file HOT 1
- Enabling udev rule / systemd service on a per-user basis? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorandr.