'LeftShift+RightShift' switches layout although it's not configured to












2















I have new Ubuntu 18.04 with Gnome 3.28.1 on my laptop, and I run into a problem.



I have set Alt+Shift on keyboard layout switching, but LeftShift+RightShift combo also triggers the switching, and I just can't find out why.



I have used gnome-tweak-tool for the configuring, and I can guarantee that there is no ticks on the checkbox Both Shifts together. As for built-in Settings -> Devices -> Keyboard -> Typing, they have been set to Disabled and therefore can't interfere.



Also, I checked org/gnome/desktop/input-sources via dconf-editor, and it shows grp:alt_shift_toggle as it should, there is no mention of grp:shifts_toggle at all. But it still switches a layout, and it just makes me mad. Can anyone help me? Is it a bug or something?



P.S. However, if I disable Alt-Shift as a layout-switcher, LeftShift+RightShift also disappears, so it seems grp:shifts_toggle is a sort of "backup value" or "repeater" of grp:alt_shift_toggle.



P.P.S There are some links where people had encountered with the same, but no solution was found.



https://www.reddit.com/r/gnome/comments/73k5lq/why_pressing_leftshiftrightshift_changes_keyboard/



https://bbs.archlinux.org/viewtopic.php?id=174715










share|improve this question

























  • I see the same. But how is it a problem? I suppose that you rarely press both the shift keys accidentally. Anyway, maybe the grp:lalt_lshift_toggle option is what you prefer.

    – Gunnar Hjalmarsson
    Jun 16 '18 at 22:36













  • Thank you, but LeftAlt+LeftShift is only a half-way solution. It really disables LeftShit+RightShift, but RightShift+LeftShift still switches the layout, which is unwanted behaviour too.

    – Scarabyte
    Jun 18 '18 at 7:56













  • As for the rarity, it's not very uncommon to press both shifts together, if you do fast 10-fingers touch typing. You see, if you type something in capital letters, and don't use CapsLock for it (as i do for single capital words), you will need to alternate between LeftShift and RightShift very fast, depending on which letter key you need to press right now. And sometimes, RightShift is not unpressed yet, while LeftShift is already pressed, causing layout switching in the middle of word you trying to type.

    – Scarabyte
    Jun 18 '18 at 7:57











  • <Super>+<Space> is the default shortcut for switching input source. Maybe try that then?

    – Gunnar Hjalmarsson
    Jun 18 '18 at 8:19
















2















I have new Ubuntu 18.04 with Gnome 3.28.1 on my laptop, and I run into a problem.



I have set Alt+Shift on keyboard layout switching, but LeftShift+RightShift combo also triggers the switching, and I just can't find out why.



I have used gnome-tweak-tool for the configuring, and I can guarantee that there is no ticks on the checkbox Both Shifts together. As for built-in Settings -> Devices -> Keyboard -> Typing, they have been set to Disabled and therefore can't interfere.



Also, I checked org/gnome/desktop/input-sources via dconf-editor, and it shows grp:alt_shift_toggle as it should, there is no mention of grp:shifts_toggle at all. But it still switches a layout, and it just makes me mad. Can anyone help me? Is it a bug or something?



P.S. However, if I disable Alt-Shift as a layout-switcher, LeftShift+RightShift also disappears, so it seems grp:shifts_toggle is a sort of "backup value" or "repeater" of grp:alt_shift_toggle.



P.P.S There are some links where people had encountered with the same, but no solution was found.



https://www.reddit.com/r/gnome/comments/73k5lq/why_pressing_leftshiftrightshift_changes_keyboard/



https://bbs.archlinux.org/viewtopic.php?id=174715










share|improve this question

























  • I see the same. But how is it a problem? I suppose that you rarely press both the shift keys accidentally. Anyway, maybe the grp:lalt_lshift_toggle option is what you prefer.

    – Gunnar Hjalmarsson
    Jun 16 '18 at 22:36













  • Thank you, but LeftAlt+LeftShift is only a half-way solution. It really disables LeftShit+RightShift, but RightShift+LeftShift still switches the layout, which is unwanted behaviour too.

    – Scarabyte
    Jun 18 '18 at 7:56













  • As for the rarity, it's not very uncommon to press both shifts together, if you do fast 10-fingers touch typing. You see, if you type something in capital letters, and don't use CapsLock for it (as i do for single capital words), you will need to alternate between LeftShift and RightShift very fast, depending on which letter key you need to press right now. And sometimes, RightShift is not unpressed yet, while LeftShift is already pressed, causing layout switching in the middle of word you trying to type.

    – Scarabyte
    Jun 18 '18 at 7:57











  • <Super>+<Space> is the default shortcut for switching input source. Maybe try that then?

    – Gunnar Hjalmarsson
    Jun 18 '18 at 8:19














