summaryrefslogtreecommitdiffstats
path: root/displayconfig/40guidance-displayconfig_restore
diff options
context:
space:
mode:
Diffstat (limited to 'displayconfig/40guidance-displayconfig_restore')
-rw-r--r--displayconfig/40guidance-displayconfig_restore11
1 files changed, 11 insertions, 0 deletions
diff --git a/displayconfig/40guidance-displayconfig_restore b/displayconfig/40guidance-displayconfig_restore
new file mode 100644
index 0000000..27f35a1
--- /dev/null
+++ b/displayconfig/40guidance-displayconfig_restore
@@ -0,0 +1,11 @@
+# Set the X server resolution to that selected by the user.
+#
+# This needs to be done before windows managers or X clients start,
+# otherwise the DPI and fonts sizes get all screwed up.
+#
+# http://www.simonzone.com/software/guidance
+#
+# This file is sourced by Xsession(5), not executed.
+# The "|| true" is to ensure that the Xsession script does not terminate
+# and stop the login if something fails in the Python program.
+/opt/kde3/bin/displayconfig-restore || true