Search
SailfishOS Open Build Service
>
Projects
>
home:notmart
:
Mer_Extras
:
Adaptation:Archos-gen9
:
pvr
>
x11-resume-hack
> pvr-archos-gen9-x11-resume-black-screen-hack.sh
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pvr-archos-gen9-x11-resume-black-screen-hack.sh of Package x11-resume-hack
#!/bin/bash # # Problem: After resuming from suspended state the screen remains black. # Workaround: Repeatedly turn the output off and on via xrandr. # # This hack is as ugly as it gets but it works for now. # # Author: Ruediger Gad <r.c.g@gmx.de> # # This file is provided as-is, for free, and without any warranty. # XAUTHORITY=/home/mer/.Xauthority DISPLAY=:0 xrandr --output pvr0 --off XAUTHORITY=/home/mer/.Xauthority DISPLAY=:0 xrandr --output pvr0 --auto XAUTHORITY=/home/mer/.Xauthority DISPLAY=:0 xrandr --output pvr0 --off XAUTHORITY=/home/mer/.Xauthority DISPLAY=:0 xrandr --output pvr0 --auto