summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-04-28 19:17:18 +0000
committerMatt Wilson <msw@redhat.com>2000-04-28 19:17:18 +0000
commit3eb17acb72651f53036a2f86507110d3bf7d7115 (patch)
treebbc3d250b5b3b332364c4fc5b6e7c96c8ce33a9a /xf86config.py
parentabef042f5e405fb0446aed05201698745a3f8b74 (diff)
downloadanaconda-3eb17acb72651f53036a2f86507110d3bf7d7115.tar.gz
anaconda-3eb17acb72651f53036a2f86507110d3bf7d7115.tar.xz
anaconda-3eb17acb72651f53036a2f86507110d3bf7d7115.zip
a little more cleanup
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index 891a6d125..34b332a98 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -1017,6 +1017,8 @@ if __name__ == "__main__":
# x.modes["32"] = [ "640x480" ]
print x.screenSection ()
+# stuff from xserver.py
+
# server = os.fork()
# if not server:
# print "starting", serverPath
@@ -1056,3 +1058,32 @@ if __name__ == "__main__":
# args.append("-logfile")
# args.append("/dev/null")
# os.execv(serverPath, args)
+
+# # --------------------------------------------------
+# keycodes = "xfree86"
+# symbols = "us(pc101)"
+# geometry = "pc"
+# rules = "xfree86"
+# model = "pc101"
+
+# kbd = Keyboard()
+# if kbd.type == 'Sun':
+# rules = "sun"
+# model = kbd.model
+# keycodes = "sun(" + kbd.model + ")"
+# if model == 'type4':
+# geometry = "sun(type4)"
+# symbols = "sun/us(sun4)"
+# else:
+# if model == 'type5':
+# geometry = "sun"
+# elif model == 'type5_euro':
+# geometry = "sun(type5euro)"
+# else:
+# geometry = "sun(type5unix)"
+# symbols = "sun/us(sun5)"
+# if kbd.layout == 'en_US':
+# symbols = symbols + "+iso9995-3(basic)"
+# elif kbd.layout != 'us':
+# symbols = symbols + "+" + kbd.layout
+