View previous topic :: View next topic |
Author |
Message |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Tue Feb 10, 2004 10:30 am Post subject: I can type accented chars in some X progs - SOLVED |
|
|
I've done a fresh Gentoo install a couple of weeks ago and I'm remergen the tools I used to work with.
I'm running XFree 4.3.0 and XFce 4.0.3.1. I've got my keyboard layout set to us_intl. This works for most of my programs in X: X-Chat, Opera, ... I can type special characters like ï, ê, á, ...
I can't type these in OpenOffice or jEdit though. Does anyone know where I should look to get this solved?
Last edited by Fubarovic on Sat Feb 21, 2004 2:38 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
at6 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/3204580141d3bdfc21f32.jpg)
Joined: 28 Nov 2002 Posts: 78 Location: /dev/null
|
Posted: Tue Feb 10, 2004 12:52 pm Post subject: special chars |
|
|
hi fubarovic,
try to add this
Code: |
export LANG="de_DE";
|
to you /etc/profile.
remember to replace "de_DE" with you country code.
to test these settings, just try the following:
Code: |
export LANG="de_DE" jedit
|
regards marc _________________ debian: stable but lame! suse: unstable and lame! gentoo: stable and only 4 geeks!
Gadget tests! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Tue Feb 10, 2004 6:00 pm Post subject: |
|
|
I added a line "export LANG="nl_BE@euro";" to /etc/profile. This partly fixes my problem: I can type the accented characters or most of them, but I can't type a ". This is pretty annoying during programming.
Have you got a clue how to fix that problem?
Thanx a lot already. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Mon Feb 16, 2004 4:19 pm Post subject: |
|
|
Adding the export... line changes the Linux language, tho.
No I get all kinds of lame messages in Dutch. I had my accents working properly on my former Gentoo install, without having to change the language.
Does anyone have another hint? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Wed Feb 18, 2004 4:12 pm Post subject: |
|
|
Can someone please help me?
This is the current status:
- I can type accented characters in Opera, X-Chat, XMMS.
- In jEdit and Eclipse I can type accented characters but not the accents themselves
- In OpenOffice I can't type any accents nor accented characters.
I really have no idea where to look anymore. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Sat Feb 21, 2004 2:39 pm Post subject: |
|
|
Ok, I fixed the problem!
I had to configure ALL locales: not just LANG= but also LINGUAS, ...
I'm not on my Linux computer right now so I can't post the correct settings right now, but I'll do it when I have the chance.
Just make sure all of the locales-settings have been set. I set them in my /etc/profile file. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sat Feb 21, 2004 2:54 pm Post subject: |
|
|
im having the exact same problem.
` `´ ´ ^ ô õ ö ^ ~ works fine in firefox, but in the consoles doesnt work. _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Mon Feb 23, 2004 1:47 pm Post subject: |
|
|
You mean the TTY's or Xterms?
For TTY's, you simply have to edit the /etc/rc.conf file and to KEYMAP=us-acentos. That's the keymap for "us_intl" keyboards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Mon Feb 23, 2004 5:00 pm Post subject: |
|
|
my keyboard is danish ( da_DK )
it always been working with KEYMAP="dk-latin1"
and yes in xterms in X
( aterm, xterm, rxvt ) _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Tue Feb 24, 2004 11:53 am Post subject: |
|
|
Did you specify every locale-variable? As I mentioned a few posts before. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Tue Feb 24, 2004 2:31 pm Post subject: |
|
|
what do you mean local variable ? ive been using this setup since last year without any problem, why would i need, now, to add locales variables ?
My keyboard is danish but the whole system is in english, and i want to keep it that way.
im getting really fustrated with this ...
:evil: _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Tue Feb 24, 2004 3:27 pm Post subject: |
|
|
If you've been using the setup for over a year, did it ever work properly? The terms I mean.
I had to configure every locale-setting (run locale in a console) to get things right. That's why I suggested it. _________________ Orbis non sufficit |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Tue Feb 24, 2004 4:29 pm Post subject: |
|
|
it wouldnt make any sense to run a system for over a year if it didnt work properly and only ask for help now. _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Tue Feb 24, 2004 4:31 pm Post subject: |
|
|
this is the output of "locale" ... ive never noticed this before .. but is this suppose to be right with POSIX all over it ??
Code: |
(~)-$ locale $-(ikaro 17:16 Genbox)
LANG=POSIX
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=
|
_________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fubarovic Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Tue Feb 24, 2004 4:57 pm Post subject: |
|
|
According to the localisation guide you should change it to your "country code".
Couldn't hurt to try. ![Wink ;)](images/smiles/icon_wink.gif) _________________ Orbis non sufficit |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Tue Feb 24, 2004 5:20 pm Post subject: |
|
|
from my rc.conf
Code: |
KEYMAP="dk-latin1"
EXTENDED_KEYMAP="windowkeys"
CONSOLEFONT="lat0-12"
CLOCK="UTC"
EDITOR="/bin/nano"
LC_ALL=da_DK
LANG=us
LC_CTYPE=da_DK
LC_NUMERIC=da_DK
LC_TIME=da_DK
LC_MONETARY=da_DK
LC_NUMERIC=da_DK
|
and locale still says posix .
i never had to change in this file before...
I wonder which package fucked this up ..
any more tips ? _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Koutsos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Sep 2002 Posts: 19 Location: Athens
|
Posted: Tue Mar 09, 2004 8:28 pm Post subject: |
|
|
For typing accented characters in greek (and it should be the same in all other languages) all I need to add in /etc/profile is :
export LC_CTYPE=el_GR
export LC_COLLATE=el_GR
Actually I thing, only the first line is needed. This also fixed problems I used to have, like firefox working correctly with accented characters but ooo did not. I have to mention that adding the above two lines in my ~/.bashrc as described in the gentoo loc. guide, did not work properly.
Also, in XF86config the relative settings are :
Option "XkbLayout" "us,el"
Option "XkbVariant" "extended"
Option "XkbOptions" "grp:alt_shift_toggle"
This allows me to simply change between en/gr keyboards using left alt + shift. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ZuNBiD n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_zapp_brannigan_2.gif)
Joined: 17 Oct 2002 Posts: 22 Location: Portugal
|
Posted: Mon Oct 18, 2004 2:13 pm Post subject: |
|
|
I'm having this problem:
- In jEdit and Eclipse I can type accented characters but not the accents themselves.
this is locale output:
Code: | LANG=pt_PT
LC_CTYPE=pt_PT
LC_NUMERIC=pt_PT
LC_TIME=pt_PT
LC_COLLATE=pt_PT
LC_MONETARY=pt_PT
LC_MESSAGES="pt_PT"
LC_PAPER=pt_PT
LC_NAME=pt_PT
LC_ADDRESS=pt_PT
LC_TELEPHONE=pt_PT
LC_MEASUREMENT=pt_PT
LC_IDENTIFICATION=pt_PT
LC_ALL=
|
help please !!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Mon Oct 18, 2004 3:00 pm Post subject: |
|
|
edit your X server configuration file, and remove the "nodeadkeys" _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ZuNBiD n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_zapp_brannigan_2.gif)
Joined: 17 Oct 2002 Posts: 22 Location: Portugal
|
Posted: Thu Oct 21, 2004 9:26 pm Post subject: |
|
|
I don't have any line with "nodeadkeys" in my XF86config.
But eclipse is working, it's just jEdit that guives me troubles... I'm thinking this is a jEdit bug. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1173
|
Posted: Fri Aug 26, 2005 5:33 am Post subject: |
|
|
Any idea what the "POSIX" entry stands for in the locale variables listed above? I mean POSIX is not a country . . . ![Confused :?](images/smiles/icon_confused.gif) _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Fri Aug 26, 2005 2:51 pm Post subject: |
|
|
just add "export LC_ALL=en_GB" to your .bashrc _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1173
|
Posted: Sat Aug 27, 2005 2:00 pm Post subject: |
|
|
ikaro wrote: | just add "export LC_ALL=en_GB" to your .bashrc | Thanks, I would, but I need this to be a multi-lingual machine. _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|