Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-11 Thread Dave Jones
Bo Andresen wrote on 10/05/06 12:55:
For some strange reason, on my system OpenOffice seems to need the
locale set to utf8 to work properly with international keyboard layouts.
Without it, the ' and  keys are dead,  working only with AltGr pressed.

I don't understand why, but since I changed my locale to en_US.utf8, the
quote keys and Open Office work perfectly.

 Does this not work for you (# means run as root, $ means run as user)?
 # localedef -i en_GB -f ISO-8859-15 en_GB.ISO-8859-15
 $ LC_ALL=en_GB.ISO-8859-15 oowriter2

The LC_ALL command above did not work, giving the following error messages:

I18N: X Window System doesn't support locale en_GB.ISO-8859-15
Qt: Locales not supported on X server

Checked out my defined locales with locale -a

C
en_GB
en_GB.iso885915
en_GB.utf8
en_US
en_US.iso885915
en_US.utf8
POSIX

LC_ALL=en_GB.iso885915 oowriter2works fine.

In fact, all the above locales except for C and POSIX work fine in
OpenOffice. It seems that OOo does not depend on a utf8 locale, but does
needs a local other the C or POSIX.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-11 Thread Bo Andresen
On Thursday 11 May 2006 12:53, Dave Jones wrote:
  $ LC_ALL=en_GB.ISO-8859-15 oowriter2

 The LC_ALL command above did not work, giving the following error messages:

 I18N: X Window System doesn't support locale en_GB.ISO-8859-15
 Qt: Locales not supported on X server

 Checked out my defined locales with locale -a
[SNIP]
 LC_ALL=en_GB.iso885915 oowriter2works fine.

 In fact, all the above locales except for C and POSIX work fine in
 OpenOffice. It seems that OOo does not depend on a utf8 locale, but does
 needs a local other the C or POSIX.

Which is what I stated on the 4th of May. :) But en_GB.ISO-8859-15 works for 
me too even though locale -a report en_GB.iso885915 on my computer too. I 
guess that depends on the version of glibc.. Anyway nice to know it works for 
you now. :)

-- 
Bo Andresen


pgp5oUi7LKkyn.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-11 Thread Dave Jones
Bo Andresen wrote on 11/05/06 13:17:
LC_ALL=en_GB.iso885915 oowriter2works fine.

In fact, all the above locales except for C and POSIX work fine in
OpenOffice. It seems that OOo does not depend on a utf8 locale, but does
needs a local other the C or POSIX.

 Which is what I stated on the 4th of May. :) But en_GB.ISO-8859-15 works for 
 me too even though locale -a report en_GB.iso885915 on my computer too. I 
 guess that depends on the version of glibc.. Anyway nice to know it works for 
 you now. :)

I'm using glibc-2.3.6-r3 (stable branch).  Your statement on May 4 was
correct, and believe me, I'm very glad that the problem is solved here!

Pawel has not reported back from my last suggestion of trying to use the
us_intl keyboard layout.  It would be nice if that solved his problems
with his Polish locale/keyboard too.

I still find it strange that OOo is the only application I have which
needs a locale other than C or POSIX defined.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-10 Thread Bo Andresen
On Thursday 04 May 2006 15:29, Dave Jones wrote:
 I didn't get these errors when I ran the oowriter2 command above, so I
 guess my localdef for the en_GB.utf8 must have been OK.

 Case closed, an irritating problem fixed.

From another thread:

On Tuesday 09 May 2006 20:31, Dave Jones wrote:
 For some strange reason, on my system OpenOffice seems to need the
 locale set to utf8 to work properly with international keyboard layouts.
 Without it, the ' and  keys are dead,  working only with AltGr pressed.

 I don't understand why, but since I changed my locale to en_US.utf8, the
 quote keys and Open Office work perfectly.

Does this not work for you (# means run as root, $ means run as user)?

# localedef -i en_GB -f ISO-8859-15 en_GB.ISO-8859-15

$ LC_ALL=en_GB.ISO-8859-15 oowriter2

-- 
Bo Andresen


pgp7jTMR4TFw9.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-10 Thread Dave Jones
Bo Andresen wrote on 10/05/06 12:55:
 On Tuesday 09 May 2006 20:31, Dave Jones wrote:

For some strange reason, on my system OpenOffice seems to need the
locale set to utf8 to work properly with international keyboard layouts.
Without it, the ' and  keys are dead,  working only with AltGr pressed.

I don't understand why, but since I changed my locale to en_US.utf8, the
quote keys and Open Office work perfectly.

 Does this not work for you (# means run as root, $ means run as user)?

 # localedef -i en_GB -f ISO-8859-15 en_GB.ISO-8859-15
 $ LC_ALL=en_GB.ISO-8859-15 oowriter2

No, it doesn't work, I get these error messages when I try to start
oowriter2:

I18N: X Window System doesn't support locale en_GB.ISO-8859-15
Qt: Locales not supported on X server

The accented keys don't work either with this setup.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Dave Jones
Bo Andresen wrote on 05/04/06 00:48:

 It turns out I was wrong about this. If I type

 # LC_ALL=POSIX oowriter2

 they don't work for me either. Same goes for LC_ALL=C. All other locales on 
 your list from locale -a they do work with. (Except en_GB.utf8 which results 
 in a lot of errors on my system. That's why I use en_US.utf8. If you do wish 
 to use UTF-8 you should follow the guide provided by Gentoo). So try changing 
 your locale to something other than POSIX or C i.e. export LC_ALL=whatever. 
 And start OOo from the prompt.

 To change your locale permanently you should change /etc/env.d/02locale and 
 run env-update. You only need to set LC_ALL it will all other LC_ variables.

Bo, thank you *very* much, starting oowriter2 as you suggested using
LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it
should.

I have no /etc/env.d/02locale file; did you create that file yourself?

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Bo Andresen
On Thursday 04 May 2006 11:17, Dave Jones wrote:
 Bo, thank you *very* much, starting oowriter2 as you suggested using
 LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it
 should.

Glad to hear that. :)

 I have no /etc/env.d/02locale file; did you create that file yourself?

Yes, just create a file with the contents:

LC_ALL=whatever

Look at [1] and [2] for more information on locales on Gentoo.

[1] http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3
[2] http://www.gentoo.org/doc/en/utf-8.xml

-- 
Bo Andresen


pgphsoHobO0Et.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Dave Jones
Bo Andresen wrote on 04/05/06 11:32:
 On Thursday 04 May 2006 11:17, Dave Jones wrote:

Bo, thank you *very* much, starting oowriter2 as you suggested using
LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it
should.

 Glad to hear that. :)

What's more, it seems to work fine with LC_ALL=en_GB.utf8 too.

As a matter of curiosity, what errors did you get when you tried
en_GB.utf8 on your system?

I have no /etc/env.d/02locale file; did you create that file yourself?

 Yes, just create a file with the contents:

 LC_ALL=whatever

OK, done that, it's working perfectly now.

 Look at [1] and [2] for more information on locales on Gentoo.

 [1] http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3
 [2] http://www.gentoo.org/doc/en/utf-8.xml

Will do, to check out any extra information available there.

Again, thank you both very much.  Your and Jerônimo's help and advice
solved an obscure problem which has annoyed me for months.

The Gentoo user community has yet again proven to be a great place to
finding helpful and knowledgeable people, adding to the many strengths
of the distro.

Glad to be part of it!

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Bo Andresen
On Thursday 04 May 2006 12:08, Dave Jones wrote:
 As a matter of curiosity, what errors did you get when you tried
 en_GB.utf8 on your system?

$ LC_ALL=en_GB.utf8 oowriter2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = en_GB.utf8,
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
I18N: Operating system doesn't support locale 

IIRC back when I followed the UTF-8 guide localedef complained that some data 
for creating the en_GB.UTF-8 locale was missing. It seems that the issue has 
been resolved since then. The following command fixed the problem so 
en_GB.utf8 is working for me too now:

# localedef -i en_GB -f UTF-8 en_GB.UTF-8

-- 
Bo Andresen


pgp3bNdR1D0qE.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]

2006-05-04 Thread Dave Jones
Bo Andresen wrote on 04/05/06 12:44:
 On Thursday 04 May 2006 12:08, Dave Jones wrote:

As a matter of curiosity, what errors did you get when you tried
en_GB.utf8 on your system?

 $ LC_ALL=en_GB.utf8 oowriter2
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = en_GB.utf8,
 LANG = (unset)
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 I18N: Operating system doesn't support locale 

 IIRC back when I followed the UTF-8 guide localedef complained that some data 
 for creating the en_GB.UTF-8 locale was missing. It seems that the issue has 
 been resolved since then. The following command fixed the problem so 
 en_GB.utf8 is working for me too now:

 # localedef -i en_GB -f UTF-8 en_GB.UTF-8

I didn't get these errors when I ran the oowriter2 command above, so I
guess my localdef for the en_GB.utf8 must have been OK.

Case closed, an irritating problem fixed.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Dave Jones
Jerônimo Backes wrote on 05/03/06 00:04:

 What seems odd is that OpenOffice is the only application affected,
 while all other applications work correctly under KDE.

 Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use
 some special keyboard layouts. Stay with ISO-8859-1 (the default
 encoding). KDE has issues with UTF-8 and certain keboard layouts.

As far as I know, I'm not using UTF-8 with KDE.

Could you please tell me how I can check if KDE is using UTF-8, or how I
can force KDE to use ISO-8859-1?

Are you running KDE 3.4.3, or KDE 3.5?

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Jerônimo Backes

Dave Jones wrote:

Jerônimo Backes wrote on 05/03/06 00:04:

  

What seems odd is that OpenOffice is the only application affected,
while all other applications work correctly under KDE.
  


  

Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use
some special keyboard layouts. Stay with ISO-8859-1 (the default
encoding). KDE has issues with UTF-8 and certain keboard layouts.



As far as I know, I'm not using UTF-8 with KDE.

Could you please tell me how I can check if KDE is using UTF-8, or how I
can force KDE to use ISO-8859-1?

  


Here goes the documentation about UTF-8 with Gentoo:
http://www.gentoo.org/doc/en/utf-8.xml

Replace anything related to UTF-8 with ISO-8859-1 on your system.



Are you running KDE 3.4.3, or KDE 3.5?

Cheers, Dave


I'm with KDE 3.5.2 and everything is working okay.

Cheers, Jerônimo.


___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Bo Andresen
On Wednesday 03 May 2006 00:04, Jerônimo Backes wrote:
 Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use
 some special keyboard layouts. Stay with ISO-8859-1 (the default
 encoding). KDE has issues with UTF-8 and certain keboard layouts.

What kind of issues? Admittedly I have not tested KDE throughly but I have 
been using KDE with UTF-8 for a few months now and I have experienced no 
issues. There are programs that don't understand UTF-8 on my system (e.g. 
kompare) but I believe most og my KDE programs do understand UTF-8 (e.g. 
kontact, konquerer, konsole..).

-- 
Bo Andresen


pgpsr03XMKDtt.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Dave Jones
Jerônimo Backes wrote on 05/03/06 14:21:

 What seems odd is that OpenOffice is the only application affected,
 while all other applications work correctly under KDE.

 Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use
 some special keyboard layouts. Stay with ISO-8859-1 (the default
 encoding). KDE has issues with UTF-8 and certain keboard layouts.

 As far as I know, I'm not using UTF-8 with KDE.

 Could you please tell me how I can check if KDE is using UTF-8, or how I
 can force KDE to use ISO-8859-1?

 Here goes the documentation about UTF-8 with Gentoo:
 http://www.gentoo.org/doc/en/utf-8.xml

 Replace anything related to UTF-8 with ISO-8859-1 on your system.

Uh oh, looks like a major rework. Should keep me out of mischief!

 Are you running KDE 3.4.3, or KDE 3.5?

 I'm with KDE 3.5.2 and everything is working okay.

It's probably time I moved on to KDE 3.5.2 anyway. Thank you very much
for all your help, much appreciated!

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Dave Jones
Bo Andresen wrote on 05/03/06 14:31:

 On Wednesday 03 May 2006 00:04, Jerônimo Backes wrote:

Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use
some special keyboard layouts. Stay with ISO-8859-1 (the default
encoding). KDE has issues with UTF-8 and certain keboard layouts.

 What kind of issues? Admittedly I have not tested KDE throughly but I have 
 been using KDE with UTF-8 for a few months now and I have experienced no 
 issues. There are programs that don't understand UTF-8 on my system (e.g. 
 kompare) but I believe most og my KDE programs do understand UTF-8 (e.g. 
 kontact, konquerer, konsole..).

This came out of my original question about having problems with typing
accented characters into OpenOffice documents under KDE 3.4.3.

The problem is that I need to press AltGr and the quote character to
obtain a quote. This makes it impossible to enter accented characters
into an OOo document.

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  AutoRepeat500 30
Option  CoreKeyboard
Option  XkbModel  logicdp
Option  XkbLayout us_intl
EndSection

Using this xorg.conf set-up, I can enter the accented characters into
all other applications apart from OOo under KDE.

OOo works fine under IceWM, so I'd guess that it's a KDE issue.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Bo Andresen
On Wednesday 03 May 2006 15:13, Dave Jones wrote:
 Bo Andresen wrote on 05/03/06 14:31:
  On Wednesday 03 May 2006 00:04, Jerônimo Backes wrote:
 Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use
 some special keyboard layouts. Stay with ISO-8859-1 (the default
 encoding). KDE has issues with UTF-8 and certain keboard layouts.
 
  What kind of issues? Admittedly I have not tested KDE throughly but I
  have been using KDE with UTF-8 for a few months now and I have
  experienced no issues. There are programs that don't understand UTF-8 on
  my system (e.g. kompare) but I believe most og my KDE programs do
  understand UTF-8 (e.g. kontact, konquerer, konsole..).

 This came out of my original question about having problems with typing
 accented characters into OpenOffice documents under KDE 3.4.3.

 The problem is that I need to press AltGr and the quote character to
 obtain a quote. This makes it impossible to enter accented characters
 into an OOo document.

 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  AutoRepeat500 30
 Option  CoreKeyboard
 Option  XkbModel  logicdp
 Option  XkbLayout us_intl
 EndSection

 Using this xorg.conf set-up, I can enter the accented characters into
 all other applications apart from OOo under KDE.

 OOo works fine under IceWM, so I'd guess that it's a KDE issue.

I still don't see that it has got anything to do with UFT-8. My X 
configuration looks like this:

Section InputDevice
Identifier  Keyboard1
Driver  kbd
Option AutoRepeat 500 30
Option CoreKeyboard
Option XkbModel   pc105
Option XkbLayout  dk
EndSection

In kcontrol - Regional  Accessibility - Keyboard Layout there is a box called 
Enable keyboards layouts. This overrides the X settings. So if it works in 
IceWM just disable it. That's what I did. And I have no problems with any of 
those characters (áàéèíìóòöuúù€') in Openoffice either.

-- 
Bo Andresen


pgpKCsyU59I5R.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Dave Jones
Bo Andresen wrote on 05/03/06 16:06:
 snip KDE has issues with UTF-8 and certain keboard layouts.

What kind of issues? Admittedly I have not tested KDE throughly but I
have been using KDE with UTF-8 for a few months now and I have
experienced no issues.

This came out of my original question about having problems with typing
accented characters into OpenOffice documents under KDE 3.4.3.

The problem is that I need to press AltGr and the quote character to
obtain a quote. This makes it impossible to enter accented characters
into an OOo document.

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  AutoRepeat500 30
Option  CoreKeyboard
Option  XkbModel  logicdp
Option  XkbLayout us_intl
EndSection

Using this xorg.conf set-up, I can enter the accented characters into
all other applications apart from OOo under KDE.

OOo works fine under IceWM, so I'd guess that it's a KDE issue.

 I still don't see that it has got anything to do with UFT-8. My X 
 configuration looks like this:

 Section InputDevice
   Identifier  Keyboard1
   Driver  kbd
   Option AutoRepeat 500 30
   Option CoreKeyboard
   Option XkbModel   pc105
   Option XkbLayout  dk
 EndSection

 In kcontrol - Regional  Accessibility - Keyboard Layout there is a box 
 called 
 Enable keyboards layouts. This overrides the X settings. So if it works in 
 IceWM just disable it. That's what I did. And I have no problems with any of 
 those characters (áàéèíìóòöuúù€') in Openoffice either.

I've tried with the kcontrol Regional Keyboard settings enabled and
disabled.  No difference.  The quote keys work only with AltGr pressed
in OOo, but work normally in all other applications.

I tried using XkbModel to pc105 to see if the Logitech Cordless Desktop
Pro XkbModel was causing the odd effect. However, changing that did not
change the weird quote keys kb behaviour either.

If anything, the Regional Keyboard setting make the problem worse,
affecting other applications too, so I disabled it again.

As far as I know, I'm not using UTF-8.

Here's the output of  locale

LANG=
LC_CTYPE=POSIX
LC_NUMERIC=POSIX
LC_TIME=POSIX
LC_COLLATE=POSIX
LC_MONETARY=POSIX
LC_MESSAGES=POSIX
LC_PAPER=POSIX
LC_NAME=POSIX
LC_ADDRESS=POSIX
LC_TELEPHONE=POSIX
LC_MEASUREMENT=POSIX
LC_IDENTIFICATION=POSIX
LC_ALL=

and locale -a

C
POSIX
en_GB
en_GB.iso885915
en_GB.utf8
en_US
en_US.iso885915
en_US.utf8

Maybe it's not an UTF-8 issue as Jerônimo suggested it might be, but I'm
baffled by this odd kb behaviour showing only in OOo under KDE.

Could you please show the output of locale and locale -a on your system?

Cheers, Dave.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Jerônimo Backes

Bo Andresen wrote:

On Wednesday 03 May 2006 00:04, Jerônimo Backes wrote:
  

Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use
some special keyboard layouts. Stay with ISO-8859-1 (the default
encoding). KDE has issues with UTF-8 and certain keboard layouts.



What kind of issues? Admittedly I have not tested KDE throughly but I have 
been using KDE with UTF-8 for a few months now and I have experienced no 
issues. There are programs that don't understand UTF-8 on my system (e.g. 
kompare) but I believe most og my KDE programs do understand UTF-8 (e.g. 
kontact, konquerer, konsole..).


  
I mean issues with some keyboard layouts. Try to type some cedillas with 
a US-keyboard (combining ' and c ) in KDE with UTF-8 to see what you'll get.



___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Bo Andresen
On Wednesday 03 May 2006 18:04, Jerônimo Backes wrote:
 I mean issues with some keyboard layouts. Try to type some cedillas with
 a US-keyboard (combining ' and c ) in KDE with UTF-8 to see what you'll
 get.

Do you mean like this: ç? I use a danish keyboard layout and have no idea how  
to produce that character. This one was created in OOo by Insert Special 
Character (and copy'n'paste). I did try naming a file with that character and 
putting it in its contents and found no issues. But I don't know if that was 
what you meant. Anyway I'm not saying that there are no issues. I just 
haven't experienced any.

-- 
Bo Andresen


pgpMsR5keXsDu.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Bo Andresen
On Wednesday 03 May 2006 17:26, Dave Jones wrote:
 I've tried with the kcontrol Regional Keyboard settings enabled and
 disabled.  No difference.  The quote keys work only with AltGr pressed
 in OOo, but work normally in all other applications.

 I tried using XkbModel to pc105 to see if the Logitech Cordless Desktop
 Pro XkbModel was causing the odd effect. However, changing that did not
 change the weird quote keys kb behaviour either.

 If anything, the Regional Keyboard setting make the problem worse,
 affecting other applications too, so I disabled it again.

The us_intl keyboard layout is shown in [1]. Your problem related to the red 
(i.e. dead) keys to the left of Enter, right? I have changed to that layout 
now (with no KDE override) and it seems to work the way it should here now. 
I'm not sure it did before I changed the contents of /etc/conf.d/keymaps. 
What does this show?

# grep -vr '^#\|^$' /etc/conf.d/keymaps

[1] http://en.wikipedia.org/wiki/Keyboard_layout#US-International

Since the keys are dead you do have to press them twice in order to just get a 
single or double quote. If followed by a letter are able to produce accents 
(ó) or umlauts (ö) instead. And just for the record. I can produce a ç now. I 
don't seem to have any issues. But still a haven't tested with a broad range 
of programs. ;)

 As far as I know, I'm not using UTF-8.

You are not.

[SNIP]

 Maybe it's not an UTF-8 issue as Jerônimo suggested it might be, but I'm
 baffled by this odd kb behaviour showing only in OOo under KDE.

 Could you please show the output of locale and locale -a on your system?

Sure.

# locale
LANG=
LC_CTYPE=en_US.utf8
LC_NUMERIC=en_US.utf8
LC_TIME=en_US.utf8
LC_COLLATE=en_US.utf8
LC_MONETARY=en_US.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=en_US.utf8
LC_NAME=en_US.utf8
LC_ADDRESS=en_US.utf8
LC_TELEPHONE=en_US.utf8
LC_MEASUREMENT=en_US.utf8
LC_IDENTIFICATION=en_US.utf8
LC_ALL=en_US.utf8

# locale -a
C
da_DK
en_DK
en_DK.iso88591
en_DK.utf8
en_GB
en_GB.ansix341968
en_GB.iso88591
en_US
en_US.utf8
POSIX

But I don't really think this is the problem.

-- 
Bo Andresen


pgpu9kjxGQbdX.pgp
Description: PGP signature


Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-03 Thread Dave Jones
Bo Andresen wrote on 05/03/06 19:39:
 On Wednesday 03 May 2006 17:26, Dave Jones wrote:

I've tried with the kcontrol Regional Keyboard settings enabled and
disabled.  No difference.  The quote keys work only with AltGr pressed
in OOo, but work normally in all other applications.

I tried using XkbModel to pc105 to see if the Logitech Cordless Desktop
Pro XkbModel was causing the odd effect. However, changing that did not
change the weird quote keys kb behaviour either.

 The us_intl keyboard layout is shown in [1]. Your problem related to the red 
 (i.e. dead) keys to the left of Enter, right?

That's correct.  Didn't want to say right, too confusing!

 What does this show?

 # grep -vr '^#\|^$' /etc/conf.d/keymaps

KEYMAP=us
SET_WINDOWKEYS=yes
EXTENDED_KEYMAPS=backspace keypad euro
DUMPKEYS_CHARSET=

 [1] http://en.wikipedia.org/wiki/Keyboard_layout#US-International

 Since the keys are dead you do have to press them twice in order to just get 
 a 
 single or double quote. If followed by a letter are able to produce accents 
 (ó) or umlauts (ö) instead. And just for the record. I can produce a ç now. I 
 don't seem to have any issues. But still a haven't tested with a broad range 
 of programs. ;)

I can hit the quote keys ten times and still produce no input at all
when running OOo.  With other applications (such as Thunderbird) it
works perfectly well.  That's what is so strange, it's only OOo which
shows the anomalous behaviour, only under KDE, not under IceWM.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-02 Thread Dave Jones
Jerônimo Backes wrote on 05/01/06 23:14:

I'm running a compiled from source Open Office 2.01-r1 and am having
problems getting OOo to accept input of accented, single and double
quote characters under KDE 3.4.3.

 KDE overrides Xorg configs.
 Just open the KDE's Control Center, select Regional  Accessibility,
 then Keyboard Layout and then, select your keyboard and its variant.
 That should do the trick.

  Mine is US English, with intl variant.

Thanks for your help Jerônimo.

I tried your tip, using all sorts of keyboard layouts (Generic 101 / 104
/ 105 key, Logitech Cordless + Cordless Pro), US English, with or
without international variant/dead characters, but no joy so far.

The quote and double quote keys still work only with the AltGr key pressed.

With some of the above combinations the AltGr key completely stopped
working.  I couldn't even get an € sign with AltGr-5, let alone quotes
or accented characters!

What seems odd is that OpenOffice is the only application affected,
while all other applications work correctly under KDE.

So I'm still stuck with this irritating problem...

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-02 Thread Jerônimo Backes



I tried your tip, using all sorts of keyboard layouts (Generic 101 / 104
/ 105 key, Logitech Cordless + Cordless Pro), US English, with or
without international variant/dead characters, but no joy so far.

What seems odd is that OpenOffice is the only application affected,
while all other applications work correctly under KDE.

So I'm still stuck with this irritating problem...
  


Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use 
some special keyboard layouts. Stay with ISO-8859-1 (the default 
encoding). KDE has issues with UTF-8 and certain keboard layouts.




___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE and OpenOffice keyboard problems

2006-05-01 Thread Jerônimo Backes

 I'm running a compiled from source Open Office 2.01-r1 and am having
 problems getting OOo to accept input of accented, single and double
 quote characters under KDE 3.4.3.
   
KDE overrides Xorg configs.
Just open the KDE's Control Center, select Regional  Accessibility,
then Keyboard Layout and then, select your keyboard and its variant.
That should do the trick.

 Mine is US English, with intl variant.

Cheers.


___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e 
anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] KDE and OpenOffice keyboard problems

