Gnome 3.22: disable alt+shift keyboard layout switching
up vote
13
down vote
favorite
After the latest upgrade on Debian stretch, hitting alt+shift
on my keyboard make it change layout, which breaks all my alt+shift+<anything>
xbindkeys
shortcuts.
I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.
In Settings -> Languages, it is said that this alt+shift
behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift
seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys
can work around this?
gnome keyboard-shortcuts gnome3 keyboard-layout
add a comment |
up vote
13
down vote
favorite
After the latest upgrade on Debian stretch, hitting alt+shift
on my keyboard make it change layout, which breaks all my alt+shift+<anything>
xbindkeys
shortcuts.
I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.
In Settings -> Languages, it is said that this alt+shift
behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift
seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys
can work around this?
gnome keyboard-shortcuts gnome3 keyboard-layout
add a comment |
up vote
13
down vote
favorite
up vote
13
down vote
favorite
After the latest upgrade on Debian stretch, hitting alt+shift
on my keyboard make it change layout, which breaks all my alt+shift+<anything>
xbindkeys
shortcuts.
I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.
In Settings -> Languages, it is said that this alt+shift
behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift
seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys
can work around this?
gnome keyboard-shortcuts gnome3 keyboard-layout
After the latest upgrade on Debian stretch, hitting alt+shift
on my keyboard make it change layout, which breaks all my alt+shift+<anything>
xbindkeys
shortcuts.
I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.
In Settings -> Languages, it is said that this alt+shift
behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift
seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys
can work around this?
gnome keyboard-shortcuts gnome3 keyboard-layout
gnome keyboard-shortcuts gnome3 keyboard-layout
asked Dec 28 '16 at 20:58
iago-lito
7391824
7391824
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
26
down vote
accepted
Okay, got it: this line in my /etc/default/keyboard
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
.. should not contain grp:alt_shift_toggle
, which is the relevant xkb option according to this post.
In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:
$ dconf read /org/gnome/desktop/input-sources/xkb-options
['grp:alt_shift_toggle','grp_led:scroll']
.. should not read grp:alt_shift_toggle
on my machine as well. So after I ran:
dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"
I got my good'ol behaviour back ;)
I have filed this as a bug to Gnome.
I was able to disable theAlt + Shift
shortcut for changing keyboard layout by disabling the shortcut inSettings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source
. Yes, the name is quite vague but you can see that it's mapped toAlt + Shift
.
– hb20007
Sep 8 at 17:47
@hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
– iago-lito
Sep 8 at 17:53
gnome-shell --version
gives 3.18.5
– hb20007
Sep 8 at 18:46
1
@hb20007 Okay, I get it then. This post is about a problem occuring on3.22
, which is the reason why it works fine in your case :)
– iago-lito
Sep 8 at 18:50
add a comment |
up vote
0
down vote
Also this is another option in graphical mode (gnome 3.22):
- Open the gnome 'tweak tool' or type
gnome-tweak-tool
on a terminal - Go to the 'Typing' tab
- Click on 'Switching to another layout'
- Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333368%2fgnome-3-22-disable-altshift-keyboard-layout-switching%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
26
down vote
accepted
Okay, got it: this line in my /etc/default/keyboard
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
.. should not contain grp:alt_shift_toggle
, which is the relevant xkb option according to this post.
In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:
$ dconf read /org/gnome/desktop/input-sources/xkb-options
['grp:alt_shift_toggle','grp_led:scroll']
.. should not read grp:alt_shift_toggle
on my machine as well. So after I ran:
dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"
I got my good'ol behaviour back ;)
I have filed this as a bug to Gnome.
I was able to disable theAlt + Shift
shortcut for changing keyboard layout by disabling the shortcut inSettings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source
. Yes, the name is quite vague but you can see that it's mapped toAlt + Shift
.
– hb20007
Sep 8 at 17:47
@hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
– iago-lito
Sep 8 at 17:53
gnome-shell --version
gives 3.18.5
– hb20007
Sep 8 at 18:46
1
@hb20007 Okay, I get it then. This post is about a problem occuring on3.22
, which is the reason why it works fine in your case :)
– iago-lito
Sep 8 at 18:50
add a comment |
up vote
26
down vote
accepted
Okay, got it: this line in my /etc/default/keyboard
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
.. should not contain grp:alt_shift_toggle
, which is the relevant xkb option according to this post.
In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:
$ dconf read /org/gnome/desktop/input-sources/xkb-options
['grp:alt_shift_toggle','grp_led:scroll']
.. should not read grp:alt_shift_toggle
on my machine as well. So after I ran:
dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"
I got my good'ol behaviour back ;)
I have filed this as a bug to Gnome.
I was able to disable theAlt + Shift
shortcut for changing keyboard layout by disabling the shortcut inSettings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source
. Yes, the name is quite vague but you can see that it's mapped toAlt + Shift
.
– hb20007
Sep 8 at 17:47
@hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
– iago-lito
Sep 8 at 17:53
gnome-shell --version
gives 3.18.5
– hb20007
Sep 8 at 18:46
1
@hb20007 Okay, I get it then. This post is about a problem occuring on3.22
, which is the reason why it works fine in your case :)
– iago-lito
Sep 8 at 18:50
add a comment |
up vote
26
down vote
accepted
up vote
26
down vote
accepted
Okay, got it: this line in my /etc/default/keyboard
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
.. should not contain grp:alt_shift_toggle
, which is the relevant xkb option according to this post.
In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:
$ dconf read /org/gnome/desktop/input-sources/xkb-options
['grp:alt_shift_toggle','grp_led:scroll']
.. should not read grp:alt_shift_toggle
on my machine as well. So after I ran:
dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"
I got my good'ol behaviour back ;)
I have filed this as a bug to Gnome.
Okay, got it: this line in my /etc/default/keyboard
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
.. should not contain grp:alt_shift_toggle
, which is the relevant xkb option according to this post.
In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:
$ dconf read /org/gnome/desktop/input-sources/xkb-options
['grp:alt_shift_toggle','grp_led:scroll']
.. should not read grp:alt_shift_toggle
on my machine as well. So after I ran:
dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"
I got my good'ol behaviour back ;)
I have filed this as a bug to Gnome.
edited Jun 12 at 10:44
answered Dec 28 '16 at 22:25
iago-lito
7391824
7391824
I was able to disable theAlt + Shift
shortcut for changing keyboard layout by disabling the shortcut inSettings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source
. Yes, the name is quite vague but you can see that it's mapped toAlt + Shift
.
– hb20007
Sep 8 at 17:47
@hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
– iago-lito
Sep 8 at 17:53
gnome-shell --version
gives 3.18.5
– hb20007
Sep 8 at 18:46
1
@hb20007 Okay, I get it then. This post is about a problem occuring on3.22
, which is the reason why it works fine in your case :)
– iago-lito
Sep 8 at 18:50
add a comment |
I was able to disable theAlt + Shift
shortcut for changing keyboard layout by disabling the shortcut inSettings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source
. Yes, the name is quite vague but you can see that it's mapped toAlt + Shift
.
– hb20007
Sep 8 at 17:47
@hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
– iago-lito
Sep 8 at 17:53
gnome-shell --version
gives 3.18.5
– hb20007
Sep 8 at 18:46
1
@hb20007 Okay, I get it then. This post is about a problem occuring on3.22
, which is the reason why it works fine in your case :)
– iago-lito
Sep 8 at 18:50
I was able to disable the
Alt + Shift
shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source
. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift
.– hb20007
Sep 8 at 17:47
I was able to disable the
Alt + Shift
shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source
. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift
.– hb20007
Sep 8 at 17:47
@hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
– iago-lito
Sep 8 at 17:53
@hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
– iago-lito
Sep 8 at 17:53
gnome-shell --version
gives 3.18.5– hb20007
Sep 8 at 18:46
gnome-shell --version
gives 3.18.5– hb20007
Sep 8 at 18:46
1
1
@hb20007 Okay, I get it then. This post is about a problem occuring on
3.22
, which is the reason why it works fine in your case :)– iago-lito
Sep 8 at 18:50
@hb20007 Okay, I get it then. This post is about a problem occuring on
3.22
, which is the reason why it works fine in your case :)– iago-lito
Sep 8 at 18:50
add a comment |
up vote
0
down vote
Also this is another option in graphical mode (gnome 3.22):
- Open the gnome 'tweak tool' or type
gnome-tweak-tool
on a terminal - Go to the 'Typing' tab
- Click on 'Switching to another layout'
- Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift
add a comment |
up vote
0
down vote
Also this is another option in graphical mode (gnome 3.22):
- Open the gnome 'tweak tool' or type
gnome-tweak-tool
on a terminal - Go to the 'Typing' tab
- Click on 'Switching to another layout'
- Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift
add a comment |
up vote
0
down vote
up vote
0
down vote
Also this is another option in graphical mode (gnome 3.22):
- Open the gnome 'tweak tool' or type
gnome-tweak-tool
on a terminal - Go to the 'Typing' tab
- Click on 'Switching to another layout'
- Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift
Also this is another option in graphical mode (gnome 3.22):
- Open the gnome 'tweak tool' or type
gnome-tweak-tool
on a terminal - Go to the 'Typing' tab
- Click on 'Switching to another layout'
- Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift
edited yesterday
mature
1292
1292
answered Nov 12 at 4:17
S. Pedraza
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333368%2fgnome-3-22-disable-altshift-keyboard-layout-switching%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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