You are not logged in.

#1 2008-01-01 21:08:32

alphahsk
Member
From: Norway
Registered: 2007-01-22
Posts: 40

Keymap in OpenBox

I have keymap defined in rc.conf as this: KEYMAP="no-latin1"

This works well in the system shell before any WM or DE is loaded. But loading OpenBox brings back a US keymap. How do I set the keymap for OpenBox to use?

Offline

#2 2008-01-01 21:39:42

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Keymap in OpenBox

setxkbmap no

Offline

#3 2008-01-01 22:10:59

alphahsk
Member
From: Norway
Registered: 2007-01-22
Posts: 40

Re: Keymap in OpenBox

setxkbmap no

Care to elaborate..?

Offline

#4 2008-01-01 22:17:15

alphahsk
Member
From: Norway
Registered: 2007-01-22
Posts: 40

Re: Keymap in OpenBox

I added the two following lines to xorg.conf (Section "InputDevice") and now it works:

Options        "Xkblayout" "no"
Options        "XkbModel" "pc105"

Last edited by alphahsk (2008-01-01 22:29:26)

Offline

#5 2008-01-01 22:26:03

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Keymap in OpenBox

alphahsk wrote:

setxkbmap no

Care to elaborate..?

sorry:
setxkbmap            (1)  - set the keyboard using the X Keyboard Extension

Offline

#6 2008-01-01 22:38:28

alphahsk
Member
From: Norway
Registered: 2007-01-22
Posts: 40

Re: Keymap in OpenBox

sorry:
setxkbmap            (1)  - set the keyboard using the X Keyboard Extension

Does that go in xorg.conf ?

Offline

#7 2008-01-12 23:20:16

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Keymap in OpenBox

i have this (setxkbmap de) in my ~/.xinitrc. when you´re using openbox-session put that into your ~/.config/openbox/autostart.sh.
sorry for the delayed answer. i forgot about this post.

vlad

Offline

#8 2008-01-13 08:36:42

SNP
Member
From: Athens / Greece
Registered: 2007-12-05
Posts: 18

Re: Keymap in OpenBox

im using these settings for my xorg.conf to add Greek language support for the keyboard

Section "InputDevice"
    Identifier "Keyboard Identifier"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,gr"
    Option "XkbOptions" "grp:alt_shift_toggle,altwin:super_win,grp_led:scroll"
EndSection

XkbOptions string is to enable the alt+shift keylayout switching, enabling the win_key and turning the Scroll Lock led light on when Greek is selected.

Offline

Board footer

Powered by FluxBB