You are not logged in.

#1 2010-08-09 17:28:16

mishanya
Member
Registered: 2010-06-18
Posts: 32

[solved] can not switch keybd layout after update

xorg

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

rc

LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Moscow"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

10-keymap.fdi

<strong><merge key="input.xkb.layout" type="string">us,ru</merge>
      <merge key="input.xkb.variant" type="string">,winkeys</merge>
      <merge key="input.xkb.options" type="string">grp:alt_shift_toggle</merge></strong>
    </match>
  </device>
</deviceinfo>

Ive tried xorg

Option "XkbLayout"  "us, ru"
Option "XkbOptions" "grp:caps_toggle" or "...grp:alt_shift_tpggle"

with no result

yesterday pacman asked me if i would like to replace some two file, I did not give it much attention, and today my layouts do not work.
have to use setxkbmap -layout every time.

here is pacman.log, i think i was asked to replace perlxml and kernel... if im not mistaking

[2010-08-09 00:08] Running 'pacman -Suy'
[2010-08-09 00:08] synchronizing package lists
[2010-08-09 00:08] starting full system upgrade
[2010-08-09 00:11] removed kernel26-firmware (2.6.33.4-1)             
[2010-08-09 00:11] removed perlxml (2.36-2)                                   
[2010-08-09 00:11] upgraded sqlite3 (3.6.23.1-1 -> 3.7.0.1-1)
[2010-08-09 00:12] upgraded tzdata (2010j-1 -> 2010k-1)
[2010-08-09 00:12] Generating locales...
[2010-08-09 00:12]   en_US.UTF-8... done
[2010-08-09 00:12]   en_US.ISO-8859-1... done
[2010-08-09 00:12]   ru_RU.KOI8-R... done
[2010-08-09 00:12]   ru_RU.UTF-8... done
[2010-08-09 00:12]   ru_RU.ISO-8859-5... done
[2010-08-09 00:12] Generation complete.

Last edited by mishanya (2010-08-09 18:30:48)

Offline

#2 2010-08-09 17:39:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

Tried putting it into /etc/xorg.conf.d/?

Offline

#3 2010-08-09 17:40:37

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [solved] can not switch keybd layout after update

Xorg now uses udev for all settings and not hal. hal is deprecated, but you might still need it for some apps

Head over to the wiki and search for Udev, read through and you will find the solutions for setting up the keyboard mouse and other devices there.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2010-08-09 17:45:48

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

putting what? /etc/X11/xorg.conf.d/ is a directory:

10-evdev.conf   10-synaptics.conf
10-quirks.conf  20-nvidia.conf

did you mean 10-evdev.conf?

Offline

#5 2010-08-09 17:48:07

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

thanks Inxsible i'll try that

Offline

#6 2010-08-09 17:53:56

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

looks like this is the problem:

setxkbmap -print -verbose to 10
Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+to(10)+inet(evdev)
geometry:   pc(pc104)
xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)"    };
    xkb_types     { include "complete"    };
    xkb_compat    { include "complete"    };
    xkb_symbols   { include "pc+to(10)+inet(evdev)"    };
    xkb_geometry  { include "pc(pc104)"    };
};

Offline

#7 2010-08-09 17:54:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

mishanya wrote:

putting what? /etc/X11/xorg.conf.d/ is a directory:

10-evdev.conf   10-synaptics.conf
10-quirks.conf  20-nvidia.conf

did you mean 10-evdev.conf?

In the wiki I've found suggestion in form of keyboard.conf so maybe the name dosn't matter that much.
http://wiki.archlinux.org/index.php/Xor … rd_Layouts

Offline

#8 2010-08-09 17:56:54

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] can not switch keybd layout after update

@mishanya we don't have a magic ball to know what stupid things you added in those configs. Paste them!


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2010-08-09 18:19:43

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

thanks karol ive replaced the 10-evdev.conf file with the one in instruction and it worked, although i had to remove the "Option "XkbVariant" ", phonetic"" part, as otherwise all the letters were in the wrong places.

wonder ive posted all the files ive ever modified in the beginning didnt touch configs in /etc/X11/xorg.conf.d/

Offline

#10 2010-08-09 18:21:38

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

i still get that warning response, though:

setxkbmap -print -verbose to 10Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete+ledscroll(group_lock)
symbols:    pc+to(10)+inet(evdev)+group(alt_shift_toggle)+terminate(ctrl_alt_bksp)
geometry:   pc(pc104)
xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)"    };
    xkb_types     { include "complete"    };
    xkb_compat    { include "complete+ledscroll(group_lock)"};
    xkb_symbols   { include "pc+to(10)+inet(evdev)+group(alt_shift_toggle)+terminate(ctrl_alt_bksp)"    };
    xkb_geometry  { include "pc(pc104)"    };
};

