You are not logged in.

#1 2009-04-05 12:41:19

SomeoneWithAPurpose
Member
Registered: 2009-04-02
Posts: 26

My keyboard layout changes when im in Openbox [SOLVED]

Hey all, I have a problem.

When i'm in a bash shell / terminal, like xterm or urxvt, my keyboard layout is fine..

But when I switch to something like firefox, I have a problem. I suddently use the US layout, instead of the Danish layout.

How can I fix this?

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "dk"
        Option "XkbVariant" ""
EndSection

I don't know if it matters, but I posted my xorg.conf keyboard part.

Thanks for your time.

Last edited by SomeoneWithAPurpose (2009-04-05 15:26:37)

Offline

#2 2009-04-05 12:51:29

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: My keyboard layout changes when im in Openbox [SOLVED]

Read this please.

It's not 'suddenly' - US one is the default layout.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-04-05 13:00:52

SomeoneWithAPurpose
Member
Registered: 2009-04-02
Posts: 26

Re: My keyboard layout changes when im in Openbox [SOLVED]

Okay, well... Thanks man... I'm a total noob at this.

But that still doesn\t answer my question.

Last edited by SomeoneWithAPurpose (2009-04-05 13:09:00)

Offline

#4 2009-04-05 13:02:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: My keyboard layout changes when im in Openbox [SOLVED]

Xorg defaults to the lingua franca of the internet smile. The change to HAL for configuring input devices has been only recent though (Xorg server 1.5).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2009-04-05 13:09:49

SomeoneWithAPurpose
Member
Registered: 2009-04-02
Posts: 26

Re: My keyboard layout changes when im in Openbox [SOLVED]

B wrote:

Xorg defaults to the lingua franca of the internet smile. The change to HAL for configuring input devices has been only recent though (Xorg server 1.5).

Excuse me?

Offline

#6 2009-04-05 13:16:15

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: My keyboard layout changes when im in Openbox [SOLVED]

It's all in the wiki entry wink.

Wikipedia entry for 'lingua franca':

A lingua franca (from Italian, literally meaning Frankish language [...]) is a language systematically used to communicate between persons not sharing a mother tongue, in particular when it is a third language, distinct from both persons' mother tongues.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2009-04-05 13:47:18

SomeoneWithAPurpose
Member
Registered: 2009-04-02
Posts: 26

Re: My keyboard layout changes when im in Openbox [SOLVED]

That't wasn't what I was looking for man...

What I want to know is how do I make firefox understand that I want the danish keyboard layout and not the US one?

Offline

#8 2009-04-05 14:18:15

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: My keyboard layout changes when im in Openbox [SOLVED]

Well 'Excuse me' can mean anything - so I responded to what I thought you were wondering about.

Still - my answer is in the Arch wiki link. Please read it smile.

I'll repeat: it's Xorg. Not Firefox. Not Openbox.

Do you think Firefox checks what keyboard you are using? Have you falsified your own conclusion? Have you run another program (word processor e.g.) to see whether that program does think your keyboard layout is Danish?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2009-04-05 14:39:03

SomeoneWithAPurpose
Member
Registered: 2009-04-02
Posts: 26

Re: My keyboard layout changes when im in Openbox [SOLVED]

Okay, listen... I read your wiki link and it didn't give me any answer.

If I run ANYTHING terminal based, it recognizes my keyboard layout as Danish, and this is perfect. But when I run firefox, it recognizes it as an US keyboard layout. THAT is the problem.

I want firefox to recognize the Danish layout and not the US one.

EDIT: Even aMSN recognizes my keyboard as Danish.

Last edited by SomeoneWithAPurpose (2009-04-05 14:40:13)

Offline

#10 2009-04-05 15:08:09

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: My keyboard layout changes when im in Openbox [SOLVED]

My bad - I didn't see it worked in terminal emulators. I'm at loss.

You did run a full update did you? Xorg on the current repos does not configure the keyboard by itself anymore - as I already said, and as that wiki link explains. So, if you are up to date, the keyboard section you posted is irrelevant, Xorg will ignore it.

Last edited by B (2009-04-05 15:25:07)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#11 2009-04-05 15:17:46

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: My keyboard layout changes when im in Openbox [SOLVED]

B wrote:

My bad - I didn't see it worked in terminal emulators. I'm at loss.

You did run a full update did you? Xorg on the current repos does not configure the keyboard by itself anymore - as I already said, and as that wiki link explain. So, if you are up to date, the keyboard section you posted is irrelevant, Xorg will ignore it.

Unless he puts:

Section "ServerFlags"
    Option "AutoAddDevices" "False"
EndSection

in xorg.conf. Then Xorg works as before.

Last edited by thunderogg (2009-04-05 15:18:26)

Offline

#12 2009-04-05 15:26:19

SomeoneWithAPurpose
Member
Registered: 2009-04-02
Posts: 26

Re: My keyboard layout changes when im in Openbox [SOLVED]

Oh lol... I think I had to update... I imagined since the first install, Xorg was at it's newest version. Updating xorg solved it like you said B.

Thanks both of you for your help smile

Offline

Board footer

Powered by FluxBB