LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-30-2007, 11:40 PM   #1
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Rep: Reputation: 17
Question Brazilian ABNT2 deadkeys not working for legacy X apps


I can't get ABNT2 deadkeys (ã,õ,ê etc.) to work with legacy X programs (such as AMSN). They work fine in the terminal and in Qt/GTK programs. I have SCIM configured for Japanese input on my system, but that should be irrelevant as I had it before and it worked before upgrading to Feisty. The relevant XKB options are set like this:
Code:
Option "XkbRules" "xfree86"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
Option "XkbOptions" "lv3:ralt_switch"
The "xfree86" rule set is needed to get the 3rd level (Alt Gr) to work.

[Update] This time, SCIM is to blame... disabling it corrected the keyboard behavior. I'll look further into it, but if you guys have any ideas please, by all means, post away!

Last edited by nitrousoxide82; 03-30-2007 at 11:43 PM.
 
Old 03-31-2007, 09:38 AM   #2
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Original Poster
Rep: Reputation: 17
Lightbulb One step ahead

I'm one step closer to solving it. Now the deadkeys are recognized, I had to add my locale (pt_BR.UTF-8) to the SCIM configuration file. However, I seem to get strange characters instead of those I'm supposed to get when I type on pure X programs. I think it might be because LC_CTYPE is set to "ja_JP.UTF-8" (needed to get Japanese input in applications like OpenOffice.org). I'll look further, and post again. Once again, if you guys have any ideas, post away!
 
Old 04-01-2007, 12:37 AM   #3
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Original Poster
Rep: Reputation: 17
Thumbs up Solved

It was an environment variable mess. Since I'm only going to use LC_CTYPE=ja_JP.UTF-8 on OpenOffice.org, I've added
Code:
LC_CTYPE=ja_JP.UTF-8
export LC_CTYPE
to /etc/openoffice/soffice.sh and left my main LC_CTYPE set to pt_BR.UTF-8. Now everything works, but switching between pure X app windows became a little slower because of SCIM. This became necessary too because Wine doesn't handle this kind of setup very well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deadkeys apffal DamnSmallLinux 3 10-18-2006 05:15 PM
brazilian user sparc86 LinuxQuestions.org Member Intro 2 07-17-2006 04:10 PM
PS/2 mouse not working with 'Legacy USB' option kushalkoolwal Linux - Hardware 7 02-23-2006 12:20 AM
Configuring ABNT2 on RedHat 7 maginotjr Linux - Newbie 0 01-30-2005 10:11 PM
Keyboard Brazil ABNT2 paniagor Slackware 1 07-15-2002 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration