summaryrefslogtreecommitdiffstats
path: root/mga-bg-res/mga-bg-res.sh
Commit message (Collapse)AuthorAgeFilesLines
* - remove default.jpg symlink (now in mageia-theme specBarry Jackson2016-09-171-1/+0
| | | | - remove commented code from Makefile
* switch curlink to default.png and link default.jpg to itBarry Jackson2016-09-101-7/+9
|
* Copy background at correct aspect ratio as ↵Barry Jackson2016-09-061-0/+3
| | | | /boot/grub2/themes/grub2-mageia-default.png if themes dir exists
* Fix 16:9 reference resolution for Mageia 6 artwork (3840x2160)Rémi Verschelde2016-08-151-3/+5
|
* 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.