rytmisk
April 11th, 2008, 09:05 AM
Now I am really confused. I have finally come around to installing ubuntu hardy on my macbook santa rosa and am in the process of configuring it. I need to use something other than gnome (because gnome handles windows strangely on a program I am depandant on), and I like icewm better anyway. One problem of not using gnome or kde is the lack of a proper keyboard switcher applet so I had to do it in xorg.conf.
Well I googled a lot and ended up with the following section in xorg.conf:Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "se, no"
Option "XkbVariant" "mac"
Option "XkbOptions" "grp:alt_shift_toggle" ##<-- Enables Alt+Shift
EndSection
I also added fbxkb to be abke to switch graphically as well as with keyboard. And it works - except tat the second language is garbled. In the above version of xorg.conf Swedish is working perfectly, but when I switch to Norwegian some of the keys give different letters/symbols. I think they might be third level letters. the top row of letters which should be "qwertyuiopå" is "@ł€®þ←↓→œþ¨"
The strange thing is that if I write "no" before "se" in the xorg.conf file,
Option "XkbLayout" " no, se" it is Swedish that is screwed up... The difference between the keyboard layouts are minor really, but there are 2 letters that are different, and these work - but this is useless since I have to switch keyboard layout from one letter to the next...
Does anyone have any idea of how to fix this??
Best regards
Ketil Thorgersen
Well I googled a lot and ended up with the following section in xorg.conf:Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "se, no"
Option "XkbVariant" "mac"
Option "XkbOptions" "grp:alt_shift_toggle" ##<-- Enables Alt+Shift
EndSection
I also added fbxkb to be abke to switch graphically as well as with keyboard. And it works - except tat the second language is garbled. In the above version of xorg.conf Swedish is working perfectly, but when I switch to Norwegian some of the keys give different letters/symbols. I think they might be third level letters. the top row of letters which should be "qwertyuiopå" is "@ł€®þ←↓→œþ¨"
The strange thing is that if I write "no" before "se" in the xorg.conf file,
Option "XkbLayout" " no, se" it is Swedish that is screwed up... The difference between the keyboard layouts are minor really, but there are 2 letters that are different, and these work - but this is useless since I have to switch keyboard layout from one letter to the next...
Does anyone have any idea of how to fix this??
Best regards
Ketil Thorgersen