Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenOffice and two keys accents
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
djf_jeff
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 174
Location: Quebec

PostPosted: Mon Feb 24, 2003 5:46 am    Post subject: OpenOffice and two keys accents Reply with quote

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
View user's profile Send private message
brainlock
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 110

PostPosted: Mon Feb 24, 2003 6:32 am    Post subject: Reply with quote

I have the exact same problem... only "é" works...


Brainlock
Back to top
View user's profile Send private message
djf_jeff
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 174
Location: Quebec

PostPosted: Mon Feb 24, 2003 5:40 pm    Post subject: Me too Reply with quote

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
View user's profile Send private message
brainlock
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 110

PostPosted: Fri Feb 28, 2003 5:45 pm    Post subject: Reply with quote

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

Code:
LANG=fr_CA


if you are using a french canadian keyboard

Code:
LANG=fr_FR


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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Feb 28, 2003 6:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Fri Feb 28, 2003 6:09 pm    Post subject: Reply with quote

Why doesn't the multi-key work in OOo ?
Back to top
View user's profile Send private message
brainlock
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 110

PostPosted: Fri Feb 28, 2003 6:10 pm    Post subject: Reply with quote

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

Code:
export LANG=fr_CA


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
View user's profile Send private message
sethbc
n00b
n00b


Joined: 03 Dec 2002
Posts: 16

PostPosted: Thu Apr 17, 2003 6:33 am    Post subject: bleh Reply with quote

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
View user's profile Send private message
brainlock
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 110

PostPosted: Thu Apr 17, 2003 1:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
djf_jeff
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 174
Location: Quebec

PostPosted: Thu Apr 17, 2003 4:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
shiftzero
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 89

PostPosted: Sun Jun 01, 2003 3:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
shiftzero
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 89

PostPosted: Sun Jun 01, 2003 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lemma
Guru
Guru


Joined: 19 Apr 2002
Posts: 416
Location: Uppsala, Sweden

PostPosted: Fri May 07, 2004 5:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Lemma
Guru
Guru


Joined: 19 Apr 2002
Posts: 416
Location: Uppsala, Sweden

PostPosted: Fri May 07, 2004 6:06 am    Post subject: Reply with quote

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! :oops:

All i had to do was to change LC_ALL from
Code:
LC_ALL=en_US.utf-8
to
Code:
LC_ALL=en_US.utf8
:oops:
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
View user's profile Send private message
feldespato
n00b
n00b


Joined: 28 Nov 2004
Posts: 57
Location: Port de Sagunt, País Valencià

PostPosted: Sat Feb 19, 2005 9:52 pm    Post subject: My solution Reply with quote

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
View user's profile Send private message
stormer
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2002
Posts: 122
Location: Canada

PostPosted: Fri Jul 01, 2005 12:02 am    Post subject: First solution does not work Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum