[18:19] <gz1[m]> Portuguese keyboard is not writing this characters " á ã â " on Ubuntu Studio with any desktop app. Text editors including...
[18:19] <gz1[m]> It works on browsers!
[18:19] <gz1[m]> On my US keyboard with Portuguese layout if i type " ] \ | " i get " á ã â ".
[18:19] <gz1[m]> All works well with Kubuntu. What setting/config file do i compare with Kubuntu so i can apply it in ubuntu studio?
[18:20] <gz1[m]>  * Portuguese keyboard is not writing this characters " á ã â " on Ubuntu Studio with any desktop app. Text editors including...... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/15bc1616d31f5100adc496b88ffbae3aaa2fff1d>)
[18:21] <gz1[m]>  * Hi guys,... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/e8dbfa476a23c9a42007b8ef3b9c4e534d1c48b9>)
[18:33] <gz1[m]>  * Hi guys,... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/bacdbf11a045cb9ff42c927fc1c120faed7a637f>)
[18:34] <Eickmeyer> gz1[m]: Please do not re-edit your message, it comes across as spam in the IRC chat side as IRC has no way to discern more than small edits.
[18:34] <gz1[m]>  * Hi guys,... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/73475d70e887f4e499c09283fd01a71c750e4f1b>)
[18:35] <gz1[m]> got it!
[18:35] <Eickmeyer[m]> gz1: Unfortunately, I don't think you're going to find an answer here. I'm the person who came up with the configurations, which were forked directly from Kubuntu.  There are no portugese-specific confugurations at all in either Kubuntu or Ubuntu Studio, so that tells me there might be a misconfiguration in either your ~/.config folder or ~/.config/kdedefaults. 
[18:37] <gz1[m]> i'm new to linux, but i can only confirm the kubuntu install i have in virtualbox works out of the box
[18:37] <Eickmeyer[m]> gz1: That's because, in your Ubuntu Studio install, there's likely a misconfiguration in your home folder (denoted by ~/).
[18:38] <Eickmeyer[m]> I'm part of the Kubuntu team as well.
[18:38] <gz1[m]> it only worked once in studio - then never worked again. Glitch behaviour
[18:38] <gz1[m]> that's makes sense. i am checking that now
[18:38] <Eickmeyer[m]> I'm telling you that there are no differences in terms of locallization.
[18:38] <gz1[m]> 100%
[18:38] <Eickmeyer[m]> A good way to check is to make a new user and log-in as that user.
[18:39] <gz1[m]> great idea
[18:39] <gz1[m]> what file can i copy from new user to the one i'm using?
[18:40] <Eickmeyer[m]> It wouldn't be a file, but a whole folder. It'd be hidden and labeled .config in your home folder.
[18:40] <gz1[m]> yes, i'm inside it
[18:41] <Eickmeyer[m]> As far as which file does the keyboard localization, I'm not sure which one does it.
[18:41] <Eickmeyer[m]> But I have reason to believe you have a corrupt file somewhere.
[18:42] <gz1[m]> i read in a stackexchange thread it's this one kxkbrc
[18:42] <gz1[m]> -------------... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/04cbf7ba8ed474a42b2fda09689e7fe268db44cf>)
[18:43] <Eickmeyer[m]> If that's the case, then try deleting it. Worst that will happen is it will default to your regional defaults. It might also exist in .config/kdedefaults, delete that one too.
[18:43] <gz1[m]> is there a way to reset to default without breaking all tyhe apps i have inside .config ?
[18:43] <Eickmeyer[m]> If you delete the whole folder, it'll delete all of your configs, so no.
[18:43] <gz1[m]> no. not in kdedefaults
[18:44] <gz1[m]> Eickmeyer[m]: yes sure. i'm aware of this
[18:44] <Eickmeyer[m]> Ok, then deleting that might be enough. But it does look like your LayoutList is preferring US.
[18:44] <gz1[m]> Eickmeyer[m]: yes so annoying my god. 
[18:44] <Eickmeyer[m]> Then reverse that. Make it pt,us.
[18:44] <gz1[m]> why doesn't it respect manual change? it always switches back to us sometimes after 5 seconds
[18:45] <gz1[m]> done!
[18:45] <Eickmeyer[m]> That's weird.
[18:45] <gz1[m]> it should respect manual switching tough
[18:45] <Eickmeyer[m]> I'd think so. What are you using to switch it?
[18:45] <gz1[m]> Eickmeyer[m]: yes i read a thread on this from ubuntu
[18:45] <gz1[m]> i believe sometimes makes this happen. let me find the thread
[18:47] <Eickmeyer[m]> There should be a keyboard icon in your system tray (upper right corner by default) that should let you switch it. This is the ibus indicator.
[18:47] <gz1[m]> yes i have it
[18:47] <gz1[m]> this is exactly the issue i also have
[18:47] <gz1[m]> https://askubuntu.com/questions/1404194/ubuntu-studio-22-04-forces-keyboard-layout-to-english
[18:48] <gz1[m]> i followed the solution but still the same persistent issue
[18:48] <gz1[m]> something is conflicting
[18:48] <Eickmeyer[m]> I'm not sure it's conflicting, but maybe a bug upstream in KDE.
[18:49] <Eickmeyer[m]> So, did reversing pt and us help you?
[18:49] <gz1[m]> i am testing that now
[18:49] <gz1[m]> im on Ubuntu 22.04.1 LTS
[18:49] <Eickmeyer[m]> Good to know.
[18:49] <gz1[m]> let me reboot
[18:49] <gz1[m]> be back in 2min
[19:41] <gz1[m]> [Layout]... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/4c55db5c5631cc9c311b287c14c17548a645ac8b>)
[19:41] <gz1[m]> still jumps to US all the time
[19:41] <gz1[m]>  * ----------------------------
[19:41] <gz1[m]> still jumps to US all the time
[19:42] <gz1[m]> and the portuguese chars in questions are still not working
[20:01] <Eickmeyer[m]> gz1: It's very possible you may have found an upstream bug, but before we go down that road, try deleting ~/.config/kxkbrc first, relog, and try setting your keyboard layout via system settings again.
[22:07] <gz1[m]> i did exactly that and same issue!
[22:18] <Eickmeyer[m]> gz1: Ok, that tells me this is likely an upstream issue with a KDE Plasma component, but I'm not sure which one. I might have to discuss this.
[22:22] <Eickmeyer[m]> gz1: In the meantime, you might try asking in #ubuntu-pt:libera.chat or #ubuntu-br:libera.chat as those are the Portuguese communities and are very active. They might have an idea.