2












2








2








I have new Ubuntu 18.04 with Gnome 3.28.1 on my laptop, and I run into a problem.



I have set Alt+Shift on keyboard layout switching, but LeftShift+RightShift combo also triggers the switching, and I just can't find out why.



I have used gnome-tweak-tool for the configuring, and I can guarantee that there is no ticks on the checkbox Both Shifts together. As for built-in Settings -> Devices -> Keyboard -> Typing, they have been set to Disabled and therefore can't interfere.



Also, I checked org/gnome/desktop/input-sources via dconf-editor, and it shows grp:alt_shift_toggle as it should, there is no mention of grp:shifts_toggle at all. But it still switches a layout, and it just makes me mad. Can anyone help me? Is it a bug or something?



P.S. However, if I disable Alt-Shift as a layout-switcher, LeftShift+RightShift also disappears, so it seems grp:shifts_toggle is a sort of "backup value" or "repeater" of grp:alt_shift_toggle.



P.P.S There are some links where people had encountered with the same, but no solution was found.



https://www.reddit.com/r/gnome/comments/73k5lq/why_pressing_leftshiftrightshift_changes_keyboard/



https://bbs.archlinux.org/viewtopic.php?id=174715










share|improve this question
















I have new Ubuntu 18.04 with Gnome 3.28.1 on my laptop, and I run into a problem.



I have set Alt+Shift on keyboard layout switching, but LeftShift+RightShift combo also triggers the switching, and I just can't find out why.



I have used gnome-tweak-tool for the configuring, and I can guarantee that there is no ticks on the checkbox Both Shifts together. As for built-in Settings -> Devices -> Keyboard -> Typing, they have been set to Disabled and therefore can't interfere.



Also, I checked org/gnome/desktop/input-sources via dconf-editor, and it shows grp:alt_shift_toggle as it should, there is no mention of grp:shifts_toggle at all. But it still switches a layout, and it just makes me mad. Can anyone help me? Is it a bug or something?



P.S. However, if I disable Alt-Shift as a layout-switcher, LeftShift+RightShift also disappears, so it seems grp:shifts_toggle is a sort of "backup value" or "repeater" of grp:alt_shift_toggle.



P.P.S There are some links where people had encountered with the same, but no solution was found.



https://www.reddit.com/r/gnome/comments/73k5lq/why_pressing_leftshiftrightshift_changes_keyboard/



https://bbs.archlinux.org/viewtopic.php?id=174715







gnome keyboard shortcut-keys 18.04 keyboard-layout






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 16 '18 at 16:59









Graham

2,23461629




2,23461629










asked Jun 16 '18 at 13:19









ScarabyteScarabyte

512




512













  • I see the same. But how is it a problem? I suppose that you rarely press both the shift keys accidentally. Anyway, maybe the grp:lalt_lshift_toggle option is what you prefer.

    – Gunnar Hjalmarsson
    Jun 16 '18 at 22:36













  • Thank you, but LeftAlt+LeftShift is only a half-way solution. It really disables LeftShit+RightShift, but RightShift+LeftShift still switches the layout, which is unwanted behaviour too.

    – Scarabyte
    Jun 18 '18 at 7:56













  • As for the rarity, it's not very uncommon to press both shifts together, if you do fast 10-fingers touch typing. You see, if you type something in capital letters, and don't use CapsLock for it (as i do for single capital words), you will need to alternate between LeftShift and RightShift very fast, depending on which letter key you need to press right now. And sometimes, RightShift is not unpressed yet, while LeftShift is already pressed, causing layout switching in the middle of word you trying to type.

    – Scarabyte
    Jun 18 '18 at 7:57











  • <Super>+<Space> is the default shortcut for switching input source. Maybe try that then?

    – Gunnar Hjalmarsson
    Jun 18 '18 at 8:19



















  • I see the same. But how is it a problem? I suppose that you rarely press both the shift keys accidentally. Anyway, maybe the grp:lalt_lshift_toggle option is what you prefer.

    – Gunnar Hjalmarsson
    Jun 16 '18 at 22:36













  • Thank you, but LeftAlt+LeftShift is only a half-way solution. It really disables LeftShit+RightShift, but RightShift+LeftShift still switches the layout, which is unwanted behaviour too.

    – Scarabyte
    Jun 18 '18 at 7:56













  • As for the rarity, it's not very uncommon to press both shifts together, if you do fast 10-fingers touch typing. You see, if you type something in capital letters, and don't use CapsLock for it (as i do for single capital words), you will need to alternate between LeftShift and RightShift very fast, depending on which letter key you need to press right now. And sometimes, RightShift is not unpressed yet, while LeftShift is already pressed, causing layout switching in the middle of word you trying to type.

    – Scarabyte
    Jun 18 '18 at 7:57











  • <Super>+<Space> is the default shortcut for switching input source. Maybe try that then?

    – Gunnar Hjalmarsson
    Jun 18 '18 at 8:19

















