Why does “setxkbmap de” not have an effect in a terminal?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
When I try to change my keyboard layout in Ubuntu in a terminal with setxkbmap de, it does not change the layout in the terminal. Yet it changes the layout in other X applications.
I don't understand why this is. I assumed that the keyboard layout is used globally.
Is there a way to change the keyboard layout in the terminal as well?
command-line keyboard-layout xkb
add a comment |
When I try to change my keyboard layout in Ubuntu in a terminal with setxkbmap de, it does not change the layout in the terminal. Yet it changes the layout in other X applications.
I don't understand why this is. I assumed that the keyboard layout is used globally.
Is there a way to change the keyboard layout in the terminal as well?
command-line keyboard-layout xkb
1
Try to use the keyboard shortcut for switching layout instead of thesetxkbmapcommand. The default shortcut is <Super>+<Space>.
– Gunnar Hjalmarsson
Feb 7 '18 at 1:50
add a comment |
When I try to change my keyboard layout in Ubuntu in a terminal with setxkbmap de, it does not change the layout in the terminal. Yet it changes the layout in other X applications.
I don't understand why this is. I assumed that the keyboard layout is used globally.
Is there a way to change the keyboard layout in the terminal as well?
command-line keyboard-layout xkb
When I try to change my keyboard layout in Ubuntu in a terminal with setxkbmap de, it does not change the layout in the terminal. Yet it changes the layout in other X applications.
I don't understand why this is. I assumed that the keyboard layout is used globally.
Is there a way to change the keyboard layout in the terminal as well?
command-line keyboard-layout xkb
command-line keyboard-layout xkb
asked Feb 6 '18 at 18:14
René NyffeneggerRené Nyffenegger
11218
11218
1
Try to use the keyboard shortcut for switching layout instead of thesetxkbmapcommand. The default shortcut is <Super>+<Space>.
– Gunnar Hjalmarsson
Feb 7 '18 at 1:50
add a comment |
1
Try to use the keyboard shortcut for switching layout instead of thesetxkbmapcommand. The default shortcut is <Super>+<Space>.
– Gunnar Hjalmarsson
Feb 7 '18 at 1:50
1
1
Try to use the keyboard shortcut for switching layout instead of the
setxkbmap command. The default shortcut is <Super>+<Space>.– Gunnar Hjalmarsson
Feb 7 '18 at 1:50
Try to use the keyboard shortcut for switching layout instead of the
setxkbmap command. The default shortcut is <Super>+<Space>.– Gunnar Hjalmarsson
Feb 7 '18 at 1:50
add a comment |
2 Answers
2
active
oldest
votes
setxkbmap de does work, for example in Lubuntu.
But in standard Ubuntu it will be overwritten by a built-in application, that you can manage via the Settings menu.
Click on the icon with the cog wheel and wrench,
Settings menu - Text entry - button Keyboard settings - tab Typing - button Text entry
- Add the input source German
and then you will be able to select language for the keyboard with the tray icon on the panel at the top of the screen from En to De
This is not very optimal because this would require to use the mouse. Also, I cannot to something likesetxkbmap $LG -option caps:swapescape. And I still don't know why the effects are hidden in the terminal.
– René Nyffenegger
Feb 6 '18 at 19:06
We are not the developers. We only help with the existing Ubuntu and the Ubuntu community flavours (Kubuntu, Lubuntu ... Xubuntu). If you want the developers to modify Ubuntu, you should write a bug report at Launchpad. -- If this is an important issue for you, I suggest that you try Lubuntu.
– sudodus
Feb 6 '18 at 19:11
add a comment |
The command you want is:
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'de')]"
(and if anyone wants Dvorak, add +dvorak after the country code, e.g. us+dvorak or gb+dvorak or de+dvorak.)
add a comment |
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
});
}
});
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%2faskubuntu.com%2fquestions%2f1003640%2fwhy-does-setxkbmap-de-not-have-an-effect-in-a-terminal%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
setxkbmap de does work, for example in Lubuntu.
But in standard Ubuntu it will be overwritten by a built-in application, that you can manage via the Settings menu.
Click on the icon with the cog wheel and wrench,
Settings menu - Text entry - button Keyboard settings - tab Typing - button Text entry
- Add the input source German
and then you will be able to select language for the keyboard with the tray icon on the panel at the top of the screen from En to De
This is not very optimal because this would require to use the mouse. Also, I cannot to something likesetxkbmap $LG -option caps:swapescape. And I still don't know why the effects are hidden in the terminal.
– René Nyffenegger
Feb 6 '18 at 19:06
We are not the developers. We only help with the existing Ubuntu and the Ubuntu community flavours (Kubuntu, Lubuntu ... Xubuntu). If you want the developers to modify Ubuntu, you should write a bug report at Launchpad. -- If this is an important issue for you, I suggest that you try Lubuntu.
– sudodus
Feb 6 '18 at 19:11
add a comment |
setxkbmap de does work, for example in Lubuntu.
But in standard Ubuntu it will be overwritten by a built-in application, that you can manage via the Settings menu.
Click on the icon with the cog wheel and wrench,
Settings menu - Text entry - button Keyboard settings - tab Typing - button Text entry
- Add the input source German
and then you will be able to select language for the keyboard with the tray icon on the panel at the top of the screen from En to De
This is not very optimal because this would require to use the mouse. Also, I cannot to something likesetxkbmap $LG -option caps:swapescape. And I still don't know why the effects are hidden in the terminal.
– René Nyffenegger
Feb 6 '18 at 19:06
We are not the developers. We only help with the existing Ubuntu and the Ubuntu community flavours (Kubuntu, Lubuntu ... Xubuntu). If you want the developers to modify Ubuntu, you should write a bug report at Launchpad. -- If this is an important issue for you, I suggest that you try Lubuntu.
– sudodus
Feb 6 '18 at 19:11
add a comment |
setxkbmap de does work, for example in Lubuntu.
But in standard Ubuntu it will be overwritten by a built-in application, that you can manage via the Settings menu.
Click on the icon with the cog wheel and wrench,
Settings menu - Text entry - button Keyboard settings - tab Typing - button Text entry
- Add the input source German
and then you will be able to select language for the keyboard with the tray icon on the panel at the top of the screen from En to De
setxkbmap de does work, for example in Lubuntu.
But in standard Ubuntu it will be overwritten by a built-in application, that you can manage via the Settings menu.
Click on the icon with the cog wheel and wrench,
Settings menu - Text entry - button Keyboard settings - tab Typing - button Text entry
- Add the input source German
and then you will be able to select language for the keyboard with the tray icon on the panel at the top of the screen from En to De
answered Feb 6 '18 at 18:34
sudodussudodus
25.7k33078
25.7k33078
This is not very optimal because this would require to use the mouse. Also, I cannot to something likesetxkbmap $LG -option caps:swapescape. And I still don't know why the effects are hidden in the terminal.
– René Nyffenegger
Feb 6 '18 at 19:06
We are not the developers. We only help with the existing Ubuntu and the Ubuntu community flavours (Kubuntu, Lubuntu ... Xubuntu). If you want the developers to modify Ubuntu, you should write a bug report at Launchpad. -- If this is an important issue for you, I suggest that you try Lubuntu.
– sudodus
Feb 6 '18 at 19:11
add a comment |
This is not very optimal because this would require to use the mouse. Also, I cannot to something likesetxkbmap $LG -option caps:swapescape. And I still don't know why the effects are hidden in the terminal.
– René Nyffenegger
Feb 6 '18 at 19:06
We are not the developers. We only help with the existing Ubuntu and the Ubuntu community flavours (Kubuntu, Lubuntu ... Xubuntu). If you want the developers to modify Ubuntu, you should write a bug report at Launchpad. -- If this is an important issue for you, I suggest that you try Lubuntu.
– sudodus
Feb 6 '18 at 19:11
This is not very optimal because this would require to use the mouse. Also, I cannot to something like
setxkbmap $LG -option caps:swapescape. And I still don't know why the effects are hidden in the terminal.– René Nyffenegger
Feb 6 '18 at 19:06
This is not very optimal because this would require to use the mouse. Also, I cannot to something like
setxkbmap $LG -option caps:swapescape. And I still don't know why the effects are hidden in the terminal.– René Nyffenegger
Feb 6 '18 at 19:06
We are not the developers. We only help with the existing Ubuntu and the Ubuntu community flavours (Kubuntu, Lubuntu ... Xubuntu). If you want the developers to modify Ubuntu, you should write a bug report at Launchpad. -- If this is an important issue for you, I suggest that you try Lubuntu.
– sudodus
Feb 6 '18 at 19:11
We are not the developers. We only help with the existing Ubuntu and the Ubuntu community flavours (Kubuntu, Lubuntu ... Xubuntu). If you want the developers to modify Ubuntu, you should write a bug report at Launchpad. -- If this is an important issue for you, I suggest that you try Lubuntu.
– sudodus
Feb 6 '18 at 19:11
add a comment |
The command you want is:
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'de')]"
(and if anyone wants Dvorak, add +dvorak after the country code, e.g. us+dvorak or gb+dvorak or de+dvorak.)
add a comment |
The command you want is:
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'de')]"
(and if anyone wants Dvorak, add +dvorak after the country code, e.g. us+dvorak or gb+dvorak or de+dvorak.)
add a comment |
The command you want is:
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'de')]"
(and if anyone wants Dvorak, add +dvorak after the country code, e.g. us+dvorak or gb+dvorak or de+dvorak.)
The command you want is:
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'de')]"
(and if anyone wants Dvorak, add +dvorak after the country code, e.g. us+dvorak or gb+dvorak or de+dvorak.)
answered Mar 25 at 13:19
Silas S. BrownSilas S. Brown
1
1
add a comment |
add a comment |
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.
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%2faskubuntu.com%2fquestions%2f1003640%2fwhy-does-setxkbmap-de-not-have-an-effect-in-a-terminal%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
1
Try to use the keyboard shortcut for switching layout instead of the
setxkbmapcommand. The default shortcut is <Super>+<Space>.– Gunnar Hjalmarsson
Feb 7 '18 at 1:50