FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-19-2012, 10:55 AM
Christian Frey
 
Default USB keyboard problems / USB layout / USB xkbmap

OK, let's write it up properly

1.) During Installation of Wheezy, I had to exchange my Logitech K340
with a PS/2 keyboard in order to install Wheezy as the USB-Keyboard
did not react in the installer of Wheezy (although it did in the BIOS
and also, interestingly, in Squeeze installer - as a test).
Installation went fine, except that I would prefer that if one has
choosen the system language (i.e. English), the list appearing later
for countries to determine such things as currency etc. consists only
of English speaking countries. Contrary, the keyboard could be choosen
properly as Swiss German. So, after login (I use GNOME/WHEEZY), my old
PS/2 worked properly (i.e. no z and y change or Umlaute such as ä,
ö...). Then I attached the Logitech K340 USB keyboard, the keyboard
works but the language settings don't, i.e. I have obviously a GB
layout. The only way to change this so far is to use:

setxkbmap ch

After executing this commmand, everything works fine - in the terminal
as well as in GNOME, meaning I have the proper layout (I know that
there are specific problems with Wheezy and USB keyboards known, and
it is suggested to activate Legacy support in the BIOS. I have first
to check if I have this option in the BIOS at all. Remark: Ubuntu
10.10 does not have all these problems).

2.) My etc/default/keyboard looks ok:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="ch"
XKBVARIANT=""
XKBOPTIONS="terminate:ctrl_
alt_bksp"

BACKSPACE="guess"

3.) The problem seems to be known, if looking here also in ArchLinux:
http://www.loggn.de/arch-linux-xorg-deutsches-tastaturlayout-logitech-k340-tastatur-schnurlos/

If this problem is specific to K340, I do not know. So far I know that
setxkbmap ch helps to solve it. How can I automatize this command such
that I don't have to enter it after every startup ? In ArchLinux, it
was put in autostart of openbox. GNOME has also an autostart, there I
put it - but seems not to work (maybe I have to check again).

Anyway, also this is not a "clean" solution. There should be a way to
fix that properly. Thanks!
Chris


Am 19. März 2012 12:36 schrieb Camaleón <noelamac@gmail.com>:

On Sat, 17 Mar 2012 20:36:18 +0100, Christian Frey wrote:

> Hey together,

Wow... what a mess. Sir, no html postings, please.

(...)

> I have to say that I want to have the system language English and the
> locale Region setting set to Switzerland as well as the Keyboard. The
> System Setting GUI shows me that I have British English as Language, as
> Format UK and as Layout Swiss German keyboard. I guess it mixes
> somehwere up between Format and Layout. Also it was not possible during
> install, after choosing English as sys language to choose as Format
> Switzerland. However, the keyboard I could choose as Swiss one.

I'm not sure to have properly understood the issue... are you saying your
keyboard layout is not the desired? If yes, what's the current one and
what do you want to get?

If you are using a graphical DE, this can be set from the keyboard
configuration settings. If you're on console, you can edit "/etc/default/
keyboard" file.

> How can I fix this issue // Thx./ A reconfigure of the keyboard
> configuration respectively of the locales did not really help. *The
> Format cannot be changed in the GUI.

It is not clear to me what you understand for "keyboard format" :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/jk75og$6c2$7@dough.gmane.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAD5x0EYqFLLw3EPJERhC0m+-JdA-kfihmqXWNeuVOAKUchxQ=A@mail.gmail.com">http://lists.debian.org/CAD5x0EYqFLLw3EPJERhC0m+-JdA-kfihmqXWNeuVOAKUchxQ=A@mail.gmail.com
 
Old 03-19-2012, 03:24 PM
Camaleón
 
Default USB keyboard problems / USB layout / USB xkbmap

On Mon, 19 Mar 2012 12:55:35 +0100, Christian Frey wrote:

> OK, let's write it up properly

(...)

I already replied to this in your first thread.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jk7mkb$6c2$24@dough.gmane.org">http://lists.debian.org/jk7mkb$6c2$24@dough.gmane.org
 
Old 03-19-2012, 04:25 PM
Kelly Clowers
 
Default USB keyboard problems / USB layout / USB xkbmap

On Mon, Mar 19, 2012 at 04:55, Christian Frey
<christian.frey.ch@gmail.com> wrote:
> OK, let's write it up properly

