Bug#600490: Russian phonetic layout on a jp keyboard?

2010-12-08 Thread Dima Pasechnik
On 8 December 2010 14:18, Samuel Thibault sthiba...@debian.org wrote:
 Dima Pasechnik, le Thu 02 Dec 2010 12:26:11 +0800, a écrit :
 $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
  layouts = [jp        jp106]
  options = [terminate terminate:ctrl_alt_bksp,grp     
 grp:ctrl_shift_toggle,grp       grp:alt_space_toggle,grp        
 grp:menu_toggle,grp     grp:sclk_toggle]
  model = toshiba_s3000

 Note jp106 string in gconftool-2.

 Indeed it looks suspicious.

 I do not know where it comes from (do I still have an old config file
 lying around?) and whether it is harmless.

 Well, in the gconf case, the config file is the gconf database, more
 precisely ~/.gconf/desktop/gnome/peripherals/keyboard. You can use the
 gconftool-2 command to change it.

I used the gconf-editor to erase jp106 substring from layouts,
and this has cured the popup error messages.
This also disabled Russian keyboard, though.
gconftool-2 showed
layouts = [jp], as expected.

Then I added the keyboard I need via Gnome interface, and got it working.
gconftool-2 shows
layouts = [jp, ru  phonetic]
as it was needed.

I suppose this is resolved is some way, at least for me.
(probably the squeeze installer/updater needs to be more aggressive in cleaning
up unknown options...)

Thank you all for your time,
Dmitrii.

PS. I wish the experience of fixing this did not resemble editing
Windows registry that much :-)



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinjeh1eyjtd0t7-y6jkfpdff2+tns1g8jq8q...@mail.gmail.com



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-12-08 Thread Samuel Thibault
Dima Pasechnik, le Wed 08 Dec 2010 19:17:55 +0800, a écrit :
 Then I added the keyboard I need via Gnome interface, and got it working.
 gconftool-2 shows
 layouts = [jp, ru  phonetic]
 as it was needed.
 
 I suppose this is resolved is some way, at least for me.

Yes.

 (probably the squeeze installer/updater needs to be more aggressive in 
 cleaning
 up unknown options...)

Well, that'd be gnome's matter actually.

 PS. I wish the experience of fixing this did not resemble editing
 Windows registry that much :-)

Well, it definitely looks like editing Windows registry to me.

Samuel



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101208113045.gm5...@const



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-12-07 Thread Samuel Thibault
Dima Pasechnik, le Thu 02 Dec 2010 12:26:11 +0800, a écrit :
 $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
  layouts = [jpjp106]
  options = [terminate terminate:ctrl_alt_bksp,grp 
 grp:ctrl_shift_toggle,grp   grp:alt_space_toggle,grp
 grp:menu_toggle,grp grp:sclk_toggle]
  model = toshiba_s3000
 
 Note jp106 string in gconftool-2.

Indeed it looks suspicious.

 I do not know where it comes from (do I still have an old config file
 lying around?) and whether it is harmless.

Well, in the gconf case, the config file is the gconf database, more
precisely ~/.gconf/desktop/gnome/peripherals/keyboard. You can use the
gconftool-2 command to change it.

 The model string content there is totally random, of course, and has
 nothing to do with the real keyboard.

Samuel



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101208061815.ga7...@const



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-12-02 Thread Samuel Thibault
Dima Pasechnik, le Thu 02 Dec 2010 12:26:11 +0800, a écrit :
 I still get an occasional gnome popup indicating an xkb error.

What is the error?

Samuel



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101202215025.gl4...@const.famille.thibault.fr



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-12-02 Thread Dima Pasechnik
On 3 December 2010 05:50, Samuel Thibault sthiba...@debian.org wrote:
 Dima Pasechnik, le Thu 02 Dec 2010 12:26:11 +0800, a écrit :
 I still get an occasional gnome popup indicating an xkb error.

 What is the error?

Error activating XKB configuration.
It can happen under various circumstances.
[...]
Xserver version data
The X.Org Foundation
Version 10707000

If you report this as a bug, please include:
- The result of ... [...]

I already followed the latter part of the popup message in my previous email.

I certainly get this popup on startup, in the centre of the otherwise
empty screen, and then after each resume (from RAM) from sleep.
(Perhaps in other cases too, but I am not sure).
The popup after resume is persistent, i.e. clicking OK in the popup
immediately pops up the same window at the same place.

There seems to be nothing of it reflected in /var/log/Xorg.0.log,
dmesg, console terminal from which X was started, or anywhere esle I
can think of...

It does not affect the actual keyboard functioning.

Dmitrii



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikzmqkmqw429x7orsbmwoybc-5aeu22d-yev...@mail.gmail.com



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-12-01 Thread Dima Pasechnik
On 29 November 2010 07:36, Samuel Thibault sthiba...@debian.org wrote:
[...]
 yes. In my /etc/X11/xorg.conf I used to have, in the keyboard section,
 Option XkbLayout jp,ru(phonetic)
 Option XkbVariant jp106
 and it worked.
 Now I can select Russia Phonetic keyboard in Gnome Keyboard
 Preferences, but then I am stuck with Cyrillic characters only - the
 switching does not work. The only way out is to remove this keyboard
 choice and restart X.

 Did you try to put the same kind of parameter as xorg.conf into
 /etc/default/keyboard? It should be working exactly the same as
 xorg.conf (except that it'll additionally work on the linux console
 too!)

Just tried it, and yes, it does fix the problem! Thank you for your time.

I still get an occasional gnome popup indicating an xkb error.
It asks to provide the following outputs:
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = evdev, acpi, jp,ru, ,
grp:alt_shift_toggle
_XKB_RULES_NAMES(STRING) = evdev, acpi, jp,ru(phonetic), ,
grp:alt_shift_toggle

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [jp  jp106]
 options = [terminate   terminate:ctrl_alt_bksp,grp 
grp:ctrl_shift_toggle,grp   grp:alt_space_toggle,grp
grp:menu_toggle,grp grp:sclk_toggle]
 model = toshiba_s3000

Note jp106 string in gconftool-2.
I do not know where it comes from (do I still have an old config file
lying around?) and whether it is harmless.

The model string content there is totally random, of course, and has
nothing to do with the real keyboard.

[...]

Best,
Dmitrii



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimriwer55hojo59dikhew2rc2_miwbcvz1no...@mail.gmail.com



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-11-28 Thread Samuel Thibault
Dima Pasechnik, le Fri 26 Nov 2010 18:59:15 +0800, a écrit :
 On 25 November 2010 18:00, Samuel Thibault sthiba...@debian.org wrote:
  Dima Pasechnik, le Thu 25 Nov 2010 12:35:45 +0800, a écrit :
  Installing the upgrades mentioned here did not enable any options for
  choosing the phonetic layout for Russian on the Japanese keyboard.
 
  You mean typing Russian on a Japanese keyboard?  I didn't know about
  such thing.  Why option were you using to achieve that?  I guess you are
  talking about X keyboard layout, right?
 
 yes. In my /etc/X11/xorg.conf I used to have, in the keyboard section,
 Option XkbLayout jp,ru(phonetic)
 Option XkbVariant jp106
 and it worked.
 Now I can select Russia Phonetic keyboard in Gnome Keyboard
 Preferences, but then I am stuck with Cyrillic characters only - the
 switching does not work. The only way out is to remove this keyboard
 choice and restart X.

Did you try to put the same kind of parameter as xorg.conf into
/etc/default/keyboard? It should be working exactly the same as
xorg.conf (except that it'll additionally work on the linux console
too!)

 And it looks like a specific Japanese keyboard problem. On a machine
 with a standard US keyboard I run the same Debian version, and am able
 to select and use Russia Phonetic layout.

Well, the thing is that supported layouts (i.e. that you can choose in
the debconf dialog box) only include one keymap, or us + non-latin
keymap.  For others, you have to configure it by hand.

  For the record, it's a Panasonic CF-R5 laptop.
  (you probably also know that there seems to be no way to *select* an
  appropriate keyboard)
 
  An appropriate keyboard for what?  The particular keyboard of that
  laptop or typing russian on a japanese keyboard?  (The latter would
  just be a consequence of the above).  In general, never assume we know
  anything about localization cases, as most of us don't are not from that
  localization, so although we usually have an idea, we usually don't know
  all the details.
 
 I meant an appropriate keyboard model for the laptop I am using.
 (in fact, there seem to be no jp106 keyboard layouts available in
 Gnome Keyboard Preferences.)

