-
Notifications
You must be signed in to change notification settings - Fork 61
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
Keyboard layout setting needs setxkbmap #967
Comments
The report makes sense to me.
I don't remember the code (and don't have time to read it now), but I don't think |
So you say if |
On the contrary, I meant that if |
On arch it's quite impossible to remove
but the check could be needed as well for other situations, will test on X11 later. |
Expected Behavior
If
setxkbmap
is not installed and user changes keyboard layout, warn the user with a dialog and revert changes in UI.Also if it can't load current layout on startup, show like a placeholder text in the list view.
Current Behavior
When opening settings, no layout is set in the view. When adding one, error is silently ignored, UI shows the new layout making it seem successful.
If you close and re-open you see again empty layout list view.
Possible Solution
Steps to Reproduce (for bugs)
setxkbmap
is not installedContext
I'm using PostmarketOS edge with LXQt UI (package
postmarketos-ui-lxqt
) which does not installsetxkbmap
by default.This is an issue on their side and I report it as well.
It took me some time to figure out the fault was this missing package so it would be nice to be informed by a dialog in those cases.
This can also be extended to checking process exit status or other ways to confirm change is successful before showing the user the new layout as "correctly set".
This pattern may be present in other parts of code but I'm still learning LXQt internals. I'm happy to make a pull request if you agree on the concept.
System Information
The text was updated successfully, but these errors were encountered: