summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index 754a97037..32d40bb1e 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -31,6 +31,14 @@ class XF86Config:
self.keyRules = "xfree86"
self.keyModel = "pc101"
self.keyLayout = "us"
+ # XXX temp hack to get GUI installs working on sparc
+ try:
+ f = open ("/dev/kbd", "r")
+ f.close()
+ self.keyRules = "sun"
+ self.keyModel = "type5"
+ except:
+ pass
self.keyVariant = ""
self.keyOptions = ""