Why does “setxkbmap de” not have an effect in a terminal?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












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?










share|improve this question

















  • 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 at 1:50














up vote
0
down vote

favorite












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?










share|improve this question

















  • 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 at 1:50












up vote
0
down vote

favorite









up vote
0
down vote

favorite











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?










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 6 at 18:14









René Nyffenegger

11218




11218







  • 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 at 1:50












  • 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 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 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 at 1:50










1 Answer
1






active

oldest

votes

















up vote
0
down vote













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






share|improve this answer




















  • 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 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 at 19:11











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1003640%2fwhy-does-setxkbmap-de-not-have-an-effect-in-a-terminal%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













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






share|improve this answer




















  • 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 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 at 19:11















up vote
0
down vote













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






share|improve this answer




















  • 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 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 at 19:11













up vote
0
down vote










up vote
0
down vote









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






share|improve this answer












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







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 6 at 18:34









sudodus

20.5k32668




20.5k32668











  • 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 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 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 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 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 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 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 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 at 19:11


















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491