Offline

#11 2010-08-09 18:22:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

mishanya wrote:

i still get that warning response, though:

setxkbmap -print -verbose to 10Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete+ledscroll(group_lock)
symbols:    pc+to(10)+inet(evdev)+group(alt_shift_toggle)+terminate(ctrl_alt_bksp)
geometry:   pc(pc104)
xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)"    };
    xkb_types     { include "complete"    };
    xkb_compat    { include "complete+ledscroll(group_lock)"};
    xkb_symbols   { include "pc+to(10)+inet(evdev)+group(alt_shift_toggle)+terminate(ctrl_alt_bksp)"    };
    xkb_geometry  { include "pc(pc104)"    };
};

You did remove the old ones, right?

Offline

#12 2010-08-09 18:29:06

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

you suggest i remove the 10-keymap.fdi file (the only one ive modified for the layout purpose) or only the layout section inside it? Inxsible sad there is not much use of hal now. I saved a copy of 10-evdev.conf file on my desktop, dont think it should cause any trouble.

Offline

#13 2010-08-09 18:31:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

mishanya wrote:

you suggest i remove the 10-keymap.fdi file (the only one ive modified for the layout purpose) or only the layout section inside it? Inxsible sad there is not much use of hal now. I saved a copy of 10-evdev.conf file on my desktop, dont think it should cause any trouble.

You should remove / rename that file. As for HAL, some apps still use it, so don't uninstall it just yet.

Offline

#14 2010-08-09 18:36:08

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

ok ill try, though my personal policy is "if it works do not touch it" smile

Offline

#15 2010-08-09 18:46:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

mishanya wrote:

ok ill try, though my personal policy is "if it works do not touch it" smile

Does it work for you atm?

Offline

#16 2010-08-09 19:03:44

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

you mean a cash machine? never works for me either, says "insufficient funds every damn time"... probably some bug in software, cant find time to report it, though.

Offline

#17 2010-08-09 19:04:59

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [solved] can not switch keybd layout after update

mishanya wrote:

you mean a cash machine? never works for me either, says "insufficient funds every damn time"... probably some bug in software, cant find time to report it, though.

Haha !

nice one mishanya !


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#18 2010-08-09 19:06:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

mishanya wrote:

you mean a cash machine? never works for me either, says "insufficient funds every damn time"... probably some bug in software, cant find time to report it, though.

atm = at the moment
Do you have any errors or is it all running as you want?

Offline

#19 2010-08-09 19:17:45

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [solved] can not switch keybd layout after update

karol wrote:
mishanya wrote:

you mean a cash machine? never works for me either, says "insufficient funds every damn time"... probably some bug in software, cant find time to report it, though.

atm = at the moment
Do you have any errors or is it all running as you want?

I think he was kidding. If not, I will have to take back my "Haha"s in my earlier post wink


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#20 2010-08-09 19:19:11

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

well ive just removed the 10-keymap.fdi file completely, but i still get that:

Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server...

though my layouts work just great. got no idea what that might be.

Offline

#21 2010-08-09 19:21:29

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

always happy to put a smile on smbd's face smile

Offline

#22 2010-08-09 19:22:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

mishanya wrote:

well ive just removed the 10-keymap.fdi file completely, but i still get that:

Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server...

though my layouts work just great. got no idea what that might be.

grep your /etc to find out.

Offline

#23 2010-08-09 19:23:54

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [solved] can not switch keybd layout after update

mishanya wrote:

always happy to put a smile on smbd's face smile

No there is no need for you to enable the samba daemon for keyboard problems wink tongue

Ok, that's too much fluff in this thread....so I am gonna stop posting

Last edited by Inxsible (2010-08-09 19:24:39)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#24 2010-08-09 19:25:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] can not switch keybd layout after update

Inxsible wrote:
mishanya wrote:

always happy to put a smile on smbd's face smile

No there is no need for you to enable the samba daemon for keyboard problems wink tongue

Ok, that's too much fluff in this thread....so I am gonna stop posting

Wow, that was great :-)
Post the conversation to "I know I'm a nerd because ..." ;P

Offline

#25 2010-08-09 19:27:13

mishanya
Member
Registered: 2010-06-18
Posts: 32

Re: [solved] can not switch keybd layout after update

grep your /etc. ok, how do I do that?!

Offline

Board footer

Powered by FluxBB