View previous topic :: View next topic |
Author |
Message |
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Fri Aug 28, 2009 3:30 pm Post subject: deadkeys on a swiss german keyboard [SOLVED] |
|
|
Hi
I have swiss german keyboard and i have made various attempts to
get rid of the deadkeys, i.e., i want to get a tilde or a hat or a grave accent
to appear when i hit the key once (and not twice, or followed by a space).
I have tried two keyboard entries in xorg.conf: Code: | Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 5"
Option "XkbModel" "pc102"
Option "XkbLayout" "de_CH"
Option "XkbVariant" "nodeadkeys"
EndSection
| and Code: | Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 5"
Option "XkbModel" "pc102"
Option "XkbLayout" "de"
Option "XkbVariant" "ch"
Option "XkbVariant" "nodeadkeys"
EndSection
|
Both these versions don't work: the tilde is not displayed at all, even when typed several time or followed by a space,
and hat (^) and grave (`) still behave like dead keys.
Does anybody have a suggestion how i should modify my xorg.conf, so that my swissgerman
keyboard has no deadkeys?
Thank You
Jody
Last edited by jody on Tue Sep 01, 2009 3:33 pm; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Aug 28, 2009 3:46 pm Post subject: |
|
|
Read hal/evdev sticky ? |
|
Back to top |
|
|
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Fri Aug 28, 2009 5:20 pm Post subject: |
|
|
Quote: | Read hal/evdev sticky ?
|
Ummm - i don't know what you mean by that.
Could you please explain?
Thank You
Jody |
|
Back to top |
|
|
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Sun Aug 30, 2009 5:50 pm Post subject: hal/evdev sticky? - no alt-gr key combination works anymore |
|
|
Hi
regarding my keyboard problem i was told to read the "hal/evdev sticky".
I've checked the sticky-entries in all the gentoo-forums but none of them
was titled "hal/edev" or similar.
My ordeal has worsened after modifying my xorg.conf back and forth
several times: i am now unable to type any character involving "Alt Gr", i.e.
no "at", no hash, no pipe (vertical bar), no "broken pipe" (vertical bar with hole in the middle),
no forward slanted quote (acute accent), no back-slash, no tilde, no square brackets,
no curly brackets, and none of the umlaut characters.
In other words, i have managed to become the proud owner of a completely useless laptop...
I really, really would appreciate some hints to what has gone wrong,
and how i could fix things again.
Here's my current xorg.conf Code: | Section "ServerLayout"
Identifier "simple layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
EndSection
Section "Module"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "ServerFlags"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 5"
Option "XkbModel" "pc102"
Option "XkbLayout" "de_CH"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mouse3"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko"
HorizSync 30.0 - 75.0
VertRefresh 60.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7000M / nForce 610M"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1440x900 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
Currently i would be glad to have my original state back, where i *did* have dead keys - sigh!
Thank you
Jody |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Aug 30, 2009 6:46 pm Post subject: |
|
|
In fact, he needs to migrate to the new Xorg method. |
|
Back to top |
|
|
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Mon Aug 31, 2009 10:01 am Post subject: |
|
|
@VoidMage:
sorry i have totally overlooked that one...
I'll dig into this !
@d2_racing:
what exactly do you mean by "migrate to the new Xorg method"?
Do you mean this which is discussed in the sticky, i.e. removing the input device sections
from xorg.conf and changing the *.fdi files in /etc/hal/fdi/policy?
Thank You
Jody |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Aug 31, 2009 2:22 pm Post subject: |
|
|
Yes, I mean that |
|
Back to top |
|
|
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Mon Aug 31, 2009 7:29 pm Post subject: |
|
|
yippeee - success at last!
Thanks to you d2_racing for your fdi example and
thanks to you VoidMage for your repeated urging in the sticky thread
to read '/usr/share/X11/xkb/rules/xorg.lst' i now have a file
'/etc/hal/fdi/policy/10-x11-input.fdi' for a swiss-german keyboard
with no deadkeys: Code: | $ cat /etc/hal/fdi/policy/10-x11-input.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<!-- Mouse configuration -->
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
<!-- Keyboard configuration -->
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.x11_driver" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">ch</merge>
<merge key="input.xkb.variant" type="string">de_nodeadkeys</merge>
<append key="input.xkb.options" type="strlist">compose:menu</append>
</match>
</device>
</deviceinfo> |
Thanks again, guys!
Jody |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Sep 01, 2009 11:32 am Post subject: |
|
|
No problem
Plz add SOLVED in the title |
|
Back to top |
|
|
|