Accent error in IDE editor - Linux

Asked

Viewed 425 times

0

I’m having stress issues in the 'Netbeans' and 'Android Studio IDE’s'.

My operating system is linux Elementary os [Elementary OS 0.4 Loki]

Only id accentuation characters are not typed. This is not an Encode problem.

For example, when I type "no, coffee, flight", the words look like this: "no, cafe, flight" ... as if the seats were not set.

Exit from locales -a

bg_BG.utf8
C
ca_AD.utf8
ca_ES.utf8
ca_ES.utf8@valencia
ca_FR.utf8
ca_IT.utf8
cs_CZ.utf8
C.UTF-8
da_DK.utf8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
hu_HU.utf8
id_ID.utf8
ja_JP.utf8
ko_KR.utf8
nb_NO.utf8
nl_AW
nl_AW.utf8
nl_BE.utf8
nl_NL.utf8
pl_PL.utf8
POSIX
pt_BR
pt_BR.iso88591
pt_BR.utf8
pt_PT.utf8
sv_FI.utf8
sv_SE.utf8
th_TH.utf8
tr_CY.utf8
tr_TR.utf8
uk_UA.utf8
vi_VN
vi_VN.utf8
zh_HK.utf8
zh_TW.utf8

Netbeans Configuration

Product Version: NetBeans IDE 8.2 (Build 201609300101)
Atualizações: O IDE NetBeans está atualizado para a versão NetBeans 8.2 Patch 1
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Linux version 4.4.0-57-generic running on amd64; utf-8; pt_BR (nb)
User directory: /home/marcela/.netbeans/8.2
Cache directory: /home/marcela/.cache/netbeans/8.2

Configuration Android Studio inserir a descrição da imagem aqui

I have tried many things, but I have not been able to solve this problem. However, when I open android studio from the terminal (as root) the accent works. [Netbeans failed to test this way].

2 answers

1

How I solved the Android Studio accent problem in Elentary OS.

First of all, this is the problem of Elementary OS (or the Linux you’re using) and not Android Studio. So no use reinstalling, it won’t solve!

Solving...

In Elentary OS Step 1: Install "ibus QT4".
In a terminal:

sudo apt install ibus-qt4

Step 2: Open the ibus

ibus-setup

Step 3: In the second tab, "Input Method", check if you have the option "Portuguese - Portuguese(Brazil)".

3.a) If you do not have the entry "Portuguese - Portuguese(Brasil)", click on the button next to "Add", search for "Portuguese - Português(Brasil)" and add. Proceed to step 3.B;

3.B) If you have the entry "Portuguese - Portuguese(Brasil)", delete the entry "English" and leave only the "Português". Close the ibus and go to step 4;

Step 4: After you close ibus, type in the terminal:

ibus-daemon -drx

Now run a test. This will solve the problem until the next reboot. To keep running "4éva", you need to put the command of step 4 on automatic startup (on Elementary OS).

1


First test with the following command:

setxkbmap -model abnt2 -layout br -variant abnt2 

If it works and you want to make it work permanently, edit the following file:

sudo nano /etc/default/keyboard

and change it to the following configuration:

XKBMODEL="pc105"
XKBLAYOUT="br"
XKBVARIANT="abnt2"
XKBOPTIONS=""

Save the file and reboot and close if it is permanent.

  • Thank you. is now working :D

Browser other questions tagged

You are not signed in. Login or sign up in order to post.