summaryrefslogtreecommitdiffstats
path: root/mga-bg-res/mga-bg-res.sh
Commit message (Collapse)AuthorAgeFilesLines
* Use monitor-edid directly instead of monitor-probeRémi Verschelde2015-05-091-5/+3
| | | | | monitor-probe falls back to monitor-probe-using-X which is broken since X dropped its -probeonly switch (mga#15896) The logic used in mga-bg-res to parse the resolution was probably not adapted to the expected output from monitor-probe-using-X anyway.
* Make sure to default to 4:3 aspect ratio if monitor-probe fails (previous ↵Rémi Verschelde2015-05-091-3/+5
| | | | fix was incomplete)
* Fix exit value when symlink is already correctRémi Verschelde2015-05-091-1/+1
|
* Make mga-bg-res a systemd service that uses monitor-probeRémi Verschelde2015-05-021-0/+47
Now runs as a systemd service with root privileges, therefore the mga-bg-res C binary is no longer needed. Uses monitor-probe to find the optimal resolution when X is not yet started, and handles cases where monitor-probe fails by defaulting to 4:3 aspect ratio.