Bug 1657826
Summary: | Keyboard layout mismatch between native and non-native GNOME apps | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Henry <chturne> |
Component: | gnome-shell | Assignee: | Owen Taylor <otaylor> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 29 | CC: | adel.gadllah, extras-orphan, fmuellner, i18n-bugs, mfabian, nav007, otaylor, peter.hutterer, pnemade, psatpute, shawn.p.huang, tfujiwar |
Target Milestone: | --- | Keywords: | i18n |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-21 03:32:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Henry
2018-12-10 14:13:19 UTC
Component probably wrong, had no idea where this should be placed. Let's get review of this bug by ibus maintainers. I think your desktop is GNOME. Can you show the result of the command `gsettings get org.gnome.desktop.input-sources sources` ? I guess you might type Alt-Shift and you could confirm the shortcut key. % sudo dnf install gnome-tweaks % gnome-tweaks Go to "Keyboard & Mouse" -> "Additional Layout Options" Yep, my desktop is GNOME. % gsettings get org.gnome.desktop.input-sources sources [('xkb', 'gb')] Not sure what Alt-Shift does? I pressed it but didn't notice anything happening. % sudo dnf install gnome-tweaks && gnome-tweaks However, when I select Alt-Shift to be the keyboard shortcut in Additional Layout Options, I get, Segmentation fault (core dumped) from gnome-tweak-tool. OK, so at first this seemed random, but now it's consistently different (I'm not sure what to believe anymore). In Chrome and Emacs, the layout is currently US. In GNOME terminal, it's UK. How can this happen, can it be fixed? Driving me nuts! (In reply to Henry from comment #4) > % gsettings get org.gnome.desktop.input-sources sources > [('xkb', 'gb')] OK, I thought you have US and GB but actually GB only. > Not sure what Alt-Shift does? I pressed it but didn't notice anything > happening. OK, seems you don't have any settings from `gsettings get org.gnome.desktop.input-sources xkb-options` > Segmentation fault (core dumped) > > from gnome-tweak-tool. OK, I see. (In reply to Henry from comment #5) > In Chrome and Emacs, the layout is currently US. In GNOME terminal, it's UK. > How can this happen, can it be fixed? Driving me nuts! I set GB only but I cannot reproduce your problem with emacs and firefox. How about gedit? (In reply to fujiwara from comment #6) > (In reply to Henry from comment #4) > > % gsettings get org.gnome.desktop.input-sources sources > > [('xkb', 'gb')] > > OK, I thought you have US and GB but actually GB only. Me too, I only want UK, but that's all I've got selected, and yet still Chrome/Emacs are using what appears to be a US layout (it's definitely not UK). > > > Not sure what Alt-Shift does? I pressed it but didn't notice anything > > happening. > > OK, seems you don't have any settings from `gsettings get > org.gnome.desktop.input-sources xkb-options` $ gsettings get org.gnome.desktop.input-sources xkb-options ['ctrl:swapcaps'] I'd forgotten I had that, might it be causing the problems? I have this in my .bashrc to make that a thing, /usr/bin/setxkbmap -option "ctrl:nocaps" > > > Segmentation fault (core dumped) > > > > from gnome-tweak-tool. > > OK, I see. > > (In reply to Henry from comment #5) > > In Chrome and Emacs, the layout is currently US. In GNOME terminal, it's UK. > > How can this happen, can it be fixed? Driving me nuts! > > I set GB only but I cannot reproduce your problem with emacs and firefox. > How about gedit? gedit also uses the right keymap, so it seems the "GNOME" applications (Terminal, gedit, Evolution) are finding the right layout somehow, but Chrome/Emacs/VSCode are not, which I know are not native GNOME apps. (In reply to Henry from comment #7) > I'd forgotten I had that, might it be causing the problems? I have this in > my .bashrc to make that a thing, > > /usr/bin/setxkbmap -option "ctrl:nocaps" I think it's not good. You should use gnome-tweaks for GNOME settings. If you use other desktops, probably the desktop also would provide the setting tool. > > > In Chrome and Emacs, the layout is currently US. In GNOME terminal, it's UK. > > > How can this happen, can it be fixed? Driving me nuts! > > > > I set GB only but I cannot reproduce your problem with emacs and firefox. > > How about gedit? > > gedit also uses the right keymap, so it seems the "GNOME" applications > (Terminal, gedit, Evolution) are finding the right layout somehow, but > Chrome/Emacs/VSCode are not, which I know are not native GNOME apps. It's a bit strange for me since the keyboard setting is applied to the desktop but not each application. Can you reproduce your problem with a new user account instead of the current user account? Anyway, since your problem happens with GB only, this is not an issue for ibus. (In reply to fujiwara from comment #8) > (In reply to Henry from comment #7) > > I'd forgotten I had that, might it be causing the problems? I have this in > > my .bashrc to make that a thing, > > > > /usr/bin/setxkbmap -option "ctrl:nocaps" > > I think it's not good. You should use gnome-tweaks for GNOME settings. > If you use other desktops, probably the desktop also would provide the > setting tool. So, that seems to have fixed, been working for a couple days after removing this option from my bashrc, not sure why it caused this problem however, but I'm happy it's fixed it. Thanks for the help. Closing this with the submitter's comment. (In reply to Henry from comment #9) > (In reply to fujiwara from comment #8) > > (In reply to Henry from comment #7) > > > I'd forgotten I had that, might it be causing the problems? I have this in > > > my .bashrc to make that a thing, > > > > > > /usr/bin/setxkbmap -option "ctrl:nocaps" > > > > I think it's not good. You should use gnome-tweaks for GNOME settings. > > If you use other desktops, probably the desktop also would provide the > > setting tool. > > So, that seems to have fixed, been working for a couple days after removing > this option from my bashrc, not sure why it caused this problem however, but > I'm happy it's fixed it. Because the entity of /usr/bin/google-chrome is a script which loads .bashrc by exec. The binary files don't load .bashrc. |