2006-04-30 Thread Dave Jones
I'm running a compiled from source Open Office 2.01-r1 and am having
problems getting OOo to accept input of accented, single and double
quote characters under KDE 3.4.3.

If I use IceWM, typing these characters works fine in OOo.

I have CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer and
LINGUAS=en en_GB in my /etc/make.conf  Nothing startling there.

I'm running xorg-X11 version 6.8.2-r6, KDE version 3.4.3, Open Office
2.01-r1, all packages from the stable branch.

In my /etc/xorg.conf I have the following entries for my keyboard:

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  AutoRepeat500 30
Option  XkbModel  logicdp
Option  XkbLayout us_intl
EndSection

Being an old-fashioned Brit I have set up OOo to default to British
English. However, as I live in Europe, I use a Logitech Cordless Desktop
Pro US International keyboard, set to US International under KDE 3.4.3.

I do not use UTF-8 for character encoding, but default to ISO-8859-15,
to allow me to use the 'special' accented characters and the Euro sign.

OOo does not recognise either single quote (') or double quote ()
unless I press the AltGr key (right Alt key). I cannot compose accented
characters such as áàéèíìóòöuúù.  The € sign works as expected with a
US-international keyboard, using AltGr 5.

I tried setting OOo to US English, but this did not resolve the problem.
OOo stubbornly ignores both single and double quotes unless the AltGr
key is pressed.

Normally in 'US International' mode, both single and double quotes are
produced using the quote key and a space.  Applications such as Mozilla
Thunderbird handle these quote characters correctly using the above
keyboard set up.  Only OOo ignores these keystrokes combinations.

To persuade OOo to enter single or double quotes I have to use the
Alt-Gr key and ' or .  Strange indeed, OOo is the only application
which behaves like this under KDE.

Setting the xorg.conf Option XkbVariant deadkeys  as suggested in
the OOo documentation does not change the quote keys behaviour in OOo.

I'm totally bewildered as to why OOo behaves so strangely under KDE,
while working perfectly under (for example) IceWM.

Has anyone else encountered this problem, or better still, have a work
round or solution for it?

Cheers, Dave.
-- 
gentoo-user@gentoo.org mailing list