Old World (Europe) Powerbook G# Swiss-German Keyboard.

Hammer Armin yellowdog-general@lists.terrasoftsolutions.com
Tue May 20 12:17:01 2003


This is a multi-part message in MIME format.
--------------020905050805060708060807
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Jon,

i've done it recently and can give you some tips...

First character mode (aka console). Check your file /etc/sysconfig/keyboard.

My settings

KEYBOARDTYPE="pc"
KEYTABLE="sg"

configure the system PC-like but usable.
@ = Apple+2
# = Apple+3
[] = Apple+ü and Apple+¨
{} = Apple+ä and Apple+$
\ = Apple+<
The rest is just as written on the keys.

X-Windows was more challenging. First I've tried
with different keyboard settings in /etc/X11/XF86Config.

My actual settings are (in the keyboard section):

#Option	"XkbOptions"	"ctrl:swapcaps"
Option	"XkbRules"	"xfree86"
Option	"XkbModel"	"pc105"
Option	"XkbLayout"	"de_CH"
#Option	"XkbVariant"	""
#Option	"XkbOptions"	""

Not very successfull. I've missed, just as you, the @ and other
C-Programming-Characters....

That's why i've put together all keycodes using xmodmap and xev.
(See the Attachement)
Name the file .Xmodmap and copy it to your $HOME and restart your
X-Window.

It modifies the keyboard layout to the same behaviour as the one
in the console, including Apple+G as @.


Jon Kofal wrote:
> Has anyone instructions on how to get this keyboard working in BOTH
> X-Windows and CHaracter mode?
> 
> I've run both redhat-config-keyboard and the packaged XWindows keyboard
> configuration and get good results (except @ key) in X-Windows, but the
> Character mode is a total mess.
> 
> Perhaps just a concise general Linux Keyboard support would help.
> 
> Thanks,
> Jon K
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> 
> 

-- 

      mit freundlichen Gruessen / Yours
		 Armin Hammer

================================================
                        Powered By Mozilla

--------------020905050805060708060807
Content-Type: text/plain; x-mac-type="54455854"; x-mac-creator="43574945";
 name="Xmodmap"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Xmodmap"

! aha - 20030504 - Powerbook G4 (2001) Keyboard Swiss German 
!                - PC105 und org. Tastaturbeschriftung konfiguriert

keycode   8 =
keycode   9 = Escape
keycode  10 = 1 plus bar 
keycode  11 = 2 quotedbl at
keycode  12 = 3 asterisk numbersign
keycode  13 = 4 ccedilla
keycode  14 = 5 percent bracketleft
keycode  15 = 6 ampersand bracketright
keycode  16 = 7 slash bar backslash
keycode  17 = 8 parenleft braceleft Ograve
keycode  18 = 9 parenright braceright Ocircumflex
keycode  19 = 0 equal notequal Uacute
keycode  20 = apostrophe question questiondown
keycode  21 = asciicircum grave asciitilde
keycode  22 = BackSpace 
keycode  23 = Tab ISO_Left_Tab
keycode  24 = q Q
keycode  25 = w W Greek_SIGMA Aacute
keycode  26 = e E trademark Ediaeresis
keycode  27 = r R registered Egrave
keycode  28 = t T dagger Icircumflex
keycode  29 = z Z Greek_OMEGA Iacute
keycode  30 = u U degree Ugrave
keycode  31 = i I exclamdown
keycode  32 = o O oslash
keycode  33 = p P Greek_pi Greek_PI
keycode  34 = udiaeresis egrave bracketleft 
keycode  35 = dead_diaeresis exclam bracketright 
keycode  36 = Return
keycode  37 = Control_L
keycode  38 = a A aring Aring
keycode  39 = s S ssharp
keycode  40 = d D Greek_delta
keycode  41 = f F section doubledagger
keycode  42 = g G at comma
keycode  43 = h H ordfeminine periodcentered
keycode  44 = j J masculine
keycode  45 = k K
keycode  46 = l L notsign
keycode  47 = odiaeresis eacute 
keycode  48 = adiaeresis agrave braceleft
! keycode  49 = less greater lessthanequal greaterthanequal
keycode  49 = section degree numbersign
keycode  50 = Shift_L
keycode  51 = dollar sterling braceright 
keycode  52 = y Y yen Ydiaeresis
keycode  53 = x X similarequal ydiaeresis
keycode  54 = c C copyright diamond
keycode  55 = v V
keycode  56 = b B ssharp
keycode  57 = n N dead_tilde
keycode  58 = m M mu
keycode  59 = comma semicolon guillemotleft guillemotright
keycode  60 = period colon NoSymbol division
keycode  61 = minus underscore emdash endash
keycode  62 = Shift_R
keycode  63 = KP_Multiply
keycode  64 = Alt_L
keycode  65 = space NoSymbol nobreakspace nobreakspace
keycode  66 = Caps_Lock
keycode  67 = F1
keycode  68 = F2
keycode  69 = F3
keycode  70 = F4
keycode  71 = F5
keycode  72 = F6
keycode  73 = F7
keycode  74 = F8
keycode  75 = F9
keycode  76 = F10
keycode  77 = Num_Lock Pointer_EnableKeys
keycode  78 =
keycode  79 = KP_7 KP_Home
keycode  80 = KP_8 KP_Up
keycode  81 = KP_9 KP_Prior
keycode  82 = KP_Subtract
keycode  83 = KP_4 KP_Left
keycode  84 = KP_5 KP_Begin
keycode  85 = KP_6 KP_Right
keycode  86 = KP_Add
keycode  87 = KP_1 KP_End
keycode  88 = KP_2 KP_Down
keycode  89 = KP_3 KP_Next
keycode  90 = KP_0 KP_Insert
keycode  91 = KP_Separator KP_Delete
keycode  92 =
keycode  93 =
keycode  94 = less greater backslash lessthanequal greaterthanequal
keycode  95 = F11
keycode  96 = F12
keycode  97 = Home
keycode  98 = Up
keycode  99 = Prior
keycode 100 = Left
keycode 101 =
keycode 102 = Right
keycode 103 = End
keycode 104 = Down
keycode 105 = Next
keycode 106 = Insert
keycode 107 = Delete
keycode 108 = KP_Enter
keycode 109 = Control_R
keycode 110 =
keycode 111 =
keycode 112 = KP_Divide
keycode 113 = Alt_R
keycode 114 =
! keycode 115 = Meta_L
keycode 115 = Mode_switch
keycode 116 =
keycode 117 =
keycode 118 = Print
keycode 119 = Scroll_Lock
keycode 120 = Pause
! keycode 222 = Power-On Key

clear shift
clear lock
clear control
clear mod1
clear mod2
clear mod3
clear mod4
clear mod5

add shift = Shift_L Shift_R
add lock  = Caps_Lock
add control = Control_L Control_R
add mod1 = Alt_L Alt_R
add mod2 = Mode_switch 
add mod3 = Meta_L
add mod4 = Meta_L
add mod5 = Scroll_Lock



--------------020905050805060708060807--