The jp106 model was dropped indeed, because its additional keys were
added to the base model.

 When I try printing the keyboard, from
 Gnome Keyboard Preferences, the output does not show it right (many
 extra keys are not shown).

That's the geometry part of the xkb configuration, not the model part
(though they are related, yes).  I think you should talk with upstream
about it (e.g. report the bug on http://bugs.freedesktop.org/)

Samuel



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20101128233614.gu10...@const.famille.thibault.fr



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-11-26 Thread Dima Pasechnik
On 25 November 2010 18:00, Samuel Thibault sthiba...@debian.org wrote:
 Dima Pasechnik, le Thu 25 Nov 2010 12:35:45 +0800, a écrit :
 Installing the upgrades mentioned here did not enable any options for
 choosing the phonetic layout for Russian on the Japanese keyboard.

 You mean typing Russian on a Japanese keyboard?  I didn't know about
 such thing.  Why option were you using to achieve that?  I guess you are
 talking about X keyboard layout, right?

yes. In my /etc/X11/xorg.conf I used to have, in the keyboard section,
Option XkbLayout jp,ru(phonetic)
Option XkbVariant jp106
and it worked.
Now I can select Russia Phonetic keyboard in Gnome Keyboard
Preferences, but then I am stuck with Cyrillic characters only - the
switching does not work. The only way out is to remove this keyboard
choice and restart X.

And it looks like a specific Japanese keyboard problem. On a machine
with a standard US keyboard I run the same Debian version, and am able
to select and use Russia Phonetic layout.

 For the record, it's a Panasonic CF-R5 laptop.
 (you probably also know that there seems to be no way to *select* an
 appropriate keyboard)

 An appropriate keyboard for what?  The particular keyboard of that
 laptop or typing russian on a japanese keyboard?  (The latter would
 just be a consequence of the above).  In general, never assume we know
 anything about localization cases, as most of us don't are not from that
 localization, so although we usually have an idea, we usually don't know
 all the details.

I meant an appropriate keyboard model for the laptop I am using.
(in fact, there seem to be no jp106 keyboard layouts available in
Gnome Keyboard Preferences.)
When I try printing the keyboard, from
Gnome Keyboard Preferences, the output does not show it right (many
extra keys are not shown).
It could be due to non-availability of
an appropriate keyboard model.
No wonder it does not really work right..



 Samuel



 --
 To unsubscribe, send mail to 600490-unsubscr...@bugs.debian.org.




-- 
Dmitrii Pasechnik



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin3_ks5im7zsqqe7pkx9jdgavhw-wgsf3jnm...@mail.gmail.com



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-11-25 Thread Samuel Thibault
Dima Pasechnik, le Thu 25 Nov 2010 12:35:45 +0800, a écrit :
 Installing the upgrades mentioned here did not enable any options for
 choosing the phonetic layout for Russian on the Japanese keyboard.

You mean typing Russian on a Japanese keyboard?  I didn't know about
such thing.  Why option were you using to achieve that?  I guess you are
talking about X keyboard layout, right?

 For the record, it's a Panasonic CF-R5 laptop.
 (you probably also know that there seems to be no way to *select* an
 appropriate keyboard)

An appropriate keyboard for what?  The particular keyboard of that
laptop or typing russian on a japanese keyboard?  (The latter would
just be a consequence of the above).  In general, never assume we know
anything about localization cases, as most of us don't are not from that
localization, so although we usually have an idea, we usually don't know
all the details.

Samuel



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101125100026.gb5...@const.bordeaux.inria.fr



Bug#600490: Russian phonetic layout on a jp keyboard?

2010-11-24 Thread Dima Pasechnik
Installing the upgrades mentioned here did not enable any options for
choosing the phonetic layout for Russian on the Japanese keyboard.
They were gone since I did an upgrade to squeeze.
For the record, it's a Panasonic CF-R5 laptop.
(you probably also know that there seems to be no way to *select* an
appropriate keyboard)

Thanks,
Dmitrii
http://www.ntu.edu.sg/home/dima/



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinugeyoevlijce-o=_dtvjjs7otkbs_5mzxa...@mail.gmail.com