summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator_consts.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-03-09 14:06:43 +0000
committerStew Benedict <stewb@mandriva.org>2001-03-09 14:06:43 +0000
commit6b0613af8c90dc4eb630d1e33d3c8689560b83ad (patch)
treead9c39abc03d27fa2924e846849ba12808471b59 /perl-install/Xconfigurator_consts.pm
parent1ef0b14c86da39c3cbf1ddf0bd3ef19e359dc790 (diff)
downloaddrakx-backup-do-not-use-6b0613af8c90dc4eb630d1e33d3c8689560b83ad.tar
drakx-backup-do-not-use-6b0613af8c90dc4eb630d1e33d3c8689560b83ad.tar.gz
drakx-backup-do-not-use-6b0613af8c90dc4eb630d1e33d3c8689560b83ad.tar.bz2
drakx-backup-do-not-use-6b0613af8c90dc4eb630d1e33d3c8689560b83ad.tar.xz
drakx-backup-do-not-use-6b0613af8c90dc4eb630d1e33d3c8689560b83ad.zip
keyboard mapping for PPC
Diffstat (limited to 'perl-install/Xconfigurator_consts.pm')
-rw-r--r--perl-install/Xconfigurator_consts.pm41
1 files changed, 41 insertions, 0 deletions
diff --git a/perl-install/Xconfigurator_consts.pm b/perl-install/Xconfigurator_consts.pm
index d04d6f734..43c063feb 100644
--- a/perl-install/Xconfigurator_consts.pm
+++ b/perl-install/Xconfigurator_consts.pm
@@ -114,6 +114,7 @@ use common qw(:common);
$good_default_monitor = "High Frequency SVGA, 1024x768 at 70 Hz";
$low_default_monitor = "Super VGA, 800x600 at 56 Hz";
+
%standard_monitors = (
__("Standard VGA, 640x480 at 60 Hz") => [ '640x480@60', "31.5" , "60" ],
__("Super VGA, 800x600 at 56 Hz") => [ '800x600@56', "31.5-35.1" , "55-60" ],
@@ -506,6 +507,46 @@ $keyboardsection_part3_v4 = '
Option "XkbGeometry" "sun(type5)"
Option "XkbSymbols" "sun/us(sun5)"
';
+} elsif (arch() =~ /ppc/) {
+$keyboardsection_part3 = '
+# To customise the XKB settings to suit your keyboard, modify the
+# lines below (which are the defaults). For example, for a non-U.S.
+# keyboard, you will probably want to use:
+# XkbModel "pc102"
+# If you have a US Microsoft Natural keyboard, you can use:
+# XkbModel "microsoft"
+#
+# Then to change the language, change the Layout setting.
+# For example, a german layout can be obtained with:
+# XkbLayout "de"
+# or:
+# XkbLayout "de"
+# XkbVariant "nodeadkeys"
+#
+# If you\'d like to switch the positions of your capslock and
+# control keys, use:
+# XkbOptions "ctrl:swapcaps"
+
+# These are the default XKB settings for XFree86
+# XkbRules "xfree86"
+# XkbModel "pc101"
+# XkbLayout "us"
+# XkbVariant ""
+# XkbOptions ""
+
+ XkbKeycodes "xfree86"
+ XkbTypes "default"
+ XkbCompat "default"
+ XkbSymbols "macintosh/us"
+ XkbGeometry "macintosh"
+ XkbRules "xfree86"
+ XkbModel "macintosh"
+';
+
+$keyboardsection_part3_v4 = '
+ Option "XkbRules" "xfree86"
+ Option "XkbModel" "macintosh"
+';
} else {
$keyboardsection_part3 = '
# To customise the XKB settings to suit your keyboard, modify the