View previous topic :: View next topic |
Author |
Message |
djf_jeff Apprentice
Joined: 17 Feb 2003 Posts: 174 Location: Quebec
|
Posted: Mon Feb 24, 2003 5:46 am Post subject: OpenOffice and two keys accents |
|
|
ok, I have gentoo 1.4rc2 and I have emerge openoffice-bin 1.0.2.
I have a strange problem. The two keys accent dont work in OOo (à ç è ê). It work in all other application but not in OOo.
I have search the forum and found some tricks but nothing work...
Do you have an idea?
Thanks |
|
Back to top |
|
|
brainlock Tux's lil' helper
Joined: 20 Jun 2002 Posts: 110
|
Posted: Mon Feb 24, 2003 6:32 am Post subject: |
|
|
I have the exact same problem... only "é" works...
Brainlock |
|
Back to top |
|
|
djf_jeff Apprentice
Joined: 17 Feb 2003 Posts: 174 Location: Quebec
|
Posted: Mon Feb 24, 2003 5:40 pm Post subject: Me too |
|
|
I have the é key working well because it's not a two keys accents...
I hava search google and we are not the only one in this situation...
I have try different things but nothing has work... |
|
Back to top |
|
|
brainlock Tux's lil' helper
Joined: 20 Jun 2002 Posts: 110
|
Posted: Fri Feb 28, 2003 5:45 pm Post subject: |
|
|
I have found a solution though I don't think it's perfect...
This is what I did:
1- Create a file called /etc/env.d/99ooffice
2- In that file, write
if you are using a french canadian keyboard
if you are using a french (France) keyboard
3- Reboot
The only problem with this solution is that your entire environment will now be in french. For example, I use Gnome and now all my menus and various apps are now in french. I don't like this (I would rather keep them in english) but at least OpenOffice now recognizes 2 key accents.
Brainlock |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Feb 28, 2003 6:01 pm Post subject: |
|
|
have you tried
Code: |
env LANG=fr_FR ooffice
|
in a xterm/konsole/gnometerminal? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Fri Feb 28, 2003 6:09 pm Post subject: |
|
|
Why doesn't the multi-key work in OOo ? |
|
Back to top |
|
|
brainlock Tux's lil' helper
Joined: 20 Jun 2002 Posts: 110
|
Posted: Fri Feb 28, 2003 6:10 pm Post subject: |
|
|
Bloody Bastard : do u have to do that everytime? I would like to be able to choose openoffice from the menu and be able to use my keyboard without having to open console everytime...
I did find a better solution than the one I posted earlier though...
I went right in the /usr/bin/oowriter script and added
This way, the rest of my gnome environment stays in english but OpenOffice works in french.
Maybe there is an even better way but this works for me
Brainlock |
|
Back to top |
|
|
sethbc n00b
Joined: 03 Dec 2002 Posts: 16
|
Posted: Thu Apr 17, 2003 6:33 am Post subject: bleh |
|
|
so someone posted this thread to my bug, and it would all be very 'easy' if openoffice worked that way, but it don't...emerge it with the language you use...period...
right now we don't support multiple langs, becuase portage is bunk, and blah blah blah
i can't fix this bug b/c your setup is such that you want a number of languages...exporting LANG=blah is the best bet...*I* can't choose to use openoffice for you...you have to choose how to use it...
seth |
|
Back to top |
|
|
brainlock Tux's lil' helper
Joined: 20 Jun 2002 Posts: 110
|
Posted: Thu Apr 17, 2003 1:31 pm Post subject: |
|
|
Hi Seth,
To me, this seems like a pretty important feature, but it should be a bug fixed (or a feature added) by the openoffice guys; not you. Here is my point :
- You can install multiple dictionaries
- You can switch from 1 dictionary to another for different documents
So then, why is it that accents aren't available in that language? because everything depends on a VAR called LANG which can't be changed during your openoffice session?? That is definetely limiting. I need to write documents both in english and in french. I should be able to do that quite easily by changing dictionaries. These dictionary changes should be the target for language and not the "LANG" var.
again, I don't think this is your bug to fix, but it is really annoying to me.
Thanks for your great work seth, I know it isnt easy
Brainlock
P.S when you say, just emerge it in your language, how would I go about doing that ? downloading from openoffice.org and putting it in distfiles? |
|
Back to top |
|
|
djf_jeff Apprentice
Joined: 17 Feb 2003 Posts: 174 Location: Quebec
|
Posted: Thu Apr 17, 2003 4:17 pm Post subject: |
|
|
simplg any edit the ebuild for pointing to a mirror that contain the OOo in your lang and it will work.
Just two lines to changes |
|
Back to top |
|
|
shiftzero Tux's lil' helper
Joined: 16 Mar 2003 Posts: 89
|
Posted: Sun Jun 01, 2003 3:51 pm Post subject: |
|
|
You may as well make a script and a gnome launcher for it. That way you'll have oo issue resolved. _________________ Virtute tva fiat pax in. |
|
Back to top |
|
|
shiftzero Tux's lil' helper
Joined: 16 Mar 2003 Posts: 89
|
Posted: Sun Jun 01, 2003 5:06 pm Post subject: |
|
|
Also, if you use LC_CTYPE instead of LANG you'll only change keys, not all menu language (like in gnome for example)
I use to launch some apps:
Code: |
env LC_CTYPE=es_ES swriter
|
or
Code: |
export LC_CTYPE=es_ES
Eterm
|
whatever suits you. _________________ Virtute tva fiat pax in. |
|
Back to top |
|
|
Lemma Guru
Joined: 19 Apr 2002 Posts: 416 Location: Uppsala, Sweden
|
Posted: Fri May 07, 2004 5:57 am Post subject: |
|
|
To be able to write in swedish I have to use Code: | env LC_ALL="sv_SE" xoo[something] | to just use LC_CTYPE will generate Code: | env LC_CTYPE="sv_SE" xoowriter
I18N: X Window System doesn't support locale "en_US.utf-8" | . The problem is that if I do change it to LC_ALL I can't se the directory names correct . I'm using gnome 2.6 with utf8 and my locale look like Code: | LANG=en_US
LC_CTYPE="en_US.utf-8"
LC_NUMERIC="en_US.utf-8"
LC_TIME="en_US.utf-8"
LC_COLLATE="en_US.utf-8"
LC_MONETARY="en_US.utf-8"
LC_MESSAGES="en_US.utf-8"
LC_PAPER="en_US.utf-8"
LC_NAME="en_US.utf-8"
LC_ADDRESS="en_US.utf-8"
LC_TELEPHONE="en_US.utf-8"
LC_MEASUREMENT="en_US.utf-8"
LC_IDENTIFICATION="en_US.utf-8"
LC_ALL=en_US.utf-8 |
_________________ Always make it as simple as possible, but no simpler
/Einstein |
|
Back to top |
|
|
Lemma Guru
Joined: 19 Apr 2002 Posts: 416 Location: Uppsala, Sweden
|
Posted: Fri May 07, 2004 6:06 am Post subject: |
|
|
And five minutes after I have posted a problem I have been working on for a day or so (all in all) I find a solution!
All i had to do was to change LC_ALL from to
Well, you set me on the right track - thanks for that! _________________ Always make it as simple as possible, but no simpler
/Einstein |
|
Back to top |
|
|
feldespato n00b
Joined: 28 Nov 2004 Posts: 57 Location: Port de Sagunt, País Valencià
|
Posted: Sat Feb 19, 2005 9:52 pm Post subject: My solution |
|
|
I solved the problem remerging glibc without the "userlocales" USE flag, so it intalled all locales and it worked fine for me.
I hope it helps |
|
Back to top |
|
|
stormer Tux's lil' helper
Joined: 20 May 2002 Posts: 122 Location: Canada
|
Posted: Fri Jul 01, 2005 12:02 am Post subject: First solution does not work |
|
|
Code: | export LANG=fr_CA && xoowrite |
This solution did not work for me. Trying to reemerge glibc... Note, /etc/locales.build define locales to be compiled in glibc. Do we need to customize this file ? _________________ Stormer |
|
Back to top |
|
|
|