I see the same. But how is it a problem? I suppose that you rarely press both the shift keys accidentally. Anyway, maybe the grp:lalt_lshift_toggle option is what you prefer.

– Gunnar Hjalmarsson
Jun 16 '18 at 22:36







I see the same. But how is it a problem? I suppose that you rarely press both the shift keys accidentally. Anyway, maybe the grp:lalt_lshift_toggle option is what you prefer.

– Gunnar Hjalmarsson
Jun 16 '18 at 22:36















Thank you, but LeftAlt+LeftShift is only a half-way solution. It really disables LeftShit+RightShift, but RightShift+LeftShift still switches the layout, which is unwanted behaviour too.

– Scarabyte
Jun 18 '18 at 7:56







Thank you, but LeftAlt+LeftShift is only a half-way solution. It really disables LeftShit+RightShift, but RightShift+LeftShift still switches the layout, which is unwanted behaviour too.

– Scarabyte
Jun 18 '18 at 7:56















As for the rarity, it's not very uncommon to press both shifts together, if you do fast 10-fingers touch typing. You see, if you type something in capital letters, and don't use CapsLock for it (as i do for single capital words), you will need to alternate between LeftShift and RightShift very fast, depending on which letter key you need to press right now. And sometimes, RightShift is not unpressed yet, while LeftShift is already pressed, causing layout switching in the middle of word you trying to type.

– Scarabyte
Jun 18 '18 at 7:57





As for the rarity, it's not very uncommon to press both shifts together, if you do fast 10-fingers touch typing. You see, if you type something in capital letters, and don't use CapsLock for it (as i do for single capital words), you will need to alternate between LeftShift and RightShift very fast, depending on which letter key you need to press right now. And sometimes, RightShift is not unpressed yet, while LeftShift is already pressed, causing layout switching in the middle of word you trying to type.

– Scarabyte
Jun 18 '18 at 7:57













<Super>+<Space> is the default shortcut for switching input source. Maybe try that then?

– Gunnar Hjalmarsson
Jun 18 '18 at 8:19





<Super>+<Space> is the default shortcut for switching input source. Maybe try that then?

– Gunnar Hjalmarsson
Jun 18 '18 at 8:19










1 Answer
1






active

oldest

votes


















0














I couldn't disable the LeftShift+RightShift shortcut anywhere, and at the end I decided to switch to Wayland as a replacement to Xorg. If you are using GNOME3 with GDM, change GDM settings in /etc/gdm/custom.conf, and choose Wayland instead of Xorg.






share|improve this answer


























  • Someone should clarify this answer. The missing detail for GDM settings may be the reverse of this answer, which I am not sure since I do not use GNOME.

    – clearkimura
    Feb 19 at 16:23











  • Nevermind, this answer is wrong, I thought it actually fixed the issue, but then realized it didn't. Apparently pressing RShift first then press LShift (while holding RShift) will switch the layout, while the reverse will not (LShift then RShift). I still can't figure out how to prevent this combo from changing the layout

    – Muhamad Azmy
    Feb 20 at 14:35











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1047117%2fleftshiftrightshift-switches-layout-although-its-not-configured-to%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I couldn't disable the LeftShift+RightShift shortcut anywhere, and at the end I decided to switch to Wayland as a replacement to Xorg. If you are using GNOME3 with GDM, change GDM settings in /etc/gdm/custom.conf, and choose Wayland instead of Xorg.






share|improve this answer


























  • Someone should clarify this answer. The missing detail for GDM settings may be the reverse of this answer, which I am not sure since I do not use GNOME.

    – clearkimura
    Feb 19 at 16:23











  • Nevermind, this answer is wrong, I thought it actually fixed the issue, but then realized it didn't. Apparently pressing RShift first then press LShift (while holding RShift) will switch the layout, while the reverse will not (LShift then RShift). I still can't figure out how to prevent this combo from changing the layout

    – Muhamad Azmy
    Feb 20 at 14:35
















0














I couldn't disable the LeftShift+RightShift shortcut anywhere, and at the end I decided to switch to Wayland as a replacement to Xorg. If you are using GNOME3 with GDM, change GDM settings in /etc/gdm/custom.conf, and choose Wayland instead of Xorg.






share|improve this answer


























  • Someone should clarify this answer. The missing detail for GDM settings may be the reverse of this answer, which I am not sure since I do not use GNOME.

    – clearkimura
    Feb 19 at 16:23











  • Nevermind, this answer is wrong, I thought it actually fixed the issue, but then realized it didn't. Apparently pressing RShift first then press LShift (while holding RShift) will switch the layout, while the reverse will not (LShift then RShift). I still can't figure out how to prevent this combo from changing the layout

    – Muhamad Azmy
    Feb 20 at 14:35














0












0








0







I couldn't disable the LeftShift+RightShift shortcut anywhere, and at the end I decided to switch to Wayland as a replacement to Xorg. If you are using GNOME3 with GDM, change GDM settings in /etc/gdm/custom.conf, and choose Wayland instead of Xorg.






share|improve this answer















I couldn't disable the LeftShift+RightShift shortcut anywhere, and at the end I decided to switch to Wayland as a replacement to Xorg. If you are using GNOME3 with GDM, change GDM settings in /etc/gdm/custom.conf, and choose Wayland instead of Xorg.







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 19 at 16:16









clearkimura

4,25021957




4,25021957










answered Feb 19 at 11:08









Muhamad AzmyMuhamad Azmy

1




1













  • Someone should clarify this answer. The missing detail for GDM settings may be the reverse of this answer, which I am not sure since I do not use GNOME.

    – clearkimura
    Feb 19 at 16:23











  • Nevermind, this answer is wrong, I thought it actually fixed the issue, but then realized it didn't. Apparently pressing RShift first then press LShift (while holding RShift) will switch the layout, while the reverse will not (LShift then RShift). I still can't figure out how to prevent this combo from changing the layout

    – Muhamad Azmy
    Feb 20 at 14:35



















  • Someone should clarify this answer. The missing detail for GDM settings may be the reverse of this answer, which I am not sure since I do not use GNOME.

    – clearkimura
    Feb 19 at 16:23











  • Nevermind, this answer is wrong, I thought it actually fixed the issue, but then realized it didn't. Apparently pressing RShift first then press LShift (while holding RShift) will switch the layout, while the reverse will not (LShift then RShift). I still can't figure out how to prevent this combo from changing the layout

    – Muhamad Azmy
    Feb 20 at 14:35

















Someone should clarify this answer. The missing detail for GDM settings may be the reverse of this answer, which I am not sure since I do not use GNOME.

– clearkimura
Feb 19 at 16:23





Someone should clarify this answer. The missing detail for GDM settings may be the reverse of this answer, which I am not sure since I do not use GNOME.

– clearkimura
Feb 19 at 16:23













Nevermind, this answer is wrong, I thought it actually fixed the issue, but then realized it didn't. Apparently pressing RShift first then press LShift (while holding RShift) will switch the layout, while the reverse will not (LShift then RShift). I still can't figure out how to prevent this combo from changing the layout

– Muhamad Azmy
Feb 20 at 14:35





Nevermind, this answer is wrong, I thought it actually fixed the issue, but then realized it didn't. Apparently pressing RShift first then press LShift (while holding RShift) will switch the layout, while the reverse will not (LShift then RShift). I still can't figure out how to prevent this combo from changing the layout

– Muhamad Azmy
Feb 20 at 14:35


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1047117%2fleftshiftrightshift-switches-layout-although-its-not-configured-to%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido