Open rmasad opened 1 month ago
Which keyboard layout do you use? You need to set the correct layout from gnome-settings.
It is set to the correct one. In fact, accents work in applications not installed with snap (and in Gnome/Regolith with i3wm that also use gnome-settings).
Update: reviewing, it is not all Snap applications that fail, so far the ones I see with problems are: Slack, Discord, Brave and Mailspring.
Snap creates containers that have very limited access to the host environment. I guess this is totally dependent on the snap. In my case Firefox
also doen't inherit system theme. Do you know if any of these applications works with the system theme in other DE?
How can I know if the system configuration is loading?
Digging a little more I see that Slack when I open it tells me:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (es_ES.UTF-8)
I think I found the problem. When entering Chromium and forcing it to use Wayland, accents work.
Apparently snap applications that use electron have this problem.
When trying to force the use of Wayland on some, it gives an error:
mailspring --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto
[59198:0625/130002.609262:ERROR:wayland_connection.cc(224)] Failed to connect to Wayland display: No such file or directory (2)
[59198:0625/130002.609301:ERROR:ozone_platform_wayland.cc(223)] Failed to initialize Wayland platform
[59198:0625/130002.609304:ERROR:env.cc(255)] The platform failed to initialize. Exiting.
The futex facility returned an unexpected error code.
[0625/130002.618119:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1] 59198 IOT instruction (core dumped) mailspring --enable-features=UseOzonePlatform,WaylandWindowDecorations
A strange error (which I thought was from Ubuntu) is that the accent does not work in applications installed with snap (I'm Latin American, we have characters like á, é, í or ú).
I tried Regolith with X11 and Gnome, accents work well in both.