[PATCH] Source user .Xmodmap, required for accessibility
Bernie Innocenti
bernie at codewiz.org
Fri Aug 20 09:46:31 EDT 2010
Signed-off-by: Bernie Innocenti <bernie at codewiz.org>
---
usr/bin/olpc-session | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/usr/bin/olpc-session b/usr/bin/olpc-session
index 8d17e1d..145cac8 100755
--- a/usr/bin/olpc-session
+++ b/usr/bin/olpc-session
@@ -119,7 +119,8 @@ if [ -e "$HOME/.olpc-active-desktop" ]; then
fi
fi
-# source custom user session, if present
+# source custom user xmodmap and xsession, if present
+[ -f "$HOME/.Xmodmap" ] && xmodmap "$HOME/.Xmodmap"
[ -f "$HOME/.xsession" ] && . "$HOME/.xsession"
# useful for performance work
--
1.7.2.1
More information about the Devel
mailing list