<snip>
> Then I attached the Logitech K340 USB keyboard, the keyboard
> works but the language settings don't, i.e. I have obviously a GB
> layout. The only way to change this so far is to use:
>
> setxkbmap ch
>
> After executing this commmand, everything works fine - in the terminal
> as well as in GNOME, meaning I have the proper layout (I know that
> there are specific problems with Wheezy and USB keyboards known, and
> it is suggested to activate Legacy support in the BIOS. I have first
> to check if I have this option in the BIOS at all. Remark: Ubuntu
> 10.10 does not have all these problems).
>
> 2.) My etc/default/keyboard looks ok:
>
> # KEYBOARD CONFIGURATION FILE
>
> # Consult the keyboard(5) manual page.
>
> XKBMODEL="pc105"
> XKBLAYOUT="ch"
> XKBVARIANT=""
> XKBOPTIONS="terminate:ctrl_alt_bksp"
>
> BACKSPACE="guess"

<snip>

Lets see, a couple of things to check. The /etc/default/keyboard file
sets the console as well, so you can try rebooting and choose to go
into single user mode (recovery mode). That way you can see if
something at a higher runlevel (in gnome or similar) is overriding it
or if it not applying in the first place.

Another test would be to reboot and before running "setxkbmap ch"
run "setxkbmap -query", which will print the current setup.

If it is ok at first, but gets overridden, we will have to track down
what is changing it. If it is not setting it correctly in the first place,
we need to figure out why.


Cheers,
Kelly Clowers


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAFoWM=8+fKXTgO2y71=aVedhwRE1-ZiC=9JE5cNL+itckcFACQ@mail.gmail.com">http://lists.debian.org/CAFoWM=8+fKXTgO2y71=aVedhwRE1-ZiC=9JE5cNL+itckcFACQ@mail.gmail.com
 
Old 03-20-2012, 05:35 PM
Christian Frey
 
Default USB keyboard problems / USB layout / USB xkbmap

Thank you both for your efforts! I finally had some time to look at it again:

1.) Booting into the recovery mode results in the same, i.e. z and y
are changed as well as other keyboard specific issues such as Umlaute
(ä.ö etc.) do not work.

2.) Executing setkbmap - query in normal mode shows that the layout is
ch - although it is obviously not. Note that the problem exists due to
a post also in Arch Linux, with the same keyboard and German (de)
layout.

3.) I could fix it by putting a *.desktop file into
/usr/share/gnome/autostart, executing setxkbmap (full path was
necessary, else it did not work), i.e.:

[Desktop Entry]
Type=Application
Exec=/usr/bin/X11/setxkbmap ch
Hidden=false
X-GNOME-Autostart-enabled=true
Name=setkeyboard


I have in the meanwhile submitted this issue as a bug to Debian
concerning package X11 - although it might concern another package.

greetings, chris


Am 19. März 2012 18:25 schrieb Kelly Clowers <kelly.clowers@gmail.com>:
> On Mon, Mar 19, 2012 at 04:55, Christian Frey
> <christian.frey.ch@gmail.com> wrote:
>> OK, let's write it up properly
>
> <snip>
>> Then I attached the Logitech K340 USB keyboard, the keyboard
>> works but the language settings don't, i.e. I have obviously a GB
>> layout. The only way to change this so far is to use:
>>
>> setxkbmap ch
>>
>> After executing this commmand, everything works fine - in the terminal
>> as well as in GNOME, meaning I have the proper layout (I know that
>> there are specific problems with Wheezy and USB keyboards known, and
>> it is suggested to activate Legacy support in the BIOS. I have first
>> to check if I have this option in the BIOS at all. Remark: Ubuntu
>> 10.10 does not have all these problems).
>>
>> 2.) My etc/default/keyboard looks ok:
>>
>> # KEYBOARD CONFIGURATION FILE
>>
>> # Consult the keyboard(5) manual page.
>>
>> XKBMODEL="pc105"
>> XKBLAYOUT="ch"
>> XKBVARIANT=""
>> XKBOPTIONS="terminate:ctrl_alt_bksp"
>>
>> BACKSPACE="guess"
>
> <snip>
>
> Lets see, a couple of things to check. The /etc/default/keyboard file
> sets the console as well, so you can try rebooting and choose to go
> into single user mode (recovery mode). That way you can see if
> something at a higher runlevel (in gnome or similar) is overriding it
> or if it not applying in the first place.
>
> Another test would be to reboot and before running "setxkbmap ch"
> run "setxkbmap -query", which will print the current setup.
>
> If it is ok at first, but gets overridden, we will have to track down
> what is changing it. If it is not setting it correctly in the first place,
> we need to figure out why.
>
>
> Cheers,
> Kelly Clowers
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CAFoWM=8+fKXTgO2y71=aVedhwRE1-ZiC=9JE5cNL+itckcFACQ@mail.gmail.com
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAD5x0EaD2+27TujDZoXgEco062nZL1z01p_X6gRmP7cdxDnvd A@mail.gmail.com">http://lists.debian.org/CAD5x0EaD2+27TujDZoXgEco062nZL1z01p_X6gRmP7cdxDnvd A@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 12:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org