Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accent does not work in applications installed with snap #27

Open
rmasad opened this issue May 26, 2024 · 6 comments
Open

Accent does not work in applications installed with snap #27

rmasad opened this issue May 26, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@rmasad
Copy link

rmasad commented May 26, 2024

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.

@rmasad rmasad added the bug Something isn't working label May 26, 2024
@SoumyaRanjanPatnaik
Copy link
Collaborator

Which keyboard layout do you use? You need to set the correct layout from gnome-settings.

@rmasad
Copy link
Author

rmasad commented May 26, 2024

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).

image

@rmasad
Copy link
Author

rmasad commented Jun 14, 2024

Update: reviewing, it is not all Snap applications that fail, so far the ones I see with problems are: Slack, Discord, Brave and Mailspring.

@SoumyaRanjanPatnaik
Copy link
Collaborator

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?

@rmasad
Copy link
Author

rmasad commented Jun 18, 2024

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)

@rmasad
Copy link
Author

rmasad commented Jun 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants