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

bug(linux): Wrong environment detected installing keyboards #11225

Closed
ermshiperete opened this issue Apr 15, 2024 · 0 comments · Fixed by #11292
Closed

bug(linux): Wrong environment detected installing keyboards #11225

ermshiperete opened this issue Apr 15, 2024 · 0 comments · Fixed by #11292

Comments

@ermshiperete
Copy link
Contributor

ermshiperete commented Apr 15, 2024

On Ubuntu Budgie installing a keyboard changes dconf settings under ibus instead of gnome. This causes the keyboards to not be available to the user without going into gnome-control-center and adding it there.

Why do we detect the wrong environment?

See https://community.software.sil.org/t/cannot-activate-keyman-in-ubuntu/8609/4

@ermshiperete ermshiperete added this to the B17S6 milestone Apr 15, 2024
@ermshiperete ermshiperete self-assigned this Apr 15, 2024
@mcdurdin mcdurdin modified the milestones: B17S6, A18S1 Apr 22, 2024
ermshiperete added a commit that referenced this issue Apr 23, 2024
This change improves the way we detect if we're running a Gnome based
UI that needs it's keyboards installed under
`org.gnome.desktop.input-sources`. We use the environment variable
`XDG_CURRENT_DESKTOP` and check if it contains the word `gnome`.
Additionally this change renames `is_gnome_shell()` to
`is_gnome_desktop()`.

Fixes #11225.
ermshiperete added a commit that referenced this issue Apr 23, 2024
This change improves the way we detect if we're running a Gnome based
UI that needs it's keyboards installed under
`org.gnome.desktop.input-sources`. We use the environment variable
`XDG_CURRENT_DESKTOP` and check if it contains the word `gnome`.
Additionally this change renames `is_gnome_shell()` to
`is_gnome_desktop()`.

Fixes #11225.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants