sddm/sddm-0.18.0-autorotate.patch

16 lines
704 B
Diff
Raw Normal View History

diff -Nru sddm-0.18.0.orig/data/scripts/Xsetup sddm-0.18.0/data/scripts/Xsetup
--- sddm-0.18.0.orig/data/scripts/Xsetup 2018-09-01 22:09:38.000000000 +0200
+++ sddm-0.18.0/data/scripts/Xsetup 2018-09-15 13:30:03.040962028 +0200
@@ -1,3 +1,4 @@
#!/bin/sh
# Xsetup - run as root before the login dialog appears
+[ -e /usr/share/autorotate/autorotate ] && /usr/share/autorotate/autorotate
diff -Nru sddm-0.18.0.orig/data/scripts/Xstop sddm-0.18.0/data/scripts/Xstop
--- sddm-0.18.0.orig/data/scripts/Xstop 2018-09-01 22:09:38.000000000 +0200
+++ sddm-0.18.0/data/scripts/Xstop 2018-09-15 13:30:21.253040007 +0200
@@ -1,2 +1,3 @@
#!/bin/sh
# Xstop - run as root after stopping X
+killall -9 autorotate