Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
deadkeys on a swiss german keyboard [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Fri Aug 28, 2009 3:30 pm    Post subject: deadkeys on a swiss german keyboard [SOLVED] Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Aug 28, 2009 3:46 pm    Post subject: Reply with quote

Read hal/evdev sticky ?
Back to top
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Fri Aug 28, 2009 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Sun Aug 30, 2009 5:50 pm    Post subject: hal/evdev sticky? - no alt-gr key combination works anymore Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Aug 30, 2009 6:17 pm    Post subject: Reply with quote

What about "Best upgrade method to Xserver1.5 with Hal and evdev", right in this forum ?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Aug 30, 2009 6:46 pm    Post subject: Reply with quote

In fact, he needs to migrate to the new Xorg method.
Back to top
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Mon Aug 31, 2009 10:01 am    Post subject: Reply with quote

@VoidMage:
sorry i have totally overlooked that one... :oops:
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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Aug 31, 2009 2:22 pm    Post subject: Reply with quote

Yes, I mean that :P
Back to top
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Mon Aug 31, 2009 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Sep 01, 2009 11:32 am    Post subject: Reply with quote

No problem :P

Plz add SOLVED in the title :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum