Comment 96 for bug 1295267

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

I have one TV on HDMI, one TV on Thunderboolt III and a skylake laptop display. Every six weeks or so they will go haywire after resume. I run this function though to fix it:

```
$ grep xreset -A5 ~/.bashrc
xreset () {

    # Reset xrandr to normal, first use: xrandr | grep " connected "
    # HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1107mm x 623mm
    # eDP-1-1 connected primary 1920x1080+3840+2160 (normal left inverted right x axis y axis) 382mm x 215mm
    # DP-1-1 connected 3840x2160+1920+0 (normal left inverted right x axis y axis) 1600mm x 900mm
--
} # xreset
```

If it happened more frequently I would assign the function to a hot key like CTRL+SHIFT+ALT+